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

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

Re: pasting many times


From: Holger Sparr
Subject: Re: pasting many times
Date: Thu, 26 Oct 2006 09:49:17 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:

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

[...]

>>> 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?

[...]

> 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)

Does `kill-region' change the the `kill-ring' exclusively?

Holger


reply via email to

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