|
From: | John Velman |
Subject: | Re: tab completion for "short name" in .mailrc [Solved] |
Date: | Fri, 27 Feb 2009 08:38:16 -0800 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
Vagn Johansen <gonz808@hotmail.com> writes: > John Velman <velman@cox.net> writes: > [snip] >> example...) It would be nice to type mutt<tab> and have the list of >> completions shown. > > ;;; mailabbrev.el --- abbrev-expansion of mail aliases > > It is a part of emacs. > > > Maybe this snippet is all you need: > > (defun my-message-mode-hook () > (local-set-key (kbd "ESC TAB") 'mail-abbrev-complete-alias) > (local-set-key (kbd "ESC a") 'mail-abbrev-insert-alias)) > > (add-hook 'message-mode-hook 'my-message-mode-hook) Thanks! this was what I needed. John Velman
[Prev in Thread] | Current Thread | [Next in Thread] |