From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60462 Path: news.gmane.org!not-for-mail From: Mark Thomas Newsgroups: gmane.emacs.gnus.general Subject: Re: problem with message-dont-reply-to-names Date: Sat, 18 Jun 2005 07:52:42 -0400 Message-ID: References: <87slzgdasr.fsf@mat.ucm.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119106642 27600 80.91.229.2 (18 Jun 2005 14:57:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2005 14:57:22 +0000 (UTC) Original-X-From: ding-owner+M8989@lists.math.uh.edu Sat Jun 18 16:57:20 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Djekb-0007ut-EY for ding-account@gmane.org; Sat, 18 Jun 2005 16:56:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DjekA-0003Kz-00; Sat, 18 Jun 2005 09:56:22 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Djc5U-00036J-00 for ding@lists.math.uh.edu; Sat, 18 Jun 2005 07:06:12 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Djc5U-0002RE-3h for ding@lists.math.uh.edu; Sat, 18 Jun 2005 07:06:12 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Djc5S-0005X0-00 for ; Sat, 18 Jun 2005 14:06:10 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Djbzt-0000pN-AG for ding@gnus.org; Sat, 18 Jun 2005 14:00:25 +0200 Original-Received: from pool-71-240-11-90.pitt.east.verizon.net ([71.240.11.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2005 14:00:25 +0200 Original-Received: from mthomas=gmane05 by pool-71-240-11-90.pitt.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2005 14:00:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-240-11-90.pitt.east.verizon.net Mail-Copies-To: never User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, darwin) Cancel-Lock: sha1:qP52AHg/uKcK+Mi2H/g3DM0iDM8= X-Spam-Score: -3.9 (---) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60462 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60462 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: > or > CC: Uwe Brauer > > So the second case I can deal with > > (setq message-dont-reply-to-names ".*") > however the first case is then ignored. > > I tried > > (setq message-dont-reply-to-names ".*\\| > ") 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