help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pasting many times


From: Colin S. Miller
Subject: Re: pasting many times
Date: Wed, 25 Oct 2006 19:54:27 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

Holger Sparr wrote:
On 25 Oct 2006, Florian Kaufmann wrote:

Thank you for the lisp code. I'll try it out.

Why keep the window all the time when you can easily bury it with one
key stroke - `q'?
I guess that's just my taste. When I have a task where I have to
kill/yank a lot of text I like to have the kill ring displayed all the
time. If it isn't displayed all the time, and I want to yank something
I killed earlier, I first have to display the buffer, then visually
search the item i want to yank. If its diplayed all the time, I
visually find the item I want much faster.

Right.

One idea:

(add-hook '<appropriate-hook>   (lambda () (with-current-buffer "*Kill Ring*"
                                        (browse-kill-ring-update))))

but I have no clue which hook would serve you best. There does not seem
to be a hook like e.g. `post-kill-hook', or does it?


Holger


Nasty hack -
use defadvice on kill-region et all
the advice function will use add-timer
to call browse-kill-ring-update
after a suitable delay (10 to 100ms)

HTH,
Colin S. Miller


--
Replace the obvious in my email address with the first three letters of the 
hostname to reply.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]