unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9958: 24.0.91; Gnus agent needs a command to remove downloaded articles
@ 2011-11-05  7:54 Sven Joachim
  2012-01-06 19:04 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Joachim @ 2011-11-05  7:54 UTC (permalink / raw)
  To: 9958; +Cc: Sven Joachim

Package: Emacs,Gnus

My ~/News directory ballooned to several hundred megabytes since I
switched from Emacs 23.3/No Gnus 0.17 to Emacs 24/Gnus 5.13 six weeks
ago.  I found out this is because the agent stores copies of the full
articles, rather than just the headers, under ~/News/agent, as requested
in bug #8502.  Note that I don't use IMAP, just NNTP (Gmane).

While this probably makes sense, there should be an easy way to clear
the cache and free up disk space.  I ended up running

find ~/News/agent -name "[0-9]*" -delete

which is not what people should have to do, IMHO.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9958: 24.0.91; Gnus agent needs a command to remove downloaded articles
  2011-11-05  7:54 bug#9958: 24.0.91; Gnus agent needs a command to remove downloaded articles Sven Joachim
@ 2012-01-06 19:04 ` Lars Magne Ingebrigtsen
  2012-01-06 20:13   ` Sven Joachim
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-01-06 19:04 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 9958

Sven Joachim <svenjoac@gmx.de> writes:

> While this probably makes sense, there should be an easy way to clear
> the cache and free up disk space.  I ended up running
>
> find ~/News/agent -name "[0-9]*" -delete
>
> which is not what people should have to do, IMHO.

If you're using the Agent, then saying `M-x gnus-agent-expire' once in a
while is required (if you want stuff to be removed).  Doesn't that work?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9958: 24.0.91; Gnus agent needs a command to remove downloaded articles
  2012-01-06 19:04 ` Lars Magne Ingebrigtsen
@ 2012-01-06 20:13   ` Sven Joachim
  2012-01-06 22:29     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Joachim @ 2012-01-06 20:13 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 9958

On 2012-01-06 20:04 +0100, Lars Magne Ingebrigtsen wrote:

> Sven Joachim <svenjoac@gmx.de> writes:
>
>> While this probably makes sense, there should be an easy way to clear
>> the cache and free up disk space.  I ended up running
>>
>> find ~/News/agent -name "[0-9]*" -delete
>>
>> which is not what people should have to do, IMHO.
>
> If you're using the Agent, then saying `M-x gnus-agent-expire' once in a
> while is required (if you want stuff to be removed).  Doesn't that work?

Apparently not, since gnus-agent-expire has been in my
gnus-exit-gnus-hook for several years, long before
gnus-agent-store-article was invented.

Cheers,
       Sven





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9958: 24.0.91; Gnus agent needs a command to remove downloaded articles
  2012-01-06 20:13   ` Sven Joachim
@ 2012-01-06 22:29     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-01-06 22:29 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 9958

Sven Joachim <svenjoac@gmx.de> writes:

> Apparently not, since gnus-agent-expire has been in my
> gnus-exit-gnus-hook for several years, long before
> gnus-agent-store-article was invented.

Ah, right.  The new caching code didn't enter the messages into the
right Agent control structures, so they were never deleted.

Fixed now.  (That is, messages already cached by the new mechanism will
have to be deleted manually, but new messages should be expired the
normal way.)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-06 22:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-05  7:54 bug#9958: 24.0.91; Gnus agent needs a command to remove downloaded articles Sven Joachim
2012-01-06 19:04 ` Lars Magne Ingebrigtsen
2012-01-06 20:13   ` Sven Joachim
2012-01-06 22:29     ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).