[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pasting many times
From: |
rgb |
Subject: |
Re: pasting many times |
Date: |
25 Oct 2006 11:09:24 -0700 |
User-agent: |
G2/1.0 |
Drew Adams wrote:
> > FWIW, I happen to agree with Mathias. If I want an earlier
> > kill, I use C-y M-y.
>
> FWIW, I agree with Drew C-y M-yyy... is the way to go for me since I
> usually don't memorise the kill-ring by heart.
I too agree. But for those who can remember such things...
Positive args can yank multiple times.
Negative args can retrieve prior kills.
Even if you *can* remember X number of kills you're not likely
to ever find it more convenient to yank the (kill-ring-max - n)th
entry (which isn't even documented to work anyway).
Yank can be changed like this:
; (insert-for-yank (current-kill (cond
; ((listp arg) 0)
; ((eq arg '-) -2)
; (t (1- arg)))))
(cond
((listp arg) (insert-for-yank (current-kill 0)))
((eq arg '-) (insert-for-yank (current-kill -2)))
((> arg 0) (dotimes (x arg) (insert-for-yank (current-kill 0))))
(t (insert-for-yank (current-kill (- arg)))))
>
> And when we are at it. I do not understand why M-y depends on C-y at
> all, lets just take the second entry of kill-ring by default and third
> and fourth and so on?
Here here.
> Now we are already 4 forgetful people, could this be made into an
> official feature request (for after the release ;-)?
Make that 5.
- Re: pasting many times, (continued)
- Message not available
- Re: pasting many times, Mathias Dahl, 2006/10/24
- RE: pasting many times, Drew Adams, 2006/10/24
- Re: pasting many times, Dieter Wilhelm, 2006/10/24
- RE: pasting many times, Drew Adams, 2006/10/24
- Re: pasting many times, Dieter Wilhelm, 2006/10/24
- Message not available
- Re: pasting many times,
rgb <=
- Re: pasting many times, Shanks N, 2006/10/26
- Message not available
- Re: pasting many times, David Kastrup, 2006/10/26
- Re: pasting many times, Dieter Wilhelm, 2006/10/27
- Re: pasting many times, Sam Peterson, 2006/10/27
- Message not available
- Re: pasting many times, Holger Sparr, 2006/10/24
RE: pasting many times, Bourgneuf Francois, 2006/10/25