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

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

C-y M-y M-y M-y M-y: 20 year retrospection on yanking due


From: Dan Jacobson
Subject: C-y M-y M-y M-y M-y: 20 year retrospection on yanking due
Date: 19 Dec 2001 17:02:58 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Let's consider the traditional method of hunting around the kill ring
for that piece of text that you snarfed up oh, a while ago.]

You put the cursor on the spot you want to yank the text to in the
target buffer, and hit C-y M-y M-y M-y M-y M-y M-y ...
until you see it's the one you wanted.  You dare not break the chain
of M-y's, and all the while all kinds of inappropriate 
material gets temporarily stuck in your file.

What if the phone rings, you miss a beat or get emotionally attached
or something and forget what you were doing?  Oh great, the Sunday
Sports Pages are going out with a big chunk of "My lifestyle
preferences, accept me or not" plastered in the middle.

And even while you are hitting those M-y's aren't you just cringing
at how it's just like going wild with your precious file?  now adding
a paragraph, now a wopping 200 K of syslog junk, now back to a few
chars... and ooops, wasn't that the chunk I wanted?  yes but you
forgot that you stuck it in the kill ring twice, and the last one had
this big chunk of junk appended that you didnt notice because it was
off the screen....

So, I'd say we need protection.  Hmm, perhaps a quick fix is I do my
w^Hyanking in an empty scratch buffer, and then when all is ok, go stick
this into the important buffer.  Hmm, I bet somebody has already done
this in a optimized package, well ok, well it should be promoted as
the new way to yank, a yankers' choice.
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780



reply via email to

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