unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* derived-mode should provide default abbrev-table
@ 2011-07-01  8:12 Andreas Röhler
  2011-07-01 16:42 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Röhler @ 2011-07-01  8:12 UTC (permalink / raw)
  To: Emacs developers

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-04 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01  8:12 derived-mode should provide default abbrev-table Andreas Röhler
2011-07-01 16:42 ` Stefan Monnier
2011-07-01 17:48   ` Andreas Röhler
2011-07-04 15:23     ` Stefan Monnier
2011-07-02  7:59   ` Andreas Röhler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).