From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9762 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: nnmail-fancy-expiry-target problems Date: Thu, 18 Oct 2007 14:51:42 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1192689625 29281 80.91.229.12 (18 Oct 2007 06:40:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 06:40:25 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Oct 18 08:40:25 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IiP3Q-0005Xr-Ma for gegu-info-gnus-english@m.gmane.org; Thu, 18 Oct 2007 08:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiP3J-0000MQ-EN for gegu-info-gnus-english@m.gmane.org; Thu, 18 Oct 2007 02:40:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 36 Original-X-Trace: individual.net FUHLxjAzBZAaqXnV1MATZwn1YLlDrCOPdCNB+CZOiWKWtwSTY= Cancel-Lock: sha1:wHBx/mCwKAlgmLgtmwmUiEYFKYY= sha1:ampCgdqOrBBfDtWEON++xwhiMVU= X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79968 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9762 Archived-At: --=-=-= >>>>> Austin Frank wrote: > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match(nil "\"John Q. Public\" ") > nnmail-fancy-expiry-target("mail.academic") You may possibly be the first person who tried using `to-from' and `nnmail-fancy-expiry-target' ever since it was introduced in December, 2001. IIUC, this is a bug that arises in the case where `message-dont-reply-to-names' is nil, though it is likely to default to nil in most Gnus users. Could you try this patch? --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- nnmail.el~ 2007-10-04 21:53:35 +0000 +++ nnmail.el 2007-10-18 05:49:39 +0000 @@ -1910,8 +1910,10 @@ ;; To or From header ((and (equal header 'to-from) (or (string-match (cadr regexp-target-pair) from) - (and (string-match (message-dont-reply-to-names) from) - (string-match (cadr regexp-target-pair) to)))) + (and (string-match (cadr regexp-target-pair) to) + (let ((rmail-dont-reply-to-names + (message-dont-reply-to-names))) + (equal (rmail-dont-reply-to from) ""))))) (setq target (format-time-string (caddr regexp-target-pair) date))) ((and (not (equal header 'to-from)) (string-match (cadr regexp-target-pair) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english --=-=-=--