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

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

bug#40573: 27.0.90; flymake-mode broken in scratch buffer


From: João Távora
Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer
Date: Fri, 17 Apr 2020 11:07:15 +0100

On Fri, Apr 17, 2020 at 7:49 AM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz@gnu.org>,  joaotavora@gmail.com,
>   40573@debbugs.gnu.orgdgutov@yandex.ru
> Date: Thu, 16 Apr 2020 19:06:51 -0400
>
> > 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))
>
> For generated files, it's probably better to add a -*- cookie in
> the file.

Right.  But some modes define an init file that users need to create
and maintain.

Right.  But:

1. do we have a starting idea of which of those are mode-generated
and which of those are user-generated? And which can be either?

2. do we need to decide on this, admittedly nice-to-have behaviour,
before introducing the new major mode?  Shouldn't we just take a
"best-effort" approach here?

João


--
João Távora

reply via email to

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