[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 02 Oct 2010 08:30:27 +0900
Stefan Monnier <address@hidden> writes:
>> Somebody remind me why there's no define-major-mode macro...?
>> I know the same effect can be achieved with (define-derived-mode foo
>> fundamental-mode ...), but thought that Richard didn't people to do that
>> (I sort of agree that it looks kludgey)...
> Nowadays, most modes should derive from another: either special-mode,
> text-mode or prog-mode. And fundamental-mode (aka nil) is a perfectly
> valid parent mode, if none of those fit.
hmm, I didn't know about `prog-mode' and `special-mode' -- when did
those appear? [I'm wondering if they'd be acceptable to external
maintainers supporting older emacs versions/xemacs.]
Electricity, n. The cause of all natural phenomena not known to be caused by