* Clearing kill-ring
@ 2008-10-23 11:28 Unknown
2008-10-23 15:50 ` Drew Adams
[not found] ` <mailman.1914.1224777068.25473.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Unknown @ 2008-10-23 11:28 UTC (permalink / raw)
To: help-gnu-emacs
I am new to emacs, so please forgive my ignorance if this is an obvious
question, but I can find nothing on it in the manual.
How can one clear the kill-ring?
C-h v kill-ring produces a read-only file, so one cannot edit it there.
john
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Clearing kill-ring
2008-10-23 11:28 Clearing kill-ring Unknown
@ 2008-10-23 15:50 ` Drew Adams
[not found] ` <mailman.1914.1224777068.25473.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2008-10-23 15:50 UTC (permalink / raw)
To: "'none (none)>'", help-gnu-emacs
> 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.]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Clearing kill-ring
[not found] ` <mailman.1914.1224777068.25473.help-gnu-emacs@gnu.org>
@ 2008-10-23 17:21 ` Unknown
0 siblings, 0 replies; 3+ messages in thread
From: Unknown @ 2008-10-23 17:21 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-23 17:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23 11:28 Clearing kill-ring Unknown
2008-10-23 15:50 ` Drew Adams
[not found] ` <mailman.1914.1224777068.25473.help-gnu-emacs@gnu.org>
2008-10-23 17:21 ` Unknown
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).