Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: delirious daniel <ahsdreamwalker@rogers.com>
Subject: Re: another E-Mail Address
Date: Sun, 29 Sep 2002 05:45:13 GMT	[thread overview]
Message-ID: <it0pbb6w.fsf@rogers.com> (raw)
In-Reply-To: <87u1kdrmze.fsf@ID-56226.news.dfncis.de>

Micha Wiedenmann <mw-u1@gmx.de> writes:

> * Wu XiaoGuang <woohsiaokuang@yahoo.com.cn> writes:
> | 	;; if this message is a reply to a message try to distinguish
> | 	;; private and public messages.
> | 	((message-mail-p)
> | 	 (address 
> | 	  (save-excursion
> | 	    (if (buffer-live-p gnus-article-buffer)
> | 	      (progn
> | 		(set-buffer gnus-article-buffer)
> | 		(let ((to (message-fetch-field "To")))
> | 		  (cond
> | 		   ((string-match "EMAIL\\.PRIVATE@foo\\.net" to)
> | 		    "EMAIL.PRIVATE@foo.net")
> | 		   ((string-match (regexp-opt 
> | 				   '("EMAIL2@foo.net"
> | 				     "EMAIL1@foo.net"))
> | 				  to)
> | 		    "EMAIL1@foo.net"))))
> | 	      "EMAIL.PRIVATE@foo.net"))))
Wouldn't:
("nnml:.*"
         (From (save-excursion
                 (set-buffer gnus-article-buffer)
                 (message-fetch-field "to")))
Do the same thing?
-- 
Daniel 'Delirious' Sauve 
http://www.livejournal.com/users/deleriousraven/
http://www.topica.com/lists/thedobd/
Prophet Marcus Says:
98: The mind is like a pinball machine. 


      parent reply	other threads:[~2002-09-29  5:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m23crwrizp.fsf@localhost.localdomain>
     [not found] ` <v9znu43ou6.fsf@marauder.physik.uni-ulm.de>
2002-09-27 18:30   ` Wu XiaoGuang
     [not found] ` <87u1kdrmze.fsf@ID-56226.news.dfncis.de>
     [not found]   ` <m2bs6i6ncf.fsf@localhost.localdomain>
2002-09-28 13:11     ` Kai Großjohann
2002-09-29  5:45   ` delirious daniel [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=it0pbb6w.fsf@rogers.com \
    --to=ahsdreamwalker@rogers.com \
    /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).