From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Kamphausen Newsgroups: gmane.emacs.help Subject: Re: Gnus with Emacs 23: gnus-gcc-mark-as-read not working anymore Date: Fri, 02 Oct 2009 16:53:32 +0200 Organization: Church of Emacs Message-ID: <87ljjtetjn.fsf@usenet.my.skamphausen.de> References: <87zl8og1rn.fsf@usenet.my.skamphausen.de> <87eipzto4p.fsf@usenet.my.skamphausen.de> <874oqncbmf.fsf@usenet.my.skamphausen.de> <87zl8e3s7x.fsf@usenet.my.skamphausen.de> <87my4d51iq.fsf@usenet.my.skamphausen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254498125 20299 80.91.229.12 (2 Oct 2009 15:42:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Oct 2009 15:42:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 02 17:41:58 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MtkGa-0002Cj-Sq for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Oct 2009 17:41:57 +0200 Original-Received: from localhost ([127.0.0.1]:49025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtkGa-00027g-CM for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Oct 2009 11:41:56 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 110 Original-X-Trace: news.albasani.net wYf8PB29m0oyJ9aUBUIdC/BMwVjcGdOJYZBSI3evEEMJ+xvLXDUv+16HXDx3l55Fb8XKL1TlHaGgDSW66V/qOKkEAzkZ22EH1zgLDgykufcgey5seoc9SZ7tyJkae0G0 Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Fri, 2 Oct 2009 14:53:32 +0000 (UTC) X-User-ID: SZOqy0pSYLTYIC0eVSXbQe94FjplCU8V5CabzO1/8Mg= Cancel-Lock: sha1:A3dr1saUxIlK74UFbPmNpnJEtpo= sha1:bfTf1/sY1aM2GmxXlApDSw6P8No= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-NNTP-Posting-Host: gMGNajFCsWOHH5Fhbl6s9pikSi+cN+j6M4n/pmBN6sA= Original-Xref: news.stanford.edu gnu.emacs.help:173512 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68625 Archived-At: Hi David, sorry for the delay. David Engster writes: > OK, I tested this with Emacs 23.1/Gnus v5.13 with the following minimal > .gnus.el: > [...] > It works for me. I get the following GCC header > > Gcc: nnml:mail.office.all nnml:mail.2009-09 > > and when I send mail, it is marked as read and doesn't show up when I > hit 'g'. > > In fact, when I comment out the call to gnus-group-short-name, it does > not work anymore and I get a new article in both groups. Interesting. I just deinstalled Emacs 22 which was installed in parallel to Emacs 23, which is possible on Gentoo, to exclude problems with that. To no avail. > I don't know why you're seeing the exact opposite behavior. Please check > if the articles actually get marked as read. You can do this by > evaluating first > > (gnus-active "mail.office.all") > > which will give you the lowest and highest article number, and > > (gnus-info-read (gnus-get-info "mail.office.all")) > > which will give you the range of read articles. You should get something > like (1 . 10) and ((1 . 10)), resp., with '10' being the highest article > number in my case. > > Then send a message and immediately evaluate the above again. It should > be something like (1 . 11) and ((1 . 11)). I did as you suggested and the results are in the following transcript of the *scratch*-buffer with lots of C-j's hit after the closing parens to evaluate the code. ;; Before sending a mail ;; Please note that there are always messages in mail.office.all ;; marked as unread. I use this to mark messages needing attention (I ;; also use ! for another purpose) (gnus-active "mail.office.all") (3 . 31806) (gnus-info-read (gnus-get-info "mail.office.all")) nil (gnus-info-read (gnus-get-info "nnml:mail.office.all")) ((1 . 28685) (28687 . 28971) (28974 . 30386) (30388 . 30399) (30401 . 30498) (30500 . 30849) (30851 . 31339) (31341 . 31504) (31506 . 31599) (31601 . 31608) (31610 . 31636) (31638 . 31662) ...) ;; The other gcc group (gnus-active "nnml:mail.2009-10") (1 . 25) (gnus-info-read (gnus-get-info "nnml:mail.2009-10")) ((1 . 25)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Now sending a mail to myself with Gcc-headers like this: ;; Gcc: nnml:mail.office.all nnml:mail.2009-10 (gnus-active "mail.office.all") (3 . 31807) (gnus-active "nnml:mail.2009-10") (1 . 25) ; strange? (gnus-info-read (gnus-get-info "nnml:mail.2009-10")) ((1 . 25)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Now getting mail by hitting 'g' in the Group buffer. Please note, ;; that I deleted the mail I sent to myself via IMAP with another ;; mailclient to not interfer with results here (gnus-active "mail.office.all") (3 . 31807) (gnus-active "nnml:mail.2009-10") (1 . 26) ; stranger?? (gnus-info-read (gnus-get-info "nnml:mail.2009-10")) ((1 . 25)) ; strangest??? ;; Both groups (mail.office.all and mail.2009-10) now show one more ;; message than before. I would like to try with emacs -Q and a minimal gnus config file, however, since I don't really know what is going on behind the scenes (like .news.eld) I don't see how I could do that without interfering with my production email setup. Kind regards, Stefan -- Stefan Kamphausen --- http://www.skamphausen.de a blessed +42 regexp of confusion (weapon in hand) You hit. The format string crumbles and turns to dust.