From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71271 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: `B r' doesn't work Date: Tue, 21 Sep 2010 13:56:56 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285045125 4315 80.91.229.12 (21 Sep 2010 04:58:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2010 04:58:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19644@lists.math.uh.edu Tue Sep 21 06:58:44 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OxuwB-00027U-VO for ding-account@gmane.org; Tue, 21 Sep 2010 06:58:40 +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 1OxuvQ-0006yO-P1; Mon, 20 Sep 2010 23:57:52 -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 1OxuvN-0006y8-Mr for ding@lists.math.uh.edu; Mon, 20 Sep 2010 23:57:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oxuv9-0007i3-5H for ding@lists.math.uh.edu; Mon, 20 Sep 2010 23:57:49 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oxuv7-00067j-00 for ; Tue, 21 Sep 2010 06:57:33 +0200 Original-Received: from localhost ([127.0.0.1]:56664) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OxuuY-0000Zt-7g for ding@gnus.org; Mon, 20 Sep 2010 23:56:58 -0500 X-Hashcash: 1:20:100921:ding@gnus.org::tg5gwDV/Zzi9zcIk:00006wpP 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.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:eTB1NXBzl6pC2n2F8tP+C5WcFtQ= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71271 Archived-At: Lars Magne Ingebrigtsen wrote: > commit df6ac45b952171e7e709c1b0bf23cc7346429f81 > Author: Lars Magne Ingebrigtsen > Date: Fri Sep 17 18:18:39 2010 +0200 [...] > * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name > if the move is internal, so that nnimap can do fast internal moves. [...] > diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el > index df20456..c8c4a1c 100644 > --- a/lisp/gnus-sum.el > +++ b/lisp/gnus-sum.el > @@ -9690,7 +9690,8 @@ ACTION can be either `move' (the default), `crosspost' or `copy'." > to-newsgroup (list 'quote select-method) > (not articles) t) ; Accept form > (not articles) ; Only save nov last time > - move-is-internal))) ; is this move internal? > + (and move-is-internal > + (gnus-group-real-name to-newsgroup))))) ; is this move internal? It seems to have to be: (and move-is-internal to-newsgroup (gnus-group-real-name to-newsgroup))))) ; is this move internal? Because `to-newsgroup' is nil if this function runs by way of `gnus-summary-respool-article' (i.e. `B r'). I got this error when respooling articles in nnml groups: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("^[^:]+:" nil) gnus-summary-move-article(nil nil (nnml "")) gnus-summary-respool-article(nil (nnml "")) call-interactively(gnus-summary-respool-article nil nil)