From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73839 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: updating backend marks immediately Date: Thu, 04 Nov 2010 16:32:45 -0400 Message-ID: <87pquku8wi.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288902790 29816 80.91.229.12 (4 Nov 2010 20:33:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2010 20:33:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22208@lists.math.uh.edu Thu Nov 04 21:33:06 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 1PE6Ub-0002tu-Ux for ding-account@gmane.org; Thu, 04 Nov 2010 21:33:06 +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 1PE6UY-0003a7-0D; Thu, 04 Nov 2010 15:33:02 -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 1PE6UW-0003Zs-Qu for ding@lists.math.uh.edu; Thu, 04 Nov 2010 15:33:00 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PE6UV-0000Cp-Pz for ding@lists.math.uh.edu; Thu, 04 Nov 2010 15:33:00 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PE6UV-00060A-00 for ; Thu, 04 Nov 2010 21:32:59 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PE6UU-0002qm-Kn for ding@gnus.org; Thu, 04 Nov 2010 21:32:58 +0100 Original-Received: from bas3-london14-1096779467.dsl.bell.ca ([65.95.134.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Nov 2010 21:32:58 +0100 Original-Received: from jdc by bas3-london14-1096779467.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Nov 2010 21:32:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bas3-london14-1096779467.dsl.bell.ca User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:mOGsTV2ZwpKFsGRKwdAOWaSDtAk= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73839 Archived-At: I'd like to update the marks on my imap server whenever they change in an nnimap summary buffer. This seems to do the trick: (add-hook 'gnus-summary-update-hook 'gnus-summary-update-info) It updates the imap server, but doesn't save the .newsrc or the dribble file, so it's quick. I'm posting this in case it is useful to others, but also to check that it is safe. Could Gnus get confused by this? Would it be better to call (gnus-summary-save-newsrc) which also saves the information to the dribble buffer and saves the dribble file? Dan