From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47640 Path: main.gmane.org!not-for-mail From: tbennett@nvidia.com (Tony E. Bennett) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap: any way to update server from summary buffer without getting new mail? Date: Tue, 12 Nov 2002 14:09:12 -0500 Organization: Nvidia, Inc. Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037131280 27419 80.91.224.249 (12 Nov 2002 20:01:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 12 Nov 2002 20:01:20 +0000 (UTC) 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 18BhDp-00077v-00 for ; Tue, 12 Nov 2002 21:01:18 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18BhB2-0005IO-00; Tue, 12 Nov 2002 13:58:24 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 12 Nov 2002 13:59:10 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA06011 for ; Tue, 12 Nov 2002 13:58:54 -0600 (CST) Original-Received: (qmail 29915 invoked by alias); 12 Nov 2002 19:57:51 -0000 Original-Received: (qmail 29910 invoked from network); 12 Nov 2002 19:57:51 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 12 Nov 2002 19:57:51 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18BgZN-0002zh-00 for ; Tue, 12 Nov 2002 20:19:29 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 62 Original-NNTP-Posting-Host: z06.nvidia.com Original-X-Trace: quimby.gnus.org 1037128769 11512 209.213.198.25 (12 Nov 2002 19:19:29 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 12 Nov 2002 19:19:29 GMT User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.5 (beets, i686-pc-linux) Cancel-Lock: sha1:UkPIFZFyJ1QAxzTmstfXFV1G3GE= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47640 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47640 The key seems to be (gnus-summary-update-info), which seems kind of buried: is there a reason this isn't bound to a cmd? or documented? Hoping it is safe :-) I am using it. I bind this to "g" in summary in my nnimap groups; much faster and less destructive: (defun my-gnus-summary-rescan-group (&optional heavy) "Rescan group; go to first unread msg." (interactive "P") (if heavy ;; use heavy handed one which updates the server's "read" article list (gnus-summary-rescan-group) ;; lightweight, doesn't redo the summary buffer ;; First, update server (gnus-summary-update-info) ;; then pull in new mail (gnus-summary-insert-new-articles)) ;; select new article or last article, if no unread articles (or (gnus-summary-first-unread-subject) (progn (goto-char (point-max)) (previous-line 1)))) Tony Bennett writes: > Simon Josefsson writes: > >> tbennett@nvidia.com (Tony E. Bennett) writes: >> >>> oort 0.07 >>> >>> I use tkbiff to show me "unread" msgs on my nnimap:INBOX. >>> >>> As long as I stay in the summary buffer, tkbiff will still >>> display the msgs I just read as "unread". >>> >>> Is there any command I can run from summary buffer that will >>> flush out changes to the imap server so the msgs get marked >>> as "read"? >> >> Does M-g work? > > Yes, it does work, but is relatively slow and "screen-flashy" enough > that it is annoying at times. > > Hoping to have something that just does the server update and > doesn't pull in any new mail... > > --tony > > -- --tony