Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: nnimap+agent has stopped caching when reading
Date: Thu, 30 Sep 2010 22:01:38 +0200	[thread overview]
Message-ID: <87fwwrt2zh.fsf@dod.no> (raw)
In-Reply-To: <87ocbf9i6q.fsf@dod.no>

>>>>> Steinar Bang <sb@dod.no>:

>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>:
>> Steinar Bang <sb@dod.no> writes:
>>> In my ~/.gnus.el file I have:
>>> 
>>> ;; Store article in agent when reading it while online
>>> (add-hook 'gnus-select-article-hook 'gnus-agent-fetch-selected-article)

>>> This used to make the agent save a copy of all articles I've read.

>> Have you tried checking whether that function is actually called, and if
>> so, what it (isn't) doing?

> I will edebug the function in a little while.

gnus-agent-fetch-selected-article is called and calls
gnus-agent-fetch-articles with the nnimap group name, and a list
containing the article number as the single element.

That method does what seems to be sensible, but at the end of the read
no article has been saved.  The .agentview file is updated, though.
It's read at the start, and written back at the end.

In between there, something is loaded and put into a buffer named
*Temp*, or something like that.  Whether that buffer is saved or not, I
couldn't figure out.







  reply	other threads:[~2010-09-30 20:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 18:44 Steinar Bang
2010-09-30 18:47 ` Lars Magne Ingebrigtsen
2010-09-30 18:53   ` Steinar Bang
2010-09-30 20:01     ` Steinar Bang [this message]
2010-09-30 20:13       ` Steinar Bang
2010-09-30 22:06         ` Lars Magne Ingebrigtsen
2010-09-30 22:30           ` Steinar Bang
2010-12-27 19:39             ` Steinar Bang
2010-12-27 20:04               ` Steinar Bang
2011-01-02  5:44                 ` Lars Magne Ingebrigtsen
2011-01-02 13:19                   ` Steinar Bang
2010-12-27 21:35             ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwwrt2zh.fsf@dod.no \
    --to=sb@dod.no \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).