From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Unknown Newsgroups: gmane.emacs.help Subject: Re: Clearing kill-ring Date: Thu, 23 Oct 2008 18:21:33 +0100 Message-ID: References: <39mdnQYwY7p9wp3UnZ2dnUVZ8jqdnZ2d@posted.plusnet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224783640 32660 80.91.229.12 (23 Oct 2008 17:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2008 17:40:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 23 19:41:41 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kt4Bn-0003Uv-1O for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Oct 2008 19:41:39 +0200 Original-Received: from localhost ([127.0.0.1]:56499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt4Ah-0007UG-JK for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Oct 2008 13:40:31 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.posted.plusnet!news.posted.plusnet.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 23 Oct 2008 12:21:33 -0500 Original-From: none <""john\"@(none)"> User-Agent: Thunderbird 2.0.0.17 (X11/20080925) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 28 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-M2CNGOpEZbu6q0HrrxR3PjfVdqlwQu/8zq0cNzHb+xoa1HCqbvdVljqrgcaWAxx/qDFAgbug0EBdvOE!t8y8w4GmsFkBmsdCgcdTvOyRdl5bWnbfox4Q2XsEx4GJmIy4/LVCUDSAWSCOtzO33XhETOQBnrcX!CqTYzicqhg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:163748 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59088 Archived-At: Drew Adams wrote: >> How can one clear the kill-ring? C-h v kill-ring produces >> a read-only file, so one cannot edit it there. > > M-: (setq kill-ring nil) > > > If you use Icicles (http://www.emacswiki.org/cgi-bin/wiki/Icicles), you can > remove specific kill-ring entries interactively. `C-- C-y', then: > > * `S-delete' individual entries to remove them from the ring. > > * `C-u S-delete' to delete all kill-ring entries that match your current > minibuffer input. This lets you filter the kill-ring, purging it of entries that > match given patterns. If the minibuffer is empty, then this empties the > kill-ring completely. > > > [BTW: `C-h v' puts you in the *Help* buffer, which is read-only. You can always > toggle a read-only buffer using `C-x C-q' to make it writable. Making the *Help* > buffer not read-only will let you edit its text, but that doesn't change the > value of the variable `kill-ring'. *Help* just displays the variable's value.] > > > Excellent. Thank you. John