From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74190 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: updating backend marks immediately Date: Sun, 21 Nov 2010 06:31:24 +0100 Organization: Programmerer Ingebrigtsen Message-ID: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290317541 20513 80.91.229.12 (21 Nov 2010 05:32:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 05:32:21 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22555@lists.math.uh.edu Sun Nov 21 06:32:17 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 1PK2X9-0006Yp-Nb for ding-account@gmane.org; Sun, 21 Nov 2010 06:32:16 +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 1PK2Wk-0003IT-LU; Sat, 20 Nov 2010 23:31:50 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PK2Wi-0003IH-UP for ding@lists.math.uh.edu; Sat, 20 Nov 2010 23:31:48 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PK2WU-0001Mz-VQ for ding@lists.math.uh.edu; Sat, 20 Nov 2010 23:31:48 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PK2WU-0003Da-00 for ; Sun, 21 Nov 2010 06:31:34 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PK2WU-0006PB-4n for ding@gnus.org; Sun, 21 Nov 2010 06:31:34 +0100 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Nov 2010 06:31:34 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Nov 2010 06:31:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUIAwdeR0QMBgqchnwX DRI2HyMFAgUgBoQYAAACaklEQVQ4jVWUQZPaMAyFVZfmbkzuXq3pPTXci1B6bkLcc4bp+P//hD45 YXZrIBB/fk+y5EDMqul24SQ0yrSoyqiSWImTst4vfJA4yq1XjFGYkwHVfMEPl/itF3P4+QIp+1N0 nePkhSMnboCFzzmcItWOaZojuRRBDKRbzqaoRI/ZLMVAdMrvQx6IDNyPji0dgI6YDEQD9euRo2MV xKhY9z6E4SfRSvTlB4KrBWngcX1kiQ7atw3wDkJ/N4C7JMCi7BgxifLplgUJxjSzA+cGVufyYgDp 4EKIbYgIO8nLmGdH7qwcibdBWMFZNM/Qn/mISKiKZQW7ZOAIIN+EnGtOaso3gHA0lzPtVugOrrdB 9H40U2x/jWYOBbpxv+JjVgDkWlTrp+rjqlNoRbI6stusSinhUiYLjlRWajFEhSbv88U+1rFmb80F 8N4PxftwQqmh2KYxKOThNPYSZps3oBsCyP1t5rBIig67wBRR2sBwSmMuHR2UnLnX6nZQJp/7VYug sguOC8WDGMgDsjre+gVHIwqccEK4AWR2Yj93z1q7teuq7WZTXHE0l/q3q5212rrdwOALXOpTF6yt Nl4K3//G3Vj6Wle44b0DHDdWbL8Xqc3qA6AmuOK7+az7zm3ehxAABouwpkWXTeGtlHj1iyXstCwf oPfTlkNdD1rKJwVGMbB2qNS4gbAJsM4U3TPt/dgE/QsgLTyHBjafHt0vTQHkoNjnN/CrroIo1SV6 DOE/oNrMYDXsEpsvf+qo340k8vmToMy1LCZ5KvlXjAYWAlirnd3H5xClSLHO41GnEcuwHxy09gR0 OFnJ/l/+AUpwyYHv+V2mAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Colder's _Heat_: "Tonight" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:5bntP3X+rxy+xeqT71GAW4OCERA= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74190 Archived-At: Dan Christensen writes: > Enter group "generic", which is auto-expired. Read message 2816, > which was already marked as expirable. Decide I want to keep it, > so mark it unread with `u' and then move it to INBOX. Exit > generic, enter INBOX, and the article appears with an expirable > mark. (INBOX is not auto-expirable.) The auto-expirable etc stuff was too complicated to reproduce, but if I enter a group, tick an article, and then `B c' it so another group, then I get this: 06:23:30 199 SELECT "4ad". 06:23:30 200 UID FETCH 34 BODY.PEEK[]. 06:23:30 201 EXAMINE DOES.NOT.EXIST. 06:23:30 202 APPEND "ebay" {13799}. 06:23:30 203 EXAMINE "ebay". 06:23:30 204 UID SEARCH HEADER Message-Id "". 06:23:30 205 SELECT "ebay". 06:23:30 206 UID STORE 5 +FLAGS.SILENT (\Seen \Flagged). 06:23:30 207 SELECT "ebay". 06:23:30 208 UID FETCH 1:* FLAGS. So the \Flagged mark is copied over to the article in the new group, even though the article in the original group doesn't have it set yet on the IMAP server. > The log is below. You'll see that the unmark operation is never sent to > the server. (I disabled my hook that does this whenever the marks change.) Hm... Oh! I see. D'oh. The COPY command, of course, copies over the flags to the new group. But Gnus doesn't know anything about that, because it assumes that it controls all the flags. But in this case, it kinda really needs to clear all the marks, and then re-set the ones it thinks should be there. Does IMAP have a clear-all-flags-on-this-article command? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen