From: ShengHuo ZHU <zsh@cs.rochester.edu>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: problem whith abbrevs in message-mode
Date: Wed, 23 Jan 2002 22:29:22 -0500 [thread overview]
Message-ID: <2n3d0wo299.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: Harry Putnam's message of "Sat, 19 Jan 2002 18:12:04 -0800"
Harry Putnam <reader@newsguy.com> writes:
[...]
> I see an error when trying to enter a new abbrev while in message-mode
> but not other modes.
>
> For example:
> In the buffer, if I type abbrv_this and then the command `C-x a +'
>
> I get this error: add-mode-abbrev: No per-mode abbrev table
>
> Including backtrace here:
>
> Debugger entered--Lisp error: (error "No per-mode abbrev table")
> signal(error ("No per-mode abbrev table"))
> error("No per-mode abbrev table")
> add-mode-abbrev(1)
> call-interactively(add-mode-abbrev)
>
> If I temporarily change the major-mode to text, the error disappears
> and the command works.
>
> Calling M-x edit-abbrevs I see:
>
> (message-mode-abbrev-table)
>
> "keyz" 0 "Keywords:"
> "hped" 0 "[NOTE: -ed HP"
I can not reproduce the bug. But maybe some settings make the
difference. Your post is from oGnus and Emacs 21.1, therefore I guess
you produced this bug in the setting. message-mode is defined by
define-derived-mode in oGnus, but by defun in Gnus 5.9. Also, Stefan
Monnier's change on 2001-11-20 could make the difference.
I am not familiar with define-derived-mode, abbrev, mailabbrev, or
mail-abbrevs. Help?!
BTW, message-mode-abbrev-table is not (explicitly) defined in
message.el. Is it a problem?
ShengHuo
next reply other threads:[~2002-01-24 3:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-24 3:29 ShengHuo ZHU [this message]
2002-01-24 8:00 ` Richard Stallman
2002-01-24 8:39 ` Harry Putnam
2002-01-25 6:21 ` Richard Stallman
2002-01-26 22:37 ` Lars Magne Ingebrigtsen
2002-01-26 22:39 ` Lars Magne Ingebrigtsen
2002-01-27 18:56 ` Richard Stallman
2002-01-30 18:20 ` Matt Armstrong
2002-02-03 4:41 ` Richard Stallman
2002-02-07 17:03 ` Matt Armstrong
2002-02-07 17:10 ` Matt Armstrong
2002-02-07 17:24 ` ShengHuo ZHU
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=2n3d0wo299.fsf@zsh.cs.rochester.edu \
--to=zsh@cs.rochester.edu \
--cc=ding@gnus.org \
--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.
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 NNTP newsgroup(s).