[Top][All Lists]

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

Re: clear the kill-ring and free memory?

From: Michael Heerdegen
Subject: Re: clear the kill-ring and free memory?
Date: Fri, 13 Sep 2013 03:22:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Drew Adams <address@hidden> writes:

> > `kill-ring-yank-pointer': dunno too, but you might get surprised, I
> > would set it nil, too.
> I really don't think so.  Did you try it?

Indeed, I found no problem.

> > `yank-menu': Since unfrostedpoptart wants to free memory, I assume that
> > he has some really huge kills in his kill ring and wants to get rid of
> > these objects in memory.  These kills are stored in `yank-menu' too, so
> > you'll have to reset this variable to garbage-collect those kills.
> Agreed.
> I was answering only the question about problems - an "illegal state"
> from emptying `kill-ring'.  But you are right that emptying it alone
> does not solve the memory problem.
> `kill-ring-max' takes care of both sets of pastables.

There is also `buffers-menu-max-size', at least here in 24.3.



reply via email to

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