|
From: | David De La Harpe Golden |
Subject: | Re: Emacs learning curve |
Date: | Mon, 12 Jul 2010 10:00:50 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 |
On 12/07/10 08:25, Eli Zaretskii wrote:
From: Chong Yidong<address@hidden> Date: Sun, 11 Jul 2010 18:49:03 -0400 Cc: Juri Linkov<address@hidden>, Sebastian Rose<address@hidden>, address@hidden, Tom<address@hidden>, Miles Bader<address@hidden> To summarize: C-w and M-w should copy to the clipboard and set the primary in addition to updating the kill-ring. shift-selection and mouse-dragging should set/update the primary, leaving the clipboard and the kill-ring alone. mouse-2 should yank the primary.What about the region highlighted by typing C-SPC twice and then moving cursor -- will it go to the primary as well?
[it's c-spc once out-of-box, you must have turned off transient-mark-mode?]I would expect so and n.b. it already does with the relevant settings already given.
The main downside, IIRC, is that some users may not want C-w in Emacs to clobber the clipboard. I can understand how this may be a concern, since the Emacs kill-ring is much more flexible than the clipboard. But this seems to be something for advanced users to worry about; for the default, we ought to stick close to X11 "standards").Perhaps make a simple minor mode for those users who don't want C-w etc. to clobber the clipboard.
They would turn off x-select-enable-clipboard and then use clipboard-kill/yank (either bound to some key or the existing ones on the menu) for the times they want to interact with the clipboard.
I suppose a mode could set that up, but it borders on trivial.
[Prev in Thread] | Current Thread | [Next in Thread] |