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

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

RE: 2 ways to paste


From: Drew Adams
Subject: RE: 2 ways to paste
Date: Thu, 6 Nov 2008 09:06:51 -0800

> 1) i mark region A
> 2) i copy (alt+w) region B
> 
> now i want the have the possiblity to yank region A and region B each
> with different command. is it possible?
> 
> in other words, Is it possible to have 2 different indepenable
> mechanism for
> 1) copy yank marking block (with mark and set).
> 2) copy yank block that was copied to clipboard by alt+w.

1. Xah mentioned using registers.
 
2. You also have the secondary selection, which is like a second clipboard:
http://www.emacswiki.org/emacs/SecondarySelection. Very handy and probably
underused.

3. All text you kill or copy (`M-w') is available from the `kill-ring'. You can
yank (paste) any kill-ring item at any time.

In vanilla Emacs, you do that by `C-y M-y M-y M-y'... There are also various
ways to directly choose which item to paste, instead of cycling to it - see the
Emacs Wiki. In Icicles, for instance, `C-- C-y' (`icicle-completing-yank') lets
you use completion to choose the kill(s) to paste.





reply via email to

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