all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: clear the kill-ring and free memory?
Date: Fri, 13 Sep 2013 03:22:22 +0200	[thread overview]
Message-ID: <87ob7xa52p.fsf@web.de> (raw)
In-Reply-To: b9538d72-f469-49ad-8339-56b4d36100ac@default

Drew Adams <drew.adams@oracle.com> 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.


Regards,

Michael.




  reply	other threads:[~2013-09-13  1:22 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
2013-09-13  1:22           ` Michael Heerdegen [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob7xa52p.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.