all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: unfrostedpoptart <david@therogoffs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: clear the kill-ring and free memory?
Date: Thu, 12 Sep 2013 15:25:10 -0700 (PDT)	[thread overview]
Message-ID: <bc672588-eb19-4c2f-9cca-d7fc8df9eeb4@googlegroups.com> (raw)
In-Reply-To: <mailman.1994.1379023714.10748.help-gnu-emacs@gnu.org>

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!


  parent reply	other threads:[~2013-09-12 22:25 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
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 [this message]
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=bc672588-eb19-4c2f-9cca-d7fc8df9eeb4@googlegroups.com \
    --to=david@therogoffs.com \
    --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.