all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.