unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Troubles with abbrev-mode
@ 2006-09-26 18:56 Tassilo Horn
  2006-09-26 20:14 ` Reiner Steib
  0 siblings, 1 reply; 8+ messages in thread
From: Tassilo Horn @ 2006-09-26 18:56 UTC (permalink / raw)


Hi all,

I want to start using abbrev-mode but I don't get it right. I use emacs
from the current CVS head, which I updated today.

Those are my abbrevs (`list-abbrevs'):

--8<---------------cut here---------------start------------->8---
(message-mode-abbrev-table)

"lg"           0    "Liebe Grüße"
"mw"           0    "meines Wissens"
"vg"           0    "Viele Grüße,"


(text-mode-abbrev-table)

"vg"           3    "Viele Grüße,"


(lisp-mode-abbrev-table)

"da"           0    "defalias"
"dl"           0    "dolist ("
"dm"           0    "defmacro"
"ia"           0    "interactive"
"se"           0    "save-excursion"
"swe"          0    "save-window-excursion"
--8<---------------cut here---------------end--------------->8---

And those are my problems:

a) The abbrevs for `message-mode' I defined with `edit-abbrevs'. Then I
   started writing a message (in `message-mode') and wondered why my
   abbrevs don't expand. I inserted a new abbrev with
   `add-mode-abbrev'. But that abbrev was added to
   `text-mode-abbrev-table' instead of message-mode's one. And in
   `message-mode' only abbrev defined in `text-mode-abbrev-table'
   expand. Why? Is it a bug?

b) All the abbrevs below `lisp-mode-abbrev-table' were defined when I
   was in `emacs-lisp-mode'. But they also expand in SLIME's common lisp
   mode, where `save-excursion' and `interactive' are totally
   useless. Isn't it possible to save abbrevs strictly mode-specific?

Best regards,
Tassilo
-- 
A child of five could understand this! Fetch me a child of five!

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

end of thread, other threads:[~2006-09-30  8:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26 18:56 Troubles with abbrev-mode Tassilo Horn
2006-09-26 20:14 ` Reiner Steib
2006-09-26 21:33   ` Tassilo Horn
2006-09-27  7:56     ` Reiner Steib
2006-09-27  9:36       ` Tassilo Horn
2006-09-29 20:52         ` Reiner Steib
2006-09-29 22:17           ` Tassilo Horn
2006-09-30  8:02             ` Reiner Steib

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 read-only IMAP folder(s) and NNTP newsgroup(s).