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

From: João Távora <[email-masked]>
Date: Fri, 17 Apr 2020 11:07:15 +0100

On Fri, Apr 17, 2020 at 7:49 AM Eli Zaretskii <[email-masked]> wrote:

> > From: Stefan Monnier <[email-masked]>
> > Cc: Eli Zaretskii <[email-masked]>,  [email-masked],
> >   [email-masked],  [email-masked]
> > 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