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

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

bug#50674: Major mode for etc/AUTHORS with basic font-locking


From: Juri Linkov
Subject: bug#50674: Major mode for etc/AUTHORS with basic font-locking
Date: Mon, 20 Sep 2021 09:41:45 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Isn't generic-x.el a more suitable place for such small modes?
>
> The problem I see is that this does not use `define-generic-mode',
> unlike the other modes in there, and also I'm not sure it makes sense to
> drop autoloaded functions in there.  AFAIU, that file and its modes is
> supposed to be optional (not that I agree that they should be).

I really see no difference from etc-authors-mode and e.g.
etc-fstab-generic-mode defined in generic-x.el by define-generic-mode.
And still it can be autoloaded like c++-mode-syntax-table used to be autoloaded.





reply via email to

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