From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81595 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.emacs.gnus.general Subject: Re: Something like gnus-posting-styles for new mails? Date: Wed, 14 Mar 2012 12:06:34 -0400 Message-ID: References: <87r4wv42es.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1331741236 26962 80.91.229.3 (14 Mar 2012 16:07:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2012 16:07:16 +0000 (UTC) Cc: ding@gnus.org To: Angel de Vicente Original-X-From: ding-owner+M29875@lists.math.uh.edu Wed Mar 14 17:07:15 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S7qj8-0001EX-SI for ding-account@gmane.org; Wed, 14 Mar 2012 17:07:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1S7qj4-0004yK-BR; Wed, 14 Mar 2012 11:06:58 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S7qj3-0004y8-8r for ding@lists.math.uh.edu; Wed, 14 Mar 2012 11:06:57 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S7qj2-0004Oh-59 for ding@lists.math.uh.edu; Wed, 14 Mar 2012 11:06:57 -0500 Original-Received: from linuxpal.mit.edu ([18.62.1.14]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S7qik-0002GQ-5Y for ding@gnus.org; Wed, 14 Mar 2012 17:06:38 +0100 Original-Received: by linuxpal.mit.edu (Postfix, from userid 9545) id C9E4716070; Wed, 14 Mar 2012 12:06:34 -0400 (EDT) OpenPGP: id=098ED60E X-Hashcash: 1:20:120314:angelv@iac.es::XKZDGMP1U/AyFoTC:000030wc X-Hashcash: 1:20:120314:ding@gnus.org::XKZDGMP1U/AyFoTC:0000CEA9 In-Reply-To: (Angel de Vicente's message of "Wed, 14 Mar 2012 15:58:31 +0000") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/23.3 (berkeley-unix) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81595 Archived-At: --=-=-= Content-Type: text/plain Angel de Vicente writes: > Hi, > > Tassilo Horn writes: >>> I have modified gnus-posting-styles so that I will use an alternative >>> mail address when replying to a certain mailing list and it works >>> fine, but I would like that when I compose a new mail to that list the >>> From header is also "automagically" modified to that alternative mail >>> address. I didn't find anything obvious in the gnus-posting-styles >>> section in the manual (or surroundings). Is there an easy way to >>> acomplish that? >> >> Simply set point on the group whose posting style you want to use, and >> then hit `C-u m' instead of only `m'. Or hit `C-u 1 m', and Gnus will >> query you for the group whose posting style you want to use. > > This is for a mailing list, not a newsgroup. I get the mails through my > regular IMAP mail, and when replying the From address is changed OK, > thanks to the following rule in my gnus-posting-styles > > ((header "to" ".*visit-users.*") (address "angel.....@gmail.com")) > > So I don't think your idea would work? In any case, even for a post to a > newsgroup, I don't seem go get the headers modified if I use C-u m or > C-u 1 m I read lists in IMAP, with them pre-filtered into IMAP folders. So they are also 'groups' in gnus. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (NetBSD) iEYEARECAAYFAk9gwgoACgkQH9p66AmO1g5s3ACghI3va2iofHbDDxNhR6W2Jh6g it0AnA5bJrZN/BRKeap/k2V7EV58RR1X =Umos -----END PGP SIGNATURE----- --=-=-=--