[PATCH] emacs: use define-derived-mode for defining modes.

Steven Allen steven at stebalien.com
Fri Sep 9 18:31:12 PDT 2016


David Bremner <david at tethera.net> writes:
> Steven Allen <steven at stebalien.com> writes:
>
>> This sets up and runs all the correct hooks and reduces some redundancy.
>> ---
>
> The idea seems sane, but shouldn't we derive from special-mode?

Special mode pre-defines some keybindings (although they appear to be
similar, I haven't really looked into it). For precedent, gnus derives
From fundamental-mode.

-- 
Steven Allen
((Do Not Email <honeypot at stebalien.com>))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20160909/df905ba9/attachment.sig>


More information about the notmuch mailing list