[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Define "Group" of mail recipients in Gnus?
From: |
Dan Christensen |
Subject: |
Re: Define "Group" of mail recipients in Gnus? |
Date: |
Tue, 08 Nov 2016 16:58:30 -0500 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.3 (gnu/linux) |
For me, it works even if I have an existing message buffer open.
You can even put the following at the end of your .mailrc, to
make the rebuilding happen automatically when you save the file.
# Local Variables:
# mode: fundamental
# comment-start: "# "
# local-write-file-hooks: (list (lambda () (rebuild-mail-abbrevs (concat
(getenv "HOME") "/.mailrc")) nil))
# End:
Dan
On Nov 8, 2016, Rainer M Krug <Rainer@krugs.de> wrote:
> Thanks.
>
> Works perfectly. For testing purposes: if the message buffer is open,
> the aliases seem to have been read already, and changes in .mailrc with
> followed reloading don't seem to have any impact. So: after reloading,
> one has to open a new message to test the alias.
>
> Thanks a lot,
>
> Rainer
>
> Dan Christensen <jdc@uwo.ca> writes:
>
>> Gnus can parse a ~/.mailrc file containing mail aliases such as:
>>
>> alias groupname "Person One <p1@address>, Person Two <p2@address>"
>>
>> Then, if you type groupname in a header, followed by a space or
>> punctuation character, it should complete.
>>
>> You need to restart Gnus or run
>>
>> (rebuild-mail-abbrevs (concat (getenv "HOME") "/.mailrc")
>>
>> after editing .mailrc in order for Gnus to know about your changes.
>>
>> Dan
Re: Define "Group" of mail recipients in Gnus?, Rasmus, 2016/11/08
- Re: Define "Group" of mail recipients in Gnus?, N. Raghavendra, 2016/11/08
- Re: Define "Group" of mail recipients in Gnus?, B.V. Raghav, 2016/11/09
- Re: Define "Group" of mail recipients in Gnus?, Alan Schmitt, 2016/11/09
- Re: Define "Group" of mail recipients in Gnus?, N. Raghavendra, 2016/11/09
- Re: Define "Group" of mail recipients in Gnus?, Alan Schmitt, 2016/11/10
- Re: Define "Group" of mail recipients in Gnus?, N. Raghavendra, 2016/11/10
- Re: Define "Group" of mail recipients in Gnus?, Alan Schmitt, 2016/11/10
- Re: Define "Group" of mail recipients in Gnus?, N. Raghavendra, 2016/11/10
- Re: Define "Group" of mail recipients in Gnus?, Alan Schmitt, 2016/11/10