[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14413: 24.2; message-mode-abbrev-table
From: |
Stefan Monnier |
Subject: |
bug#14413: 24.2; message-mode-abbrev-table |
Date: |
Thu, 16 May 2013 20:43:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> message-mode uses (has always used, AFAICS) the normal text-mode
> abbrev table:
> (setq local-abbrev-table text-mode-abbrev-table)
> What's the bug supposed to be?
> That message-mode-abbrev-table exists at all, because message forgets to
> pass an :abbrev argument to define-derived-mode?
The right thing is for message-mode to use message-mode-abbrev-table and
for this abbrev-table to inherit from text-mode-abbrev-table.
In theory, it should happen automatically (assuming we remove the above
offending setq) thanks to define-derived-mode.
Stefan