From: Dan Christensen <jdc@uwo.ca>
To: info-gnus-english@gnu.org
Subject: Re: Define "Group" of mail recipients in Gnus?
Date: Tue, 08 Nov 2016 16:58:30 -0500 [thread overview]
Message-ID: <87vavxk515.fsf@uwo.ca> (raw)
In-Reply-To: <m21sylsxpi.fsf@krugs.de>
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
next prev parent reply other threads:[~2016-11-08 21:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-08 9:58 Rainer M Krug
2016-11-08 10:53 ` B.V. Raghav
2016-11-08 11:54 ` Rainer M Krug
2016-11-08 13:39 ` Dan Christensen
2016-11-08 17:11 ` Rainer M Krug
2016-11-08 21:58 ` Dan Christensen [this message]
2016-11-08 11:25 ` Rasmus
2016-11-08 11:54 ` N. Raghavendra
2016-11-09 12:28 ` B.V. Raghav
2016-11-09 12:42 ` Alan Schmitt
2016-11-09 13:39 ` N. Raghavendra
2016-11-10 8:09 ` Alan Schmitt
2016-11-10 8:19 ` N. Raghavendra
2016-11-10 8:21 ` Alan Schmitt
2016-11-10 11:10 ` N. Raghavendra
2016-11-10 12:49 ` Alan Schmitt
2016-11-08 11:41 ` Enrico Schumann
2016-11-08 13:34 ` Alan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vavxk515.fsf@uwo.ca \
--to=jdc@uwo.ca \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).