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


Message #149 received at 39190 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#39190: 28.0.50; two buffers with same buffer-file-name
 (diff-syntax-fontify-props)
Date: Tue, 24 Mar 2020 18:29:34 -0400
> Currently `conf-mode` is broken in master: visiting a conf file doesn't
> activate `conf-mode`.

In my tests it does, but it only activates the parent-mode and not the
specific submode applicable to the file, indeed.

> I don't know the right way to fix this, but this patch demonstrates
> what basically needed to do to fix it, and it seems something like
> this wrapper could be added:
>
> (defun conf-guess-mode ()
>   (funcall (conf--guess-mode)))

That shouldn't be needed!
[ I.e. the right fix should arrange for that not to be necessary.
  I'm looking into it, thanks.  ]


        Stefan





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

Previous Next


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