From: Seweryn Kokot <sewkokot@gmail.com>
To: 9360@debbugs.gnu.org
Subject: bug#9360: 24.0.50; emacs-lisp-mode-abbrev-table neglected in emacs-lisp-mode
Date: Thu, 25 Aug 2011 06:26:56 +0000 (UTC) [thread overview]
Message-ID: <loom.20110825T082038-71@post.gmane.org> (raw)
In-Reply-To: <CALAj9p3ji6y9Etqk73=bc0oHJvFZ984_+VJYBFyaHahfhvuojg@mail.gmail.com>
Glenn Morris <rgm <at> gnu.org> writes:
>
> 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.
I'm using msf-abbrev [1] library which uses emacs-lisp-mode-abbrev-table for
emacs-lisp-mode and this mechanism worked in emacs 23.2 and not in emacs
24.0.50. Now I modified msf-abbrev settings to use lisp-mode-abbrev-table but
in fact it can be misleading to see emacs-lisp-mode-abbrev-table not working
with emacs-lisp-mode. It's better to remove this table or explain how to use
this abbrev table in emacs and elisp manuals.
Thanks,
Regards,
Seweryn
[1] http://www.emacswiki.org/emacs/MsfAbbrev
>
> > In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
> > of 2011-08-22 on 3249CTO
>
>
next prev parent reply other threads:[~2011-08-25 6:26 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
2011-08-25 6:26 ` Seweryn Kokot [this message]
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=loom.20110825T082038-71@post.gmane.org \
--to=sewkokot@gmail.com \
--cc=9360@debbugs.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.