From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45739 Path: main.gmane.org!not-for-mail From: Nevin Kapur Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap, expiry-target, nnmail-fancy-expiry-targets Date: Fri, 19 Jul 2002 11:38:51 -0400 Organization: Mathematical Sciences, The Johns Hopkins University Sender: owner-ding@hpc.uh.edu Message-ID: References: <87sn2fiznh.fsf@hal.Olympus.INVALID> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027093210 28394 127.0.0.1 (19 Jul 2002 15:40:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2002 15:40:10 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17VZrV-0007Nq-00 for ; Fri, 19 Jul 2002 17:40:09 +0200 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 17VZqb-0004kY-00; Fri, 19 Jul 2002 10:39:13 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Jul 2002 10:39:37 -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 KAA13664 for ; Fri, 19 Jul 2002 10:39:24 -0500 (CDT) Original-Received: (qmail 405 invoked by alias); 19 Jul 2002 15:38:55 -0000 Original-Received: (qmail 400 invoked from network); 19 Jul 2002 15:38:55 -0000 Original-Received: from main.gmane.org (80.91.224.249) by gnus.org with SMTP; 19 Jul 2002 15:38:55 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17VZq8-0007Ib-00 for ; Fri, 19 Jul 2002 17:38:44 +0200 Original-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17VZq8-0007IT-00 for ; Fri, 19 Jul 2002 17:38:44 +0200 Original-Path: not-for-mail Original-Newsgroups: gmane.emacs.ding Original-Lines: 30 Original-NNTP-Posting-Host: fermat.mts.jhu.edu Original-X-Trace: main.gmane.org 1027093124 27832 128.220.17.18 (19 Jul 2002 15:38:44 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Fri, 19 Jul 2002 15:38:44 +0000 (UTC) X-Face: #i!d%y+1tilG}1ua9z&9waMLqE>H+;pUwWFetZe]4uWiv;VE:GHLnT1\Gj]>l^(]R#}sD@E"(@?vMv,yb@`?32;i~D$6x6m*%!3gPyp-rb$}.%QpxZ!3Y+jESN5[s7SL_68Sc`Aek)A$M|h++b/2VjR.k+Tw4X+0a%:K-kcUeMZ(rs?}v\eG({5J&IPS Mail-Copies-To: never User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i686-pc-linux) Cancel-Lock: sha1:Cq71OIIKO4Tq69tgWGvrF+RXliE= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45739 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45739 "Davide G. M. Salvetti" writes: > > I've a problem with the stuff in the subject line. > [...] Does the following patch work for you? Index: lisp/nnmail.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnmail.el,v retrieving revision 6.46 diff -u -r6.46 nnmail.el --- lisp/nnmail.el 2002/07/02 16:06:57 6.46 +++ lisp/nnmail.el 2002/07/19 15:49:55 @@ -1770,7 +1770,9 @@ (setq target (format-time-string (caddr regexp-target-pair) date))) ((and (not (equal header 'to-from)) (string-match (cadr regexp-target-pair) - (message-fetch-field header))) + (or + (message-fetch-field header) + ""))) (setq target (format-time-string (caddr regexp-target-pair) date)))))))