emacs-devel
[Top][All Lists]
Advanced

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

derived-mode should provide default abbrev-table


From: Andreas Röhler
Subject: derived-mode should provide default abbrev-table
Date: Fri, 01 Jul 2011 10:12:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

Hi,

with resp. to

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8910

`define-derived-mode' says:

:abbrev-table TABLE
        Use TABLE instead of the default.
        A nil value means to simply use the same abbrev-table as the parent.


Two issues:

- If the slot isn't served, no abbrev-table exists AFAIS. A bug IMHO: Specification should be required only for non-defaults. Ie ":abbrev-table nil" should be the default.

- If a name is given which doesn't represent a valid table, the mode hook should make an empty one from it silently.

Cheers,

Andreas



reply via email to

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