GNU bug report logs - #40573
27.0.90; flymake-mode broken in scratch buffer

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Sun, 12 Apr 2020 13:20:02 UTC

Severity: normal

Found in version 27.0.90

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 40573 <at> debbugs.gnu.org, dgutov <at> yandex.ru, joaotavora <at> gmail.com,
 monnier <at> iro.umontreal.ca
Subject: Re: bug#40573: 27.0.90; flymake-mode broken in scratch buffer
Date: Fri, 17 Apr 2020 09:23:32 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: joaotavora <at> gmail.com,  40573 <at> debbugs.gnu.org,  monnier <at> iro.umontreal.ca,
>   dgutov <at> yandex.ru
> Date: Fri, 17 Apr 2020 00:43:48 +0300
> 
> >> Another difference is that distinction between dynamic/lexical binding
> >> makes no sense for ELisp data files.  It's wrong to use "ELisp/d" as
> >> a mode name for ELisp data files where "/d" indicates dynamic binding.
> >
> > What do you propose to show as the mode-lighter instead?
> 
> Maybe "ELisp-Data" or more general "Lisp-Data".

I meant the /d or /l suffix.  I guess you are saying we shouldn't show
that because it makes no sense?

> > How would you propose to identify these files for turning on this
> > special mode?  They don't seem to have a clear-cut set of extensions
> > and/or file names.
> 
> Each package could add its data file name to auto-mode-alist.
> For example, bookmark.el could do something like:
> 
>   (add-to-list 'auto-mode-alist (cons bookmark-default-file 'emacs-lisp-data-mode))

SGTM, thanks.




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

Previous Next


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