From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31094 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 11:39:42 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <5bvh0aczwh.fsf@giga.cs.rochester.edu> References: <87g0reo9qb.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 1035167542 12084 80.91.224.250 (21 Oct 2002 02:32:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:32:22 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 0DE5AD051E for ; Fri, 19 May 2000 11:40:13 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB23579; Fri, 19 May 2000 10:40:06 -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 10:39:34 -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 KAA04998 for ; Fri, 19 May 2000 10:39:24 -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 721A4D051E for ; Fri, 19 May 2000 11:39:44 -0400 (EDT) Original-Received: from giga.cs.rochester.edu (giga.cs.rochester.edu [192.5.53.186]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id LAA25678 for ; Fri, 19 May 2000 11:39:43 -0400 (EDT) Original-Received: (from zsh@localhost) by giga.cs.rochester.edu (8.9.1b+Sun/Q++) id LAA24237; Fri, 19 May 2000 11:39:42 -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 11:11:56 -0400" Original-Lines: 31 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:31094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31094 >>>>> "Dmitry" == Dmitry Yaitskov writes: Dmitry> Hi, Dmitry> Info for message-reply-to-function says that it can return Dmitry> either a string which will be used as the To header, or a list Dmitry> of header-value pairs. Info? Does Info tell message-reply-to-function? The docs say, "function that should return a list of headers.", which means the return value looks like ((Reply-To . "John Doe ") (From . "John Doe ")), instead of a string. [...] 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. -- Shenghuo