From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54787 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: follow-up & CC Date: Wed, 12 Nov 2003 21:00:06 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068667538 2157 80.91.224.253 (12 Nov 2003 20:05:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 20:05:38 +0000 (UTC) Original-X-From: ding-owner+M3328@lists.math.uh.edu Wed Nov 12 21:05:30 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AK1F3-0001To-00 for ; Wed, 12 Nov 2003 21:05:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AK1Dy-00019V-00; Wed, 12 Nov 2003 14:04:22 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AK1Dp-00018T-00 for ding@lists.math.uh.edu; Wed, 12 Nov 2003 14:04:13 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 3F05B3A004F for ; Wed, 12 Nov 2003 14:03:43 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AK1DK-0004RO-00 for ; Wed, 12 Nov 2003 21:03:42 +0100 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AK1DJ-0004RG-00 for ; Wed, 12 Nov 2003 21:03:41 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AK1DJ-0000Tc-00 for ; Wed, 12 Nov 2003 21:03:41 +0100 Original-Lines: 56 Original-X-Complaints-To: usenet@sea.gmane.org X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:BbSoAcOQdaVeDH+bOGt6BX3A2G8= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54787 On Wed, Nov 12 2003, Sam Steingold wrote: >> * Reiner Steib <4.hpr.03.e.f@aheshrefcnz.qr> [2003-11-12 17:54:10 +0100]: [...] >> But if you (or anyone else) want to implement such checks in >> `message-carefully-insert-headers'... ;-) > > Patch appended. When following up to my previous message... ,---- | Newsgroups: gmane.emacs.gnus.general | Message-ID: | Reply-To: reiner.steib@gmx.de | Mail-Followup-To: ding@gnus.org | Original-To: ding@gnus.org | Mail-Copies-To: nobody `---- ... and using `message-insert-wide-reply' (`C-c C-f w'), I get a failing (string-match "ding@gnus.org" nil) here: + for old-header = (mail-fetch-field (symbol-name synonym)) + when (string-match new-header old-header) "ding@gnus.org" comes from "Mail-Followup-To:" (I replied "yes" when asked about obeying MFT). Is this the correct fix? Can `new-header' ever be nil? | for old-header = (mail-fetch-field (symbol-name synonym)) | when (and new-header old-header | (string-match new-header old-header)) BTW, suggestions for a doc-string for `message-carefully-insert-headers', anyone? >> I will change `gnus-message 3' to `message'. `message.el' is supposed >> to be independent from Gnus. Thanks for pointing this out. > > actually, message.el autoloads quite a few gnus-util.el and other > functions. Yes, but I don't intend to make this situation worse. `gnus-message' hasn't been used before there. (Maybe someday we will factor out stuff from `gnus-util.el' used in `message.el' to, say `msg-util.el' and require it from Gnus and Message.) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/