[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Abbrev in message-mode
From: |
Emanuel Berg |
Subject: |
Abbrev in message-mode |
Date: |
Thu, 16 May 2013 00:41:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Works:
(define-abbrev-table 'emacs-lisp-mode-abbrev-table
'(("xx" "XX")) )
But, with `compose-mail', I get to "message-mode". Here, the
"mail-abbrevs" table works. It affects the "To:" header, and is setup
in ~/.mailrc:
alias jtr "Jack The Ripper <jack@ripper.com>"
But, how do I get abbrevs to work in the the actual *message*?
With `list-abbrev', I found these, but neither work. (They might even
relate to the *Messages* buffer, or to some other messages, I don't
know.)
(define-abbrev-table 'message-abbrevs
'(("oh" "oh1")) )
(define-abbrev-table 'message-abbrev-table
'(("oh" "oh2")) )
(define-abbrev-table 'message-mode-abbrev-table
'(("oh" "oh3")) )
Note: Setting the "global-abbrev-table" works: it affects the "To:"
header as well as the message body.
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
- Abbrev in message-mode,
Emanuel Berg <=