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: Tue, 29 Sep 2009 13:28:34 +0200 Organization: Church of Emacs Message-ID: <87zl8e3s7x.fsf@usenet.my.skamphausen.de> References: <87zl8og1rn.fsf@usenet.my.skamphausen.de> <87eipzto4p.fsf@usenet.my.skamphausen.de> <874oqncbmf.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 1254224472 12025 80.91.229.12 (29 Sep 2009 11:41:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2009 11:41:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 29 13:41:05 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 1Msb4p-0001jE-6v for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Sep 2009 13:41:03 +0200 Original-Received: from localhost ([127.0.0.1]:51720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Msb4o-0002jl-Nq for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Sep 2009 07:41:02 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 74 Original-X-Trace: news.albasani.net bYVifyB8ZNhq2W0AKTKB9eOnVqCMxa3u7gFPEL+ovV0/hc0B/CpVk9TLUwkzjjT+lN0t7k4Aj3BlWEDEhvvYdREU1XJSL+phJfPOpHET20GSVuxclyXB0utzZ439/Inx Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Tue, 29 Sep 2009 11:28:34 +0000 (UTC) X-User-ID: S4MVw6WqXFVxK4Hk1SHZX1Y69PgIT/RqvxqxKa9KhfE= Cancel-Lock: sha1:1BNFIxFTVDKCe5XNNhWuCv+nx6o= sha1:whGYScEL7sNfJyzKS20IBJ7LzPo= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-NNTP-Posting-Host: GCxrgartxFoPL0R5U/MnT9ZC04fVcvyTy3myjdybdeU= Original-Xref: news.stanford.edu gnu.emacs.help:173414 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:68528 Archived-At: Hi David, David Engster writes: > Stefan Kamphausen writes: >> Stefan Kamphausen writes: >>> in the meantime I dived into the code and found that my description was >>> not fully correct. Right after sending a message with GCC-headers those >>> messages seem to be marked read, because they don't show up immediately >>> after sending. Just when I hit 'g' (gnus-group-get-new-news) the new >>> message make the group appear bold and with a message count > 0 in the >>> group buffer. > > Does hitting M-g on the group fix this? I'm not sure what you mean by "fix". However, if I go to one of my archive groups (nnml:mail.2009-09 currently) and hit M-x the messages sent earlier lead to that group having a count > 0, that is, those sent messages are not marked as read. So, this is just the same as hitting 'g' anywhere in the group buffer. >> Rereading my older post and while searching the gnus-source code as well >> as the internet for answers I found that the method is stripped from the >> group name. According to this thread from 2006 >> http://thread.gmane.org/gmane.emacs.gnus.general/62775/focus=62934 >> this may well be the problem. >> >> To me it seems like the call to (gnus-group-short-name group) leads to >> my problem. If I read the changelog correctly it was introduced in >> revision 1.57, Fri Jan 9 03:01:51 2009 UTC: >> >> http://cvs.savannah.gnu.org/viewvc/emacs/lisp/gnus/gnus-msg.el?root=emacs&r1=1.56&r2=1.57 > > This was introduced because of a problem with nnimap as primary mail > backend. See > > http://thread.gmane.org/gmane.emacs.gnus.general/67932 > > Do you use nnml as your primary back end? Yes: (setq gnus-select-method '(nnml "")) (setq gnus-secondary-select-methods '( ;; Had lots of nnimap groups here earlier, but now all are commented ;; However, I might need them again in the future )) (eval-after-load "mail-source" '(setq mail-sources '( (imap :server "mailserver.example.com" :user "domain/username" :password "verysecret" ) ))) I think I could switch primary to nnil and secondary to nnml, but I am not sure. Is it dangerous to try this? Would it mess up some files, like ~/.news.eld? What would I need to backup before any experiments? 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.