all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Seweryn Kokot <sewkokot@gmail.com>
Cc: 9360@debbugs.gnu.org
Subject: bug#9360: 24.0.50; emacs-lisp-mode-abbrev-table neglected in emacs-lisp-mode
Date: Wed, 24 Aug 2011 16:21:45 -0400	[thread overview]
Message-ID: <mtippma7c6.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CALAj9p3ji6y9Etqk73=bc0oHJvFZ984_+VJYBFyaHahfhvuojg@mail.gmail.com> (Seweryn Kokot's message of "Wed, 24 Aug 2011 15:09:36 +0200")

Seweryn Kokot wrote:

> When in a buffer in emacs-lisp-mode, emacs 24 neglects
> emacs-lisp-mode-abbrev-table. It uses lisp-mode-abbrev-table only. I
> think the elisp manual should tell us more about the difference between
> the three lisp abbrev tables:
> emacs-lisp-mode-abbrev-table, lisp-interaction-mode-abbrev-table and
> lisp-mode-abbrev-table. I add that in emacs 23
> emacs-lisp-mode-abbrev-table worked was taken into account when in
> emacs-lisp-mode buffer.

I don't see that emacs-lisp-mode-abbrev-table has ever had an effect.
In 23.1 it is void. In 23.2 and on it is defined (by define-derived-mode)
but not used. `add-mode-abbrev' in an Emacs Lisp mode buffer adds to
lisp-mode-abbrev-table. Adding an entry to emacs-lisp-mode-abbrev-table
in abbrev_defs has no effect.

This is because emacs-lisp-mode calls lisp-mode-variables, which
explicitly sets the abbrev-table to lisp-mode-abbrev-table.

To me, the bug looks like the fact that emacs-lisp-mode-abbrev-table is
defined at all. If it's never going to be used, the definition of
emacs-lisp-mode should specify an :abbrev-table.

> In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
>  of 2011-08-22 on 3249CTO





  reply	other threads:[~2011-08-24 20:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 13:09 bug#9360: 24.0.50; emacs-lisp-mode-abbrev-table neglected in emacs-lisp-mode Seweryn Kokot
2011-08-24 20:21 ` Glenn Morris [this message]
2011-08-25  6:26   ` Seweryn Kokot
2011-08-27  2:33     ` Stefan Monnier
2012-01-29  4:49       ` Chong Yidong

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=mtippma7c6.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=9360@debbugs.gnu.org \
    --cc=sewkokot@gmail.com \
    /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.