help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Addresses book (novice)


From: Kevin Rodgers
Subject: Re: Addresses book (novice)
Date: Tue, 04 Mar 2003 15:16:27 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Keith O'Connell wrote:

In ~/.emacs or ~/.gnus in the form;

        (define-mail-alias "kkk" "kroc@blueyonder.co.uk")

or in ~/.mailrc in the form

        alias keith     kroc@blueyonder.co.uk

Now, assuming I have in ~/.emacs, the following line;

        (add-hook 'mail-mode-hook 'mail-abbrevs-setup)

1: Why do addresses from the ~/.mailrc expand and the ones in ~/.emacs
   not?


Because you used define-mail-alias instead of define-mail-abbrev.


2: Which is the best method for keeping addresses, and why?  Is there
   a better way

The .mailrc format is also read by the Unix command line MUAs.  But as
others have pointed out, BBDB is even better for Emacs.

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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