From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29342 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap: Checking mailbox %s vs. Updating info for %s Date: 01 Mar 2000 20:59:16 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166027 2210 80.91.224.250 (21 Oct 2002 02:07:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:07:07 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by mailhost.sclp.com (Postfix) with ESMTP id E2139D051E for ; Wed, 1 Mar 2000 15:02:48 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB15900; Wed, 1 Mar 2000 14:00:42 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 01 Mar 2000 13:59:51 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA01463 for ; Wed, 1 Mar 2000 13:59:41 -0600 (CST) Original-Received: from badis.pdc.kth.se (badis.pdc.kth.se [130.237.221.45]) by mailhost.sclp.com (Postfix) with ESMTP id 333FED051E for ; Wed, 1 Mar 2000 14:59:43 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.9.3/8.9.3) id UAA29633; Wed, 1 Mar 2000 20:59:18 +0100 Original-To: Chris Brierley In-Reply-To: Chris Brierley's message of "01 Mar 2000 12:26:40 -0500" Original-Lines: 53 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29342 Chris Brierley writes: > So, I finally got some time to find the least configuration that > will cause this problem (bug?) to appear. Thank you for you detailed bug report. Could you try this patch? It does solve your problem for me, but you never know what other problems it might generate. 2000-03-01 Simon Josefsson * gnus-sum.el (gnus-read-move-group-name): (gnus-summary-move-article): Use `gnus-group-method' to find out what method the manually entered group belong to. `gnus-group-name-to-method' doesn't return any method parameters and `gnus-find-method-for-group' uses `gnus-group-name-to-method' for new groups so they wouldn't work. Index: lisp/gnus-sum.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v retrieving revision 5.97 diff -w -u -r5.97 gnus-sum.el --- lisp/gnus-sum.el 2000/02/03 16:28:49 5.97 +++ lisp/gnus-sum.el 2000/03/01 19:45:52 @@ -7322,7 +7322,7 @@ articles prefix)) (set (intern (format "gnus-current-%s-group" action)) to-newsgroup)) (setq to-method (or select-method - (gnus-group-name-to-method to-newsgroup))) + (gnus-group-method to-newsgroup))) ;; Check the method we are to move this article to... (unless (gnus-check-backend-function 'request-accept-article (car to-method)) @@ -9027,14 +9027,15 @@ (unless to-newsgroup (error "No group name entered")) (or (gnus-active to-newsgroup) - (gnus-activate-group to-newsgroup) + (gnus-activate-group to-newsgroup nil nil + (gnus-group-method to-newsgroup)) (if (gnus-y-or-n-p (format "No such group: %s. Create it? " to-newsgroup)) (or (and (gnus-request-create-group - to-newsgroup (gnus-group-name-to-method to-newsgroup)) + to-newsgroup (gnus-group-method to-newsgroup)) (gnus-activate-group to-newsgroup nil nil - (gnus-group-name-to-method to-newsgroup)) + (gnus-group-method to-newsgroup)) (gnus-subscribe-group to-newsgroup)) (error "Couldn't create group %s" to-newsgroup))) (error "No such group: %s" to-newsgroup)))