bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39190: 28.0.50; two buffers with same buffer-file-name (diff-syntax-


From: Stefan Monnier
Subject: bug#39190: 28.0.50; two buffers with same buffer-file-name (diff-syntax-fontify-props)
Date: Tue, 04 Feb 2020 08:36:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> vc-find-revision-no-save should not use delay-mode-hooks when called as
> a command.

That's the problem with the current approach: we end up making decisions
which can't be justified.  Whether mode hooks should be run or not
depends on the hook and various other things.  What we *do* know, OTOH
is that `vc-find-revision-no-save`s buffer is not associated with
a file, so setting `buffer-file-name` can result in bugs.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]