info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tab completion for "short name" in .mailrc [Solved]


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 <address@hidden> writes:

> John Velman <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]