GNU bug report logs - #62749
28.2; add-log-current-defun doesn't clean up its temporary buffers

Previous Next

Package: emacs;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Mon, 10 Apr 2023 12:12:01 UTC

Severity: normal

Found in version 28.2

Full log


View this message in rfc822 format

From: Oleksandr Gavenko <gavenkoa <at> gmail.com>
To: 62749 <at> debbugs.gnu.org
Subject: bug#62749: 28.2; Emacs keeps opening related file from vc-diff buffer
Date: Mon, 10 Apr 2023 15:11:24 +0300
In GNU Emacs 28.2 (build 1, x86_64-pc-cygwin)
 of 2022-09-16 built on fv-az140-985
Repository revision: 70134aa8264ded36d80248204b2ba43ae3d8f599

Whenever I open vc-diff buffer by "d" (log-view-diff) to read repository
history from "C-x v L" (vc-print-root-log) Emacs opens all files referenced by
diff.

The diff might be very big so:

* I end with lots of opened files that I need eventually close.
* Emacs pollutes recentf history - I don't want robotically opened file mixed
  with human opened files.
* Cygwin is slow (especially under antivirus supervision) file opening delays
  Emacs for many seconds.

Initially I asked for help in Emacs 27.1:

  https://emacs.stackexchange.com/questions/61760/lags-when-navigating-vc-root-diff-buffer/

and found workaround with:

  (setq diff-font-lock-syntax nil)

But with Emacs v28.2 it doesn't work, I asked for help once more:

  https://emacs.stackexchange.com/questions/76728/modern-emacs-keeps-opening-related-file-from-vc-diff-buffer

-- 
http://defun.work/




This bug report was last modified 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.