From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52824 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: possible bug: article marks are wrong when moving article Date: Sat, 24 May 2003 16:07:09 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nhe7lsfvu.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053785141 1318 80.91.224.249 (24 May 2003 14:05:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 14:05:41 +0000 (UTC) Original-X-From: ding-owner+M1368@lists.math.uh.edu Sat May 24 16:05:39 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JZeU-0000Ko-00 for ; Sat, 24 May 2003 16:05:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JZgB-00046O-00; Sat, 24 May 2003 09:07:23 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JZg6-00046J-00 for ding@lists.math.uh.edu; Sat, 24 May 2003 09:07:19 -0500 Original-Received: (qmail 43721 invoked by alias); 24 May 2003 14:07:18 -0000 Original-Received: (qmail 43716 invoked from network); 24 May 2003 14:07:18 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 24 May 2003 14:07:18 -0000 Original-Received: from latte-wlan.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h4OE79B4009991 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Sat, 24 May 2003 16:07:14 +0200 Original-To: Ding Mailing List Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030524:ding@gnus.org:3951253564f4de32 X-Hashcash: 0:030524:ding@gnus.org:3951253564f4de32 In-Reply-To: (Ted Zlatanov's message of "Sat, 24 May 2003 07:01:32 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52824 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52824 Ted Zlatanov writes: > On Fri, 23 May 2003, jas@extundo.com wrote: >> Ted Zlatanov writes: >> >>> Simple to replicate, only tested under nnimap but might be >>> backend-independendent: >>> >>> pick a previously ticked article >>> >>> unmark it (M-u) >>> >>> move it to another group >>> >>> The article just moved is still ticked. >>> >>> Can anyone verify that this is a bug and not something caused by my >>> configuration? >> >> I didn't reproduce it, but it is most likely a bug. The reason is >> that Gnus only propagate marks in the summary buffer to the server >> when you quit the summary buffer. If you unmark something and then >> move it, the move command will use the old flags. The solution >> would be to make the move command change the flags, alas I don't >> have a specific patch in mind. > > So the temporary solution is to quit the summary, go back and then > move? Yup. Or move it and mark it in the new folder. > Is the "update marks on server" command a stand-alone function that > the article move/copy operation can trigger? If you could point me to > where it happens, maybe I can do the rest. gnus-summary-update-info is run on 'q' and propagates the flags, but that shouldn't be called at move time since it updates all flags. I think the proper solution would be to move the article and then call gnus-request-set-mark from gnus-summary-move-article, but this seems to already happen. Perhaps there is a bug? Yes, it seems to only do set-mark with the 'add operation, which only add the correct marks. The problem here seem to be that some marks are not removed too. So it should do another call with 'del, or the logic should be replaced with some logic that finds out all flags and then do a 'set operation.