all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: Emacs developers <emacs-devel@gnu.org>
Subject: derived-mode should provide default abbrev-table
Date: Fri, 01 Jul 2011 10:12:24 +0200	[thread overview]
Message-ID: <4E0D8168.80704@online.de> (raw)

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	other threads:[~2011-07-01  8:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01  8:12 Andreas Röhler [this message]
2011-07-01 16:42 ` derived-mode should provide default abbrev-table 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E0D8168.80704@online.de \
    --to=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.