From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81707 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug with gnus agent when processing message queue and having archive alist Date: Wed, 11 Apr 2012 00:38:47 +0200 Message-ID: References: <87aa2oetih.fsf@dancingfrog.co.uk> <87k41s4tz9.fsf@dancingfrog.co.uk> <87k41shcq0.fsf@dancingfrog.co.uk> <87fwcbqodu.fsf@dancingfrog.co.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334097543 18752 80.91.229.3 (10 Apr 2012 22:39:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2012 22:39:03 +0000 (UTC) Cc: ding@gnus.org To: Matt Ford Original-X-From: ding-owner+M29986=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Apr 11 00:39:02 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SHjiE-0006Up-JT for ding-account@gmane.org; Wed, 11 Apr 2012 00:38:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SHjiD-0006u1-UK for ding-account@gmane.org; Tue, 10 Apr 2012 17:38:57 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SHjiC-0006tw-WD for ding@lists.math.uh.edu; Tue, 10 Apr 2012 17:38:57 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SHjiB-0005q4-Ub for ding@lists.math.uh.edu; Tue, 10 Apr 2012 17:38:56 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SHjiA-0007Nm-FE for ding@gnus.org; Wed, 11 Apr 2012 00:38:54 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1SHji4-0001oM-CR; Wed, 11 Apr 2012 00:38:48 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX57Q/e0yLu4RxHRieI oFXFvyr++4n98wp8IRYpAAACN0lEQVQ4jW3SsXObMBQGcKEL0Yo5E1agcTQ3gsxxJegaGlTmGB+z 4Erfv98nYTBOqkHn4zNPP74T4U0Lg9EteIPmkE0lQOxrAEINZ4SPhCXc13btKIWEjCRjxMOfjGb0 vp/XD27GhBwhHaMagnH/9vsSnPnAUoIzh6YGmJq6X1YMoIkqg6hR2m5rIGoPA9XCH6VieKzOVV+5 oDuCISt36G1Qqarqu8JxY8tN2KHHx7jO575/dlwzcx/668pnrol+WW51DSR33HHm6jWR4ieqnLTG TYhLIoT4vuWqOTnjc1EYEiN3MqVrV4oXHGMXR+6IXDIkjHHPvLunoggdFzyaAcuyg64Dl9Su3Rq5 B+SaPc4vNSa1XtqduXZ6lbcRi8q5XR0cLPdBCilUV2Kxqgw37T65YyuFE5Sy7S7cTgj8kJcSg/bO XQbH9ZJO5Bjkr6kxBkJ848Kl84eJDzBBwsGs3NAFUnyMsWe53sIdpcjtsBOA49YEpY7b2TdUXu4+ czs7CN/5wr3PZa5k5a9cQ2Ow3L/2EHViKcANF+iTzGWVJTN3226E7Z50PMb0yt27y/AG4DfxZ24S NcUOt3JHr1x2uQyKoPQLF6YJR+ymlTvS1nJjYMxnuKX451uu3YKFa7bcAFqy4R633AkPhOUy1Aly Q47ckFgz1dJW7Lh3SgUr11guuXDpLffRtetZrh9cuCRCKdkxx3XS7MrNtu2GWy77T7vITWeuTIjf 5Ix/0wVh782zMVq+mqH4BwLANiOccGNjAAAAAElFTkSuQmCC X-Now-Playing: Actress's _Actress Meets Shagaan_: "Actress Meets Shagaan B" In-Reply-To: <87fwcbqodu.fsf@dancingfrog.co.uk> (Matt Ford's message of "Tue, 10 Apr 2012 22:15:57 +0100") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) X-MailScanner-ID: 1SHji4-0001oM-CR MailScanner-NULL-Check: 1334702328.54624@UkpLeGmz+4tHxjfy95YUKQ X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81707 Archived-At: Matt Ford writes: > Here it is: the string "Manchester:" is the first regex of my alist. > There's no check before the string-match to see if group has actually > been defined which is why forcing it "" works... I've applied the patch below to No Gnus. Does it fix the problem? > It's easy to invoke the bug, in title mode use the arrow keys to move > the cursor to a title heading and `C-u m'. One sees it also on return > from unplugged mode. Title heading? diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index 500ace9..507f040 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el @@ -1670,11 +1670,13 @@ this is a reply." (not (setq result (cond - ((stringp (caar var)) + ((and group + (stringp (caar var))) ;; Regexp. (when (string-match (caar var) group) (cdar var))) - ((functionp (car var)) + ((and group + (functionp (car var))) ;; Function. (funcall (car var) group)) (t -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/