On Fri, Apr 17, 2020 at 7:49 AM Eli Zaretskii wrote: > > From: Stefan Monnier > > Cc: Eli Zaretskii , joaotavora@gmail.com, > > 40573@debbugs.gnu.org, dgutov@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