unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* CUA mode behavior
@ 2009-10-21  0:41 justareader
  0 siblings, 0 replies; only message in thread
From: justareader @ 2009-10-21  0:41 UTC (permalink / raw)
  To: help-gnu-emacs

I am relatively a new user of emacs trying to get learn emacs. I am
coming from Windows world.

I have enabled cua-mode in my .emacs to use the standard keyboard
bindings for the cut/copy/paste behavior.


Cut and Copy works well but I see paste behavior is inconsistent.


For eg, if I select a word say "Word1", copy it using Ctrl+C and
later
select another word say "Word2" and now paste using Ctrl+V, the
"Word2" is replaced with "Word1" but then "Word2" replaces "Word1" in
the clipboard. This does not occur in windows, unix or other OS
applications. In other apps, Word1 is still in Clipboard and
subsequent paste replaces the selected word with "Word1".


How can I enable this behavior in emacs.


Following is the CUA related initialization segment in my .emacs
file.


;; Enable cua-mode
(cua-mode t)
(setq cua-keep-region-after-copy t)


Any help would be greatly appreciated.


Thanks




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-21  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21  0:41 CUA mode behavior justareader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).