emacs-devel
[Top][All Lists]
Advanced

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

Re: master 0161c9d 1/2: Load all generic-x.el modes unconditionally


From: Matt Armstrong
Subject: Re: master 0161c9d 1/2: Load all generic-x.el modes unconditionally
Date: Wed, 10 Feb 2021 10:29:27 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Users might not want some file suddenly turn on a mode the user didn't
>> intend to use.  I don't understand what else there is to explain here,
>> really.
>
> I thought you were talking about modes being defined, for which I don't
> see any harm.  But indeed, the changes to `auto-mode-alist` imply
> a change in behavior which could I guess be annoying (especially since
> those modes are quite primitive).
>
> My problem was with conditionally defining the modes, not with
> conditionally activating them.  So if we restore the config var but make
> it apply only to the `auto-mode-alist` changes, then I think we'll all
> be happy.
>
> Stefan K, could you do that?

Separately (almost), when looking at this I noticed that files.el
installs a mode for .Xdefaults in auto-mode-alist, and so does
generic-x.el. I wonder how many modes in generic-x.el are redundant with
modes elsewhere in Emacs. Perhaps it is just the one.



reply via email to

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