help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus with Emacs 23: gnus-gcc-mark-as-read not working anymore


From: Stefan Kamphausen
Subject: Re: Gnus with Emacs 23: gnus-gcc-mark-as-read not working anymore
Date: Mon, 28 Sep 2009 17:50:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi.


Stefan Kamphausen <skampi@gmx.net> writes:

> Hi all,
>
> 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.
>
> Without really understanding the code, is it possible that this happens
> because the agent will regenerate the group first and the messages will
> be marked as read afterwards?
>
> Setting gnus-verbose to a value >10 and by adding 
>   (message "DEBUG Mark as read! %s %s" group (cdr group-art))
> the function gnus-inews-do-gcc just before
>   (gnus-group-mark-article-read group (cdr group-art))
> I get the following in the message buffer:
>
>
> Sending...
> Sending via mail...
> Wrote /home/user/contact/gnus/mail/office/all/31319
> Regenerating in nnml:mail.office.all
> DEBUG Mark as read! mail.office.all 31319
> Wrote /home/user/contact/gnus/mail/2009-09/303
> Regenerating in nnml:mail.2009-09
> DEBUG Mark as read! mail.2009-09 303
> Sending...done

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


Will I have to switch to nnfolder+archive for archiving my messages?
That would be a pity because I archive to a group which I also use to
receive (all) messages to.  Do you know of any way to still keep the
nnml:prefix?  The documentation says that I can do so:
http://gnus.org/manual/gnus_152.html#SEC152


Any help highly appreciated.

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]