From: Randal Schwartz <merlyn@stonehenge.com>
Subject: who is unsetting local-abbrev-table in message.el?
Date: 24 Dec 1997 11:07:48 -0700 [thread overview]
Message-ID: <8ciuselimj.fsf@gadget.cscaper.com> (raw)
I got tired of typing the same things over and over again in my
mail. I've never used abbrev modes before, but I scanned the elisp
manual and "text-mode" enough to the point where I think I got it.
So I added to my .gnus.el the following:
(defun MERLYN-message-mode-hook ()
(define-abbrev-table 'message-mode-abbrev-table
'(
("uwt" "http://www.stonehenge.com/merlyn/WebTechniques" nil 0)
))
(setq local-abbrev-table message-mode-abbrev-table)
(abbrev-mode 1))
(add-hook 'message-mode-hook 'MERLYN-message-mode-hook)
And sure enough, the next time I went into message mode for a compose,
mode-line says abbrev is on, message-mode-mode-abbrev-table looked
fine, *but* local-abbrev-table was nil! How come? How many times do
I have to set it? :-)
I suppose the workaround is to add my abbrevs to the text-mode abbrev
table (which it seems to want to do by default), but I'd rather not.
It'd be nicer to understand why this doesn't work first.
--
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
next reply other threads:[~1997-12-24 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-24 18:07 Randal Schwartz [this message]
1997-12-24 18:31 ` Michael R Cook
1997-12-24 18:47 ` Michael R Cook
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=8ciuselimj.fsf@gadget.cscaper.com \
--to=merlyn@stonehenge.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).