unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: Emanuel Berg <emanuel.berg.8573@student.uu.se>, 14413@debbugs.gnu.org
Subject: bug#14413: 24.2; message-mode-abbrev-table
Date: Thu, 16 May 2013 20:43:08 -0400	[thread overview]
Message-ID: <jwv1u96bfpp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <9lr4h6fonx.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 16 May 2013 20:14:26 -0400")

> message-mode uses (has always used, AFAICS) the normal text-mode
> abbrev table:

>   (setq local-abbrev-table text-mode-abbrev-table)

> What's the bug supposed to be?
> That message-mode-abbrev-table exists at all, because message forgets to
> pass an :abbrev argument to define-derived-mode?

The right thing is for message-mode to use message-mode-abbrev-table and
for this abbrev-table to inherit from text-mode-abbrev-table.
In theory, it should happen automatically (assuming we remove the above
offending setq) thanks to define-derived-mode.


        Stefan





  reply	other threads:[~2013-05-17  0:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16 22:24 bug#14413: 24.2; message-mode-abbrev-table Emanuel Berg
2013-05-17  0:14 ` Glenn Morris
2013-05-17  0:43   ` Stefan Monnier [this message]
2013-05-18  0:32     ` Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv1u96bfpp.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=14413@debbugs.gnu.org \
    --cc=emanuel.berg.8573@student.uu.se \
    --cc=rgm@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 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).