|
From: | Rob Newton |
Subject: | bug#22672: 25.0.91; opening a CVS file accesses the repository in 25; didn't in 24 |
Date: | Mon, 15 Feb 2016 15:52:53 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
When a CVS file is opened using C-x C-f or it is being opening at startup as part of the saved desktop, emacs accesses the repository for information about the file. When the repository is remote this makes startup very slow if many files are opened in the desktop. This behavior was not present in version 24.5; it is in 25.0.9[01] pretest. I ran emacs in strace and I could see exec() system calls to /usr/bin/cvs and /usr/bin/ssh. I assume it is accessing the remote repository. Is this intended new behavior in version 25? Thanks, Rob In GNU Emacs 25.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7) of 2016-02-15 built on rob-pc Windowing system distributor 'Fedora Project', version 11.0.11704000 System Description: Fedora release 22 (Twenty Two) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_AU.utf8 locale-coding-system: utf-8-unix Major mode: Java/l Minor modes in effect: autopair-mode: t autopair-global-mode: t recentf-mode: t global-linum-mode: t linum-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Loading /home/robn/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) Wrote /home/robn/.emacs.d/.emacs.desktop.lock Desktop: 1 frame, 4 buffers restored. For information about GNU Emacs and the GNU system, type C-? C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message cl-macs dired format-spec rfc822 mml mml-sec epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils vc-dispatcher parse-time vc-cvs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs warnings cl-seq autopair cl recentf tree-widget wid-edit ido seq byte-opt gv bytecomp byte-compile cconv cl-extra help-mode linum solarized-dark-theme solarized dash desktop frameset edmacro kmacro cl-loaddefs pcase cl-lib finder-inf autopair-autoloads ergoemacs-mode-autoloads flycheck-autoloads f-autoloads info magit-autoloads git-rebase-mode-autoloads git-commit-mode-autoloads malabar-mode-autoloads fringe-helper-autoloads org-cua-dwim-autoloads pkg-info-autoloads epl-autoloads s-autoloads dash-autoloads yasnippet-autoloads package easymenu epg-config time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrWhen a CVS file is opened using C-x C-f or it is being opening at startup as part of the saved desktop, emacs accesses the repository for information about the file. When the repository is remote this makes startup very slow if many files are opened in the desktop. This behavior was not present in version 24.5; it is in 25.0.9[01] pretest. I ran emacs in strace and I could see exec() system calls to /usr/bin/cvs and /usr/bin/ssh. I assume it is accessing the remote repository. Is this intended new behavior in version 25? Thanks, Rob In GNU Emacs 25.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7) of 2016-02-15 built on rob-pc Windowing system distributor 'Fedora Project', version 11.0.11704000 System Description: Fedora release 22 (Twenty Two) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_AU.utf8 locale-coding-system: utf-8-unix Major mode: Java/l Minor modes in effect: autopair-mode: t autopair-global-mode: t recentf-mode: t global-linum-mode: t linum-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Loading /home/robn/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) Wrote /home/robn/.emacs.d/.emacs.desktop.lock Desktop: 1 frame, 4 buffers restored. For information about GNU Emacs and the GNU system, type C-? C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message cl-macs dired format-spec rfc822 mml mml-sec epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils vc-dispatcher parse-time vc-cvs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs warnings cl-seq autopair cl recentf tree-widget wid-edit ido seq byte-opt gv bytecomp byte-compile cconv cl-extra help-mode linum solarized-dark-theme solarized dash desktop frameset edmacro kmacro cl-loaddefs pcase cl-lib finder-inf autopair-autoloads ergoemacs-mode-autoloads flycheck-autoloads f-autoloads info magit-autoloads git-rebase-mode-autoloads git-commit-mode-autoloads malabar-mode-autoloads fringe-helper-autoloads org-cua-dwim-autoloads pkg-info-autoloads epl-autoloads s-autoloads dash-autoloads yasnippet-autoloads package easymenu epg-config time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 241765 15160) (symbols 48 29443 0) (miscs 40 597 320) (strings 32 50646 8068) (string-bytes 1 1441358) (vectors 16 22900) (vector-slots 8 560816 5371) (floats 8 256 294) (intervals 56 1191 49) (buffers 976 17) (heap 1024 40097 2236)) ev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 241765 15160) (symbols 48 29443 0) (miscs 40 597 320) (strings 32 50646 8068) (string-bytes 1 1441358) (vectors 16 22900) (vector-slots 8 560816 5371) (floats 8 256 294) (intervals 56 1191 49) (buffers 976 17) (heap 1024 40097 2236)) |
[Prev in Thread] | Current Thread | [Next in Thread] |