GNU bug report logs - #50674
Major mode for etc/AUTHORS with basic font-locking

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Sun, 19 Sep 2021 14:13:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50674 <at> debbugs.gnu.org
Subject: bug#50674: Major mode for etc/AUTHORS with basic font-locking
Date: Mon, 20 Sep 2021 09:41:45 +0300
>> 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.




This bug report was last modified 3 years and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.