From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74331 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: updating backend marks immediately Date: Wed, 24 Nov 2010 16:39:18 -0500 Message-ID: <87fwuq4d15.fsf@uwo.ca> References: <87pquku8wi.fsf@uwo.ca> <87wromp358.fsf@lifelogs.com> <874obq2d61.fsf@uwo.ca> <874obppbct.fsf@lifelogs.com> <87lj4yksha.fsf@uwo.ca> <87aalbh91g.fsf@uwo.ca> <87eiaegmho.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290634799 4626 80.91.229.12 (24 Nov 2010 21:39:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2010 21:39:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22696@lists.math.uh.edu Wed Nov 24 22:39:55 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 1PLN4C-0004pd-QX for ding-account@gmane.org; Wed, 24 Nov 2010 22:39:53 +0100 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 1PLN48-0003Hq-LJ; Wed, 24 Nov 2010 15:39:48 -0600 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 1PLN47-0003Hj-GT for ding@lists.math.uh.edu; Wed, 24 Nov 2010 15:39:47 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PLN3t-0006Os-Sr for ding@lists.math.uh.edu; Wed, 24 Nov 2010 15:39:47 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PLN3t-0003dK-00 for ; Wed, 24 Nov 2010 22:39:33 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLN3q-0004ZV-1c for ding@gnus.org; Wed, 24 Nov 2010 22:39:30 +0100 Original-Received: from bas3-london14-1096780631.dsl.bell.ca ([65.95.139.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Nov 2010 22:39:30 +0100 Original-Received: from jdc by bas3-london14-1096780631.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Nov 2010 22:39:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bas3-london14-1096780631.dsl.bell.ca User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:ZzBzlB40CwoI+v1aL5UYNd+Wxnk= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74331 Archived-At: Lars Magne Ingebrigtsen writes: >>> Yes. I've now made it clear the marks before moving. > > It occurs to me that I should probably have do it the other way around. > That is, set the marks on the article before moving it, and then not > bother to copy over the marks afterwards. The result should be much the > same, but slightly more secure if something fails in the middle. I think what you propose might be better. What I see now is that when I move a message from my INBOX to another folder (a common operation), my mail-notification daemon pops up a notification saying that there's a new message in my INBOX. That's because Gnus briefly removes the marks. Instead, Gnus should just upload any pending changes to the marks (and only if there are any changes to save), and then move the article. This should also be faster, since now there are several round-trips, even if the marks don't need to be updated: 1) clear the marks, 2) do the move, 3) fix the marks in the target group (and some other actions that I'm omitting, like looking up the article number). In many cases, 1 and 3 can be skipped, and when the marks do need to be adjusted, it should still be doable in two steps, not three. Dan