GNU bug report logs - #39190
28.0.50; two buffers with same buffer-file-name (diff-syntax-fontify-props)

Previous Next

Package: emacs;

Reported by: Felician Nemeth <felician.nemeth <at> gmail.com>

Date: Sun, 19 Jan 2020 11:15:02 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> linkov.net>
Cc: 39190 <at> debbugs.gnu.org, Felician Nemeth <felician.nemeth <at> gmail.com>
Subject: bug#39190: 28.0.50; two buffers with same buffer-file-name (diff-syntax-fontify-props)
Date: Tue, 18 Feb 2020 18:07:02 -0500
> Maybe a simpler variant would be to use some other variable to distinguish
> sub-mode and its parent, instead of relying on delay-mode-hooks?

That's kinda hard if you want to use define-derived-mode and we do: when
we call `conf-foo-mode` the first things it does is: bind
`delay-mode-hooks` and call the parent (`conf-mode`), so the only
difference between this call to the parent and a direct call to the
generic entry point is the binding of `delay-mode-hooks`.


        Stefan





This bug report was last modified 5 years and 83 days ago.

Previous Next


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