all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "rgb" <rbielaws@i1.net>
Subject: Re: pasting many times
Date: 25 Oct 2006 11:09:24 -0700	[thread overview]
Message-ID: <1161799764.064357.254390@h48g2000cwc.googlegroups.com> (raw)
In-Reply-To: mailman.210.1161721351.27805.help-gnu-emacs@gnu.org

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.

  parent reply	other threads:[~2006-10-25 18:09 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.157.1161613927.27805.help-gnu-emacs@gnu.org>
2006-10-23 15:31 ` pasting many times Holger Sparr
2006-10-23 16:14   ` Baurzhan Ismagulov
2006-10-23 19:55     ` Dieter Wilhelm
2006-10-23 20:52       ` Baurzhan Ismagulov
2006-10-23 21:15         ` Dieter Wilhelm
2006-10-24 19:36           ` Baurzhan Ismagulov
     [not found]       ` <mailman.179.1161636720.27805.help-gnu-emacs@gnu.org>
2006-10-24  8:54         ` Mathias Dahl
2006-10-24 13:46           ` Drew Adams
2006-10-24 20:13             ` Dieter Wilhelm
2006-10-24 20:22               ` Drew Adams
2006-10-24 21:22                 ` Dieter Wilhelm
     [not found]               ` <mailman.210.1161721351.27805.help-gnu-emacs@gnu.org>
2006-10-25 18:09                 ` rgb [this message]
2006-10-26 17:02                   ` Shanks N
     [not found]                   ` <mailman.281.1161883844.27805.help-gnu-emacs@gnu.org>
2006-10-26 17:49                     ` David Kastrup
2006-10-27 17:39                       ` Dieter Wilhelm
2006-10-27 19:09                       ` Sam Peterson
     [not found]     ` <mailman.171.1161633348.27805.help-gnu-emacs@gnu.org>
2006-10-24  6:03       ` Holger Sparr
     [not found] <mailman.227.1161762333.27805.help-gnu-emacs@gnu.org>
2006-10-25  8:20 ` spamfilteraccount
2006-10-25  9:13   ` Sam Peterson
2006-10-25 15:22   ` Drew Adams
2006-10-25 12:18 ` Florian Kaufmann
2006-10-25 12:49   ` Holger Sparr
2006-10-25 14:21     ` Florian Kaufmann
2006-10-25 15:18       ` Holger Sparr
2006-10-25 18:54         ` Colin S. Miller
2006-10-26  7:49           ` Holger Sparr
2006-10-26 18:24             ` Colin S. Miller
2006-10-27  7:42               ` Holger Sparr
2006-10-28  5:17                 ` don provan
2006-10-28 10:13                   ` Colin S. Miller
2006-10-25  7:45 Bourgneuf Francois
2006-10-25 19:57 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2006-10-23 14:32 Baurzhan Ismagulov

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161799764.064357.254390@h48g2000cwc.googlegroups.com \
    --to=rbielaws@i1.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.