From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72352 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap+agent has stopped caching when reading Date: Thu, 30 Sep 2010 22:01:38 +0200 Organization: Probably a good idea Message-ID: <87fwwrt2zh.fsf@dod.no> References: <87tyl7840y.fsf@dod.no> <87ocbf9i6q.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285876952 26448 80.91.229.12 (30 Sep 2010 20:02:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 20:02:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20725@lists.math.uh.edu Thu Sep 30 22:02:29 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1PKl-0004oi-UZ for ding-account@gmane.org; Thu, 30 Sep 2010 22:02:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P1PKE-000730-11; Thu, 30 Sep 2010 15:01:54 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P1PKB-00072o-7F for ding@lists.math.uh.edu; Thu, 30 Sep 2010 15:01:51 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P1PK7-0004G4-4V for ding@lists.math.uh.edu; Thu, 30 Sep 2010 15:01:51 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P1PK6-0004Aq-00 for ; Thu, 30 Sep 2010 22:01:46 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1PK6-0004a5-0F for ding@gnus.org; Thu, 30 Sep 2010 22:01:46 +0200 Original-Received: from cm-84.208.200.46.getinternet.no ([84.208.200.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 22:01:45 +0200 Original-Received: from sb by cm-84.208.200.46.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 22:01:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.200.46.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:3zw+FnheHlwC0U1WoQ+xT79jeW0= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72352 Archived-At: >>>>> Steinar Bang : >>>>> Lars Magne Ingebrigtsen : >> Steinar Bang 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.