From: Drew Adams <drew.adams@oracle.com>
To: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Subject: RE: clear the kill-ring and free memory?
Date: Thu, 12 Sep 2013 15:08:10 -0700 (PDT) [thread overview]
Message-ID: <b9538d72-f469-49ad-8339-56b4d36100ac@default> (raw)
In-Reply-To: <87r4ct3f2g.fsf@web.de>
> > > 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.
next prev parent reply other threads:[~2013-09-12 22:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 18:47 clear the kill-ring and free memory? unfrostedpoptart
2013-09-12 19:28 ` Drew Adams
2013-09-12 20:11 ` Michael Heerdegen
2013-09-12 20:56 ` Drew Adams
2013-09-12 21:28 ` Michael Heerdegen
2013-09-12 22:08 ` Drew Adams [this message]
2013-09-13 1:22 ` Michael Heerdegen
2013-09-13 3:54 ` Drew Adams
2013-09-13 12:13 ` Michael Heerdegen
2013-09-13 15:20 ` Drew Adams
2013-09-13 16:34 ` Michael Heerdegen
[not found] ` <mailman.1994.1379023714.10748.help-gnu-emacs@gnu.org>
2013-09-12 22:25 ` unfrostedpoptart
2013-09-13 4:08 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9538d72-f469-49ad-8339-56b4d36100ac@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).