From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31099 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: message-reply-to-function bug? Date: 19 May 2000 15:21:18 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <5b7lcqe47l.fsf@heart.cs.rochester.edu> References: <87g0reo9qb.fsf@lucy.mtth1.on.wave.home.com> <5bvh0aczwh.fsf@giga.cs.rochester.edu> <87u2ful5pg.fsf@lucy.mtth1.on.wave.home.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167546 12106 80.91.224.250 (21 Oct 2002 02:32:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:32:26 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by mailhost.sclp.com (Postfix) with ESMTP id 46082D051E for ; Fri, 19 May 2000 15:22:12 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB14883; Fri, 19 May 2000 14:21:46 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 May 2000 14:21:12 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA07475 for ; Fri, 19 May 2000 14:21:01 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by mailhost.sclp.com (Postfix) with ESMTP id 2F8B6D051E for ; Fri, 19 May 2000 15:21:21 -0400 (EDT) Original-Received: from heart.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id PAA27953 for ; Fri, 19 May 2000 15:21:19 -0400 (EDT) Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.1b+Sun/Q++) id PAA02801; Fri, 19 May 2000 15:21:19 -0400 (EDT) Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Dmitry Yaitskov's message of "19 May 2000 15:07:07 -0400" Original-Lines: 25 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31099 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31099 >>>>> "Dmitry" == Dmitry Yaitskov writes: Dmitry> Note the phrase "As you can see, this function should return a string Dmitry> if it has an opinion as to what the To header should be." Where does Dmitry> it say anything about a list? Dmitry> (Perhaps my info entry is outdated... is it?) >> [...] >> Dmitry> Which looks like a bug, at least in the docs. The following version Dmitry> works though: >> Dmitry> (setq message-reply-to-function Dmitry> (lambda () Dmitry> (cond ((equal (mail-fetch-field "reply-to") "qq@aa.com") Dmitry> (list (cons 'To (mail-fetch-field "from")))) Dmitry> (t Dmitry> nil)))) >> >> This function returns a list of headers. Oops, I thought it is in gnus.texi. OK, now it is fixed. Shenghuo