[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: clear the kill-ring and free memory?
From: |
unfrostedpoptart |
Subject: |
Re: clear the kill-ring and free memory? |
Date: |
Thu, 12 Sep 2013 15:25:10 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Thursday, September 12, 2013 3:08:10 PM UTC-7, Drew Adams wrote:
> > > > Sure? What about `kill-ring-yank-pointer' and `yank-menu'?
>
> > >
>
> > > What about them? I don't think that either is a problem (e.g.,
>
> > > "illegal state"). But I'll be glad to be shown wrong.
>
> >
>
> > `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?
>
>
>
> > `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.
Thanks for the help!
- RE: clear the kill-ring and free memory?, (continued)
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/12
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/12
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/12
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/12
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/12
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/12
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/12
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/13
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/13
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/13
- Message not available
- Re: clear the kill-ring and free memory?,
unfrostedpoptart <=
Re: clear the kill-ring and free memory?, Stefan Monnier, 2013/09/13