Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Cc: ding@gnus.org
Subject: Re: Mail-Followup-To interaction with gnus-summary-followup
Date: 18 Feb 2001 18:14:41 -0500	[thread overview]
Message-ID: <m31ysv1t3c.fsf@multivac.student.cwru.edu> (raw)
In-Reply-To: <87itm7ex9i.fsf@sto-kerrig.org> (Paul J Collins's message of "18 Feb 2001 17:06:40 +0000")

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

Paul J Collins <sneakums@sto-kerrig.org> writes:
> I'm still seeing this problem, where the Mail-Followup-To header's
> value is being used on `f', even when message-use-followup-to is nil.

Ok, here's the fix (against current CVS).  For real, this time. :)


paul

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: message.patch --]
[-- Type: text/x-patch, Size: 1143 bytes --]

--- message.el~	Sun Feb 18 18:09:07 2001
+++ message.el	Sun Feb 18 18:08:39 2001
@@ -3921,7 +3921,8 @@
 	  mct (message-fetch-field "mail-copies-to")
 	  reply-to (message-fetch-field "reply-to")
 	  mrt (message-fetch-field "mail-reply-to")
-	  mft (message-fetch-field "mail-followup-to"))
+	  mft (and message-use-followup-to
+                   (message-fetch-field "mail-followup-to")))
 
     ;; Handle special values of Mail-Copies-To.
     (when mct
@@ -3933,15 +3934,14 @@
 		 (equal (downcase mct) "poster"))
 	     (setq mct (or mrt reply-to from)))))
 
-    (if (and (or (not message-use-followup-to)
-                 (not mft))
+    (if (and (not mft)
              (or (not wide)
                  to-address))
 	(progn
 	  (setq follow-to (list (cons 'To (or to-address mrt reply-to from))))
-	  (when (and (and wide (or mft mct))
-		     (not (member (cons 'To (or mft mct)) follow-to)))
-	    (push (cons 'Cc (or mft mct)) follow-to)))
+	  (when (and (and wide mct)
+		     (not (member (cons 'To mct) follow-to)))
+	    (push (cons 'Cc mct) follow-to)))
       (let (ccalist)
 	(save-excursion
 	  (message-set-work-buffer)

  reply	other threads:[~2001-02-18 23:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-11 14:42 Paul J Collins
2001-02-11 15:02 ` ShengHuo ZHU
2001-02-11 15:12   ` Peter Makholm
2001-02-11 15:38   ` Paul J Collins
2001-02-11 18:05 ` Kai Großjohann
2001-02-11 19:38 ` Paul Jarc
2001-02-16 19:51   ` Paul J Collins
2001-02-17 20:34     ` Paul Jarc
2001-02-17 21:03       ` ShengHuo ZHU
2001-02-18  0:50         ` Paul J Collins
2001-02-18 15:38           ` Per Abrahamsen
2001-02-18 17:06         ` Paul J Collins
2001-02-18 23:14           ` Paul Jarc [this message]
2001-02-19  1:14             ` ShengHuo ZHU
2001-02-23 19:50             ` Paul J Collins
2001-02-11 14:49 Paul J Collins

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=m31ysv1t3c.fsf@multivac.student.cwru.edu \
    --to=prj@po.cwru.edu \
    --cc=ding@gnus.org \
    /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).