Gnus development mailing list
 help / color / mirror / Atom feed
* Re: problem whith abbrevs in message-mode
@ 2002-01-24  3:29 ShengHuo ZHU
  2002-01-24  8:00 ` Richard Stallman
  0 siblings, 1 reply; 12+ messages in thread
From: ShengHuo ZHU @ 2002-01-24  3:29 UTC (permalink / raw)
  Cc: ding, emacs-devel

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-02-07 17:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-24  3:29 problem whith abbrevs in message-mode ShengHuo ZHU
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

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).