Gnus development mailing list
 help / color / mirror / Atom feed
From: Mark Thomas <mthomas=gmane05@edrc.cmu.edu>
Subject: Re: problem with message-dont-reply-to-names
Date: Sat, 18 Jun 2005 07:52:42 -0400	[thread overview]
Message-ID: <m2psujvq45.fsf@pool-71-240-11-90.pitt.east.verizon.net> (raw)
In-Reply-To: <87slzgdasr.fsf@mat.ucm.es>

On Fri, 17 Jun 2005 19:48:36 +0000, Uwe Brauer wrote:

> I receive message in which my address or part of my address appear in
> the CC field, like
>
> CC: <uwe_brauer@bla.bla>
> or
> CC: Uwe Brauer <uwe_brauer@bla.bla>
>
> So the second case I can deal with 
>
> (setq message-dont-reply-to-names ".*<uwe_brauer@bla.bla>")
> however the first case is then ignored.
>
> I tried
>
> (setq message-dont-reply-to-names ".*<uwe_brauer@bla.bla>\\|
> <uwe_brauer@bla.bla>")

You only need to include your email address(es) in
message-dont-reply-to-names, you don't need to try to match the entire
text.

Using

    (setq message-dont-reply-to-names "uwe_brauer@bla.bla")

should work and match both cases above.

And for creating a regexp that matches a list of strings, try
regexp-opt.  If you had a second address uwe_brauer@foo.foo, you could
use:

    (setq message-dont-reply-to-names
          (regexp-opt '("uwe_brauer@bla.bla"
                        "uwe_brauer@foo.foo")))

The second argument to regexp-opt must be a list of STRINGS, not
regexps.

-Mark




  parent reply	other threads:[~2005-06-18 11:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-17 19:48 Uwe Brauer
2005-06-17 17:59 ` Adam Sjøgren
2005-06-17 20:14   ` Uwe Brauer
2005-06-17 18:40     ` Adam Sjøgren
2005-06-17 20:51       ` Uwe Brauer
2005-06-18 11:52 ` Mark Thomas [this message]
2005-06-22 15:57   ` Uwe Brauer
2005-06-24 22:56     ` Miles Bader

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=m2psujvq45.fsf@pool-71-240-11-90.pitt.east.verizon.net \
    --to=mthomas=gmane05@edrc.cmu.edu \
    /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).