Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Alexander Baier <alexander.baier@mailbox.org>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: info-gnus-english@gnu.org
Subject: Re: More than one user-mail-address
Date: Sat, 10 May 2014 18:46:46 +0200	[thread overview]
Message-ID: <87zjip37k9.fsf@mailbox.org> (raw)
In-Reply-To: <8738ghengd.fsf@mithlond.arda> (Teemu Likonen's message of "Sat,  10 May 2014 17:08:02 +0300")

On 2014-05-10 16:08 Teemu Likonen wrote:
> Alexander Baier [2014-05-10 13:27:59 +02:00] wrote:
>
>> Mails with a From: header matching user-mail-address are shown
>> differently in the summary view:
>
>> Is there a way to configure multiple addresses?
>
> Yes. There are a couple of variables for that. I use a code piece like
> the one below to set the variables.
>
>
>     (let ((addr '("primary.address@somewhere.invalid"
>                   "another.address@isp.invalid"
>                   "yet.another@address.invalid")))
>
>       (setq-default
>        user-mail-address (car addr)
>        message-alternative-emails (regexp-opt (cdr addr) 'words)
>        message-dont-reply-to-names (regexp-opt addr 'words)
>        gnus-ignored-from-addresses message-dont-reply-to-names))

Thank you for regexp-opt! That was something I was looking for while
constructing a regexp for `gnus-ignored-from-addresses'.

Regards,
-- 
Alexander Baier


      reply	other threads:[~2014-05-10 16:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-10 11:27 Alexander Baier
2014-05-10 12:23 ` Adam Sjøgren
2014-05-10 12:52   ` Alexander Baier
2014-05-10 14:08 ` Teemu Likonen
2014-05-10 16:46   ` Alexander Baier [this message]

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=87zjip37k9.fsf@mailbox.org \
    --to=alexander.baier@mailbox.org \
    --cc=info-gnus-english@gnu.org \
    --cc=tlikonen@iki.fi \
    /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).