* file-start-mode-alist
@ 2007-05-10 19:09 Stefan Monnier
2007-05-14 10:03 ` file-start-mode-alist Kim F. Storm
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2007-05-10 19:09 UTC (permalink / raw)
To: emacs-devel
Is it OK to change the name of this var to `magic-default-mode-alist'?
I think `file-start' is a bad choice because it makes the relation to
magic-mode-alist non-obvious, and it incorrectly implies that only the start
of the file is used, even though the match-function might very well use the
end of the file (or any other part, as a matter of fact) instead.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* file-start-mode-alist
@ 2007-05-11 7:43 Richard Stallman
0 siblings, 0 replies; 7+ messages in thread
From: Richard Stallman @ 2007-05-11 7:43 UTC (permalink / raw)
To: emacs-devel
I checked in the code for file-start-mode-alist.
Now those items in magic-mode-alist that should cede
priority to auto-mode-alist can be moved to file-start-mode-alist.
Would someone please move them there?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: file-start-mode-alist
2007-05-10 19:09 file-start-mode-alist Stefan Monnier
@ 2007-05-14 10:03 ` Kim F. Storm
2007-05-15 19:39 ` file-start-mode-alist Richard Stallman
0 siblings, 1 reply; 7+ messages in thread
From: Kim F. Storm @ 2007-05-14 10:03 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Is it OK to change the name of this var to `magic-default-mode-alist'?
> I think `file-start' is a bad choice because it makes the relation to
> magic-mode-alist non-obvious, and it incorrectly implies that only the start
> of the file is used, even though the match-function might very well use the
> end of the file (or any other part, as a matter of fact) instead.
FWIW, I agree.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: file-start-mode-alist
2007-05-14 10:03 ` file-start-mode-alist Kim F. Storm
@ 2007-05-15 19:39 ` Richard Stallman
2007-05-16 16:04 ` file-start-mode-alist Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2007-05-15 19:39 UTC (permalink / raw)
To: Kim F. Storm; +Cc: monnier, emacs-devel
I am not really happen with `magic-default-mode-alist' because this
isn't really a matter of defaults. But I could agree to
`fallback-magic-mode-alist' or `magic-fallback-mode-alist'.
I invite someone to install that change.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: file-start-mode-alist
2007-05-15 19:39 ` file-start-mode-alist Richard Stallman
@ 2007-05-16 16:04 ` Stefan Monnier
2007-05-21 18:55 ` file-start-mode-alist Lennart Borgman (gmail)
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2007-05-16 16:04 UTC (permalink / raw)
To: rms; +Cc: emacs-devel, Kim F. Storm
> isn't really a matter of defaults. But I could agree to
> `fallback-magic-mode-alist' or `magic-fallback-mode-alist'.
> I invite someone to install that change.
I've renamed it to magic-fallback-mode-alist.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: file-start-mode-alist
2007-05-16 16:04 ` file-start-mode-alist Stefan Monnier
@ 2007-05-21 18:55 ` Lennart Borgman (gmail)
2007-05-22 14:52 ` file-start-mode-alist Richard Stallman
0 siblings, 1 reply; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2007-05-21 18:55 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Kim F. Storm, rms, emacs-devel
Stefan Monnier wrote:
>> isn't really a matter of defaults. But I could agree to
>> `fallback-magic-mode-alist' or `magic-fallback-mode-alist'.
>
>> I invite someone to install that change.
>
> I've renamed it to magic-fallback-mode-alist.
Thanks for this, I hope the problem with for example html/php will be
gone now.
Please also mention the new list in `set-auto-mode'.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: file-start-mode-alist
2007-05-21 18:55 ` file-start-mode-alist Lennart Borgman (gmail)
@ 2007-05-22 14:52 ` Richard Stallman
0 siblings, 0 replies; 7+ messages in thread
From: Richard Stallman @ 2007-05-22 14:52 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: storm, monnier, emacs-devel
Please also mention the new list in `set-auto-mode'.
I did -- thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-05-22 14:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 19:09 file-start-mode-alist Stefan Monnier
2007-05-14 10:03 ` file-start-mode-alist Kim F. Storm
2007-05-15 19:39 ` file-start-mode-alist Richard Stallman
2007-05-16 16:04 ` file-start-mode-alist Stefan Monnier
2007-05-21 18:55 ` file-start-mode-alist Lennart Borgman (gmail)
2007-05-22 14:52 ` file-start-mode-alist Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2007-05-11 7:43 file-start-mode-alist Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).