From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sebastien Kirche Newsgroups: gmane.emacs.help Subject: Re: Gnus: using different e-mail addresses for different groups Date: Thu, 21 Oct 2004 18:00:23 +0200 Organization: Aucune. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Sebastien Kirche NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1098374566 31149 80.91.229.6 (21 Oct 2004 16:02:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2004 16:02:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 21 18:02:35 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKfOc-00060k-00 for ; Thu, 21 Oct 2004 18:02:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKfW3-0001sX-Va for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Oct 2004 12:10:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!usenet-fr.net!proxad.net!feeder2-1.proxad.net!news1-e.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:zcqssDT1QuA2hkYXvZLaLbJ4HbQ= Original-Lines: 56 Original-NNTP-Posting-Date: 21 Oct 2004 18:01:19 MEST Original-NNTP-Posting-Host: 195.25.216.129 Original-X-Trace: 1098374479 news1-e.free.fr 836 195.25.216.129:21315 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:125993 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21368 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21368 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Le 21 Oct 2004, Mathias Dahl s'est exprimé ainsi : Hi, > I use Gnus to read news from two sources. One source is the > internal news server where I work and the other is at > news.individual.net. > > Now, to avoid spam to my e-mail address at work I use my > "trash" address on hotmail (the one you will see in this > posting). Works quite well, until someone at work decides to > reply to me and not the group. The reply will arrive at the > hotmail address, and I do not want my work e-mails there. > > Can I train Emacs to use a different e-mail address for > different groups? Right now Gnus gets the value from the > user-mail-address variable. Take a look to the "posting styles" that let you define custom headers and also evaluations depending on the group you are writing. Maybe something like that will help : --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (setq gnus-posting-styles=20 '((".*"=20 (eval (ispell-change-dictionary "english")) ) ((message-mail-p) (From "Sebastien Kirche ")) ((message-news-p);".*" (From "Sebastien Kirche ") (Reply-To "Sebastien Kirche ")) ("^fr.*"=20 (eval (ispell-change-dictionary "francais")) ) ) ) --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Regards, Sébastien Kirche --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --=-=-=--