From: Michael R Cook <mcook@cognex.com>
Subject: Re: who is unsetting local-abbrev-table in message.el?
Date: 24 Dec 1997 13:47:13 -0500 [thread overview]
Message-ID: <r4g1ni60jy.fsf@cognex.com> (raw)
In-Reply-To: Michael R Cook's message of "24 Dec 1997 13:31:57 -0500"
>>>>> "MRC" == Michael R Cook <mcook@cognex.com> writes:
>>>>> "RS" == Randal Schwartz <merlyn@stonehenge.com> writes:
RS> And sure enough, the next time I went into message mode for a compose,
RS> mode-line says abbrev is on, message-mode-mode-abbrev-table looked
RS> fine, *but* local-abbrev-table was nil! How come?
MRC> For me, local-abbrev-table is setup correctly initially (typing C-h
MRC> v local-abbrev-table immediately upon entering message mode, I see
MRC> that the symbol is set as expected--non-nil), but type a little and
MRC> check again, and the symbol has been magically set to nil.
`mailabbrev.el' is the culprit. `sendmail-pre-abbrev-expand-hook'
tries to dynamically select between two abbrev tables
(mail-mode-abbrev-table and mail-abbrevs) based on point.
So, you could put your abbrevs into `mail-mode-abbrev-table' rather
than `message-mode-abbrev-table'. Dunno whether to call that a
workaround or a fix.
Michael.
next prev parent reply other threads:[~1997-12-24 18:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-24 18:07 Randal Schwartz
1997-12-24 18:31 ` Michael R Cook
1997-12-24 18:47 ` Michael R Cook [this message]
1997-12-24 19:57 ` Randal Schwartz
1998-01-04 9:44 ` Lars Magne Ingebrigtsen
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=r4g1ni60jy.fsf@cognex.com \
--to=mcook@cognex.com \
/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).