unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'none  \(none\)>'"@rgmgw1.us.oracle.com, <help-gnu-emacs@gnu.org>
Subject: RE: Clearing kill-ring
Date: Thu, 23 Oct 2008 08:50:32 -0700	[thread overview]
Message-ID: <011b01c93527$14e57af0$c2b22382@us.oracle.com> (raw)
In-Reply-To: <39mdnQYwY7p9wp3UnZ2dnUVZ8jqdnZ2d@posted.plusnet>

> 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.]





  reply	other threads:[~2008-10-23 15:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 11:28 Clearing kill-ring Unknown
2008-10-23 15:50 ` Drew Adams [this message]
     [not found] ` <mailman.1914.1224777068.25473.help-gnu-emacs@gnu.org>
2008-10-23 17:21   ` Unknown

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='011b01c93527$14e57af0$c2b22382@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc="'none  (none)>'"@rgmgw1.us.oracle.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.
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).