[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem whith abbrevs in message-mode
From: |
ShengHuo ZHU |
Subject: |
Re: problem whith abbrevs in message-mode |
Date: |
Wed, 23 Jan 2002 22:29:22 -0500 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) |
Harry Putnam <address@hidden> 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
- Re: problem whith abbrevs in message-mode,
ShengHuo ZHU <=