GNU bug report logs -
#40573
27.0.90; flymake-mode broken in scratch buffer
Previous Next
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
View this message in rfc822 format
> 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: Tue, 14 Apr 2020 02:17:11 +0300
>
> These files need font-locking from emacs-lisp-mode for viewing, and other
> features of emacs-lisp-mode for editing: indentation, commenting, etc.
> i.e. everything from emacs-lisp-mode except code evaluation. This is
> one difference between emacs-lisp-data-mode and emacs-lisp-mode.
>
> 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?
> http://git.savannah.nongnu.org/cgit/ee.git/tree/ee-datafile.el
> currently assigns emacs-lisp-mode:
>
> (add-to-list 'auto-mode-alist '("\\.ee\\'" . emacs-lisp-mode))
>
> but could use emacs-lisp-data-mode instead:
>
> (add-to-list 'auto-mode-alist '("\\.ee\\'" . emacs-lisp-data-mode))
>
> There are many other examples of ELisp data files. One is already
> mentioned .dir-locals.el that needs editing features from
> emacs-lisp-mode (indentation, commenting, ...) as well,
> but doesn't need the dynamic/lexical distinction.
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.
Thanks for the other details, I think this is very useful.
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.