From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56444 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: bad header subst when forwarding mail Date: Fri, 27 Feb 2004 18:13:21 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077873255 23987 80.91.224.253 (27 Feb 2004 09:14:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2004 09:14:15 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M4985@lists.math.uh.edu Fri Feb 27 10:14:08 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Awe4N-0001yW-00 for ; Fri, 27 Feb 2004 10:14:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Awe3p-0008CN-00; Fri, 27 Feb 2004 03:13:33 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Awe3l-0008CI-00 for ding@lists.math.uh.edu; Fri, 27 Feb 2004 03:13:29 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id C0C643A0219 for ; Fri, 27 Feb 2004 03:13:28 -0600 (CST) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.24) id 1Awe3l-0005xo-NC; Fri, 27 Feb 2004 04:13:30 -0500 Original-To: Alex Ott X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:LpiWmDVzwZqgAb6Seg4dGD01SVI= X-Hashcash: 0:040227:ott@jet.msk.su:65f2328661b979ed X-Hashcash: 0:040227:ding@gnus.org:5a69cd0eb284b6a9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56444 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56444 Hi, >>>>> In >>>>> Alex Ott wrote: > Hello > I found one problem when using posting styles to set headers for some > articles. I have following posting styles > (setq gnus-posting-styles > '( > (".*" > (Gcc "nnml:sent") > (Organization "Jet Infosystems") > (signature-file "~/.signature") > ) > ((header "to" ".*docs@linux\\.org\\.ru.*") > (From "docs@linux.org.ru") > (Organization "Linux.org.ru") > (reply-to "docs@linux.org.ru")) > )) > All works fine. But when i reply to mail to docs@linux.org.ru, headers > substitue normaly. But dann i read some another mail, and wont to forward > it to another address, then in forward substite headers from rule from > docs@linux.org.ru not from first rules > NoGnus v0.2 - snapshot from last friday Thanks for the bug report. It occurs when there is an old " *gnus article copy*" buffer (the name begins with space) for replying. I've made the hook function ignore that buffer when the message is not for replying, while parsing gnus-posting-styles. Could you try it? -- Katsumi Yamaoka