From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)] Date: 03 May 2002 21:12:39 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: <873cx9a0qw.fsf@tc-1-100.kawasaki.gol.ne.jp> References: <200205010713.g417DS607248@aztec.santafe.edu> <200205030819.g438JTZ28797@hamm.pajato.com> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020428177 15117 127.0.0.1 (3 May 2002 12:16:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 3 May 2002 12:16:17 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 173byy-0003vi-00 for ; Fri, 03 May 2002 14:16:16 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 173c4f-0008MW-00 for ; Fri, 03 May 2002 14:22:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 173byP-000407-00; Fri, 03 May 2002 08:15:41 -0400 Original-Received: from smtp01.fields.gol.com ([203.216.5.131]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 173bwG-0003c0-00; Fri, 03 May 2002 08:13:28 -0400 Original-Received: from tc-2-191.kawasaki.gol.ne.jp ([203.216.25.191] helo=tc-1-100.kawasaki.gol.ne.jp) by smtp01.fields.gol.com with esmtp (Magnetic Fields) id 173bwE-0005wn-00; Fri, 03 May 2002 21:13:26 +0900 Original-Received: by tc-1-100.kawasaki.gol.ne.jp (Postfix, from userid 1000) id 0E3EE3092; Fri, 3 May 2002 21:12:39 +0900 (JST) Original-To: pmr@pajato.com System-Type: i686-pc-linux-gnu In-Reply-To: <200205030819.g438JTZ28797@hamm.pajato.com> Original-Lines: 43 X-Abuse-Complaints: abuse@gol.com Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3533 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3533 Paul Michael Reilly writes: > If either a Mail-Followup-To or Mail-Copies-To header exists in the > message being replied to AND the user has not edited the default > reply-to list at mail-send time, then the followup header(s) will be > processed and any mailboxes indicated by the header(s) will be > included in the reply. "never" and "nobody" will be treated as > synonymous, as will "always" and "poster". It's a bit hard to tell from the above paragraph the actual algorithm you intend to use, but here's what I gather is correct way to calculate outgoing addresses for followups (the MFT parts are based on Dan Bernstein's FAQ about MFT ): If the message has a Mail-Followup-To: header, then outgoing To: <= incoming Mail-Followup-To: outgoing CC: <= empty ;; you can also optionally add an outgoing Mail-Followup-To: if ;; the current user is on the mailing list; it should probably just ;; be a copy of the incoming Mail-Followup-To: in that case.] else if the message has a Mail-Copies-To: header, then if the MCT header contains `never' or `nobody', then outgoing To: <= incoming To: outgoing CC: <= incoming CC: else if the MCT header contains `always' or `poster', then ;; this is the same as the default (no MCT/MFT) case outgoing To: <= incoming Reply-To:/From: outgoing CC: <= incoming CC: + To: else (the MCT header contains some addresses) outgoing To: <= incoming Mail-Copies-To: outgoing CC: <= incoming CC: + To: else (the message has no MFT/MCT header) outgoing To: <= incoming Reply-To:/From: outgoing CC: <= incoming CC: + To: This is all calculated when generating the message to insert into the reply buffer, before popping it up and letting the user type into it. There doesn't seem to be any need to detect whether the user modified a header or anything like that. -Miles -- I'm beginning to think that life is just one long Yoko Ono album; no rhyme or reason, just a lot of incoherent shrieks and then it's over. --Ian Wolff