In Emacs 28 it loads files referenced by diff-mode, polluting buffer list & recentf, and significantly slowing Emacs in Cygwin.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 14 May 2023 16:40:00 +0300
changeset 1771 e60fb6cd150e
parent 1770 2b93801abc3c
child 1772 d97be992a1f9
In Emacs 28 it loads files referenced by diff-mode, polluting buffer list & recentf, and significantly slowing Emacs in Cygwin. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62749 https://emacs.stackexchange.com/questions/76728/modern-emacs-keeps-opening-related-file-from-vc-diff-buffer/
.emacs-my
--- a/.emacs-my	Thu Feb 02 02:14:23 2023 +0200
+++ b/.emacs-my	Sun May 14 16:40:00 2023 +0300
@@ -2693,7 +2693,11 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "devel, programming")
 
-(which-func-mode 1)
+;; The mode displays current function name in status line.
+;; In Emacs 28 it loads files referenced by diff-mode, polluting buffer list & recentf, and significantly slowing Emacs in Cygwin.
+;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62749
+;; https://emacs.stackexchange.com/questions/76728/modern-emacs-keeps-opening-related-file-from-vc-diff-buffer/
+;; (which-func-mode 1)
 
 (add-to-list 'auto-mode-alist '("\\.cu$" . c-mode))