From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: unfrostedpoptart Newsgroups: gmane.emacs.help Subject: Re: clear the kill-ring and free memory? Date: Thu, 12 Sep 2013 15:25:10 -0700 (PDT) Message-ID: References: <53036360-fe7a-4c1d-90cb-bf9f79a07982@googlegroups.com> <34ebb446-138f-407c-8bbb-e7c3c528c57a@default> <87six9dcma.fsf@web.de> <87r4ct3f2g.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1379024719 23201 80.91.229.3 (12 Sep 2013 22:25:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 22:25:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 13 00:25:23 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKFKD-0001Eq-K7 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Sep 2013 00:25:21 +0200 Original-Received: from localhost ([::1]:44057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKFKD-00004r-7F for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 18:25:21 -0400 X-Received: by 10.66.25.45 with SMTP id z13mr4586363paf.22.1379024711088; Thu, 12 Sep 2013 15:25:11 -0700 (PDT) X-Received: by 10.50.73.132 with SMTP id l4mr5515igv.0.1379024710705; Thu, 12 Sep 2013 15:25:10 -0700 (PDT) Original-Path: usenet.stanford.edu!b4no15133285pbq.1!news-out.google.com!rn2ni78905pbc.1!nntp.google.com!b4no15133283pbq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=68.99.177.206; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa Original-NNTP-Posting-Host: 68.99.177.206 User-Agent: G2/1.0 Injection-Date: Thu, 12 Sep 2013 22:25:11 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:201099 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93368 Archived-At: 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!