From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39522 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: Generating Mail-Followup-To: headers Date: Sat, 20 Oct 2001 02:25:19 -0400 Organization: Mind your own business, you silly arthur king! Sender: owner-ding@hpc.uh.edu Message-ID: <874roukeuo.fsf@mclinux.com> References: <87y9m9fs6b.fsf@squeaker.lickey.com> <87elo1exsd.fsf@squeaker.lickey.com> <87u1wvkaiv.fsf@mclinux.com> <87zo6nftt7.fsf@mclinux.com> <87669bfi6z.fsf@mclinux.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175220 28446 80.91.224.250 (21 Oct 2002 04:40:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:40:20 +0000 (UTC) Return-Path: Original-Received: (qmail 19915 invoked from network); 20 Oct 2001 06:25:30 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 20 Oct 2001 06:25:30 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15upZE-0000Iv-00; Sat, 20 Oct 2001 01:25:08 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 20 Oct 2001 01:24:46 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id BAA18835 for ; Sat, 20 Oct 2001 01:24:32 -0500 (CDT) Original-Received: (qmail 19905 invoked by alias); 20 Oct 2001 06:24:49 -0000 Original-Received: (qmail 19900 invoked from network); 20 Oct 2001 06:24:48 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 20 Oct 2001 06:24:48 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id IAA26228 for ding@gnus.org; Sat, 20 Oct 2001 08:24:44 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 31 Original-NNTP-Posting-Host: 65.96.250.128 Original-X-Trace: quimby.gnus.org 1003559084 16090 65.96.250.128 (20 Oct 2001 06:24:44 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 20 Oct 2001 06:24:44 GMT X-Go-Away: or I shall taunt you a second time! X-PGP-KeyID: 6B21489A X-PGP-CertKey: 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A X-Request-PGP: finger:huber@db.debian.org Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial Intelligence) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39522 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39522 prj@po.cwru.edu (Paul Jarc) writes: > Heh. A macro looks like (defmacro name (args) body). I forget what > `(,these) forms are called, but they're not "macros". Okay, you're right, but they're very often used in macros (right?)...they're templates, and C-h f backquote tells me things about them. > A quick test says this should work: > (message-generate-headers `(("Mail-Followup-To" . ,(message-make-mft)))) > We're giving it a non-empty value, so 'optional shouldn't matter. > And the code in message-generate-headers that doesn't use 'optional > is less confusing that the code that does, so I'm more confident > than I would be if I had tried to use 'optional. Okay, this looks good. Thanks for figuring this one out :) > Fortunately, it's already done. This is from > message-get-reply-headers (with my patch from yesterday): > ;; Convert string to a list of (("foo@bar" . "Name ") ...). > (setq recipients > (mapcar > (lambda (addr) > (cons (mail-strip-quoted-names addr) addr)) > (message-tokenize-header recipients))) ok, cool. I'll post a new version soon. -- Josh Huber