[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs learning curve
From: |
Chong Yidong |
Subject: |
Re: Emacs learning curve |
Date: |
Sun, 11 Jul 2010 18:49:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
David De La Harpe Golden <address@hidden> writes:
>> Thanks for reminding me: is there any reason x-select-enable-clipboard
>> isn't t by default?
>
> Because it will do an incredibly annoying thing unless you also
> reconfigure certain other settings:
>
> If you want emacs cut and paste to act like other recent X11 apps:
>
> (setq mouse-drag-copy-region nil)
> (setq x-select-enable-primary nil
> (setq x-select-enable-clipboard to t)
> (setq select-active-regions to t)
> (global-set-key [mouse-2] 'mouse-yank-primary)
Yes, this is what I have in mind. I remember that we postphoned these
changes during Emacs 23, because not all the necessary code was in place
at the time.
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.
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").
- Re: Emacs learning curve, (continued)
- Re: Emacs learning curve, David Kastrup, 2010/07/10
- Re: Emacs learning curve, Tom, 2010/07/11
- Re: Emacs learning curve, Sebastian Rose, 2010/07/11
- Re: Emacs learning curve, Juri Linkov, 2010/07/11
- Re: Emacs learning curve, Miles Bader, 2010/07/11
- Re: Emacs learning curve, Chong Yidong, 2010/07/11
- Re: Emacs learning curve, David De La Harpe Golden, 2010/07/11
- Re: Emacs learning curve, David De La Harpe Golden, 2010/07/11
- Re: Emacs learning curve, Jan Djärv, 2010/07/11
- Re: Emacs learning curve, David De La Harpe Golden, 2010/07/11
- Re: Emacs learning curve,
Chong Yidong <=
- Re: Emacs learning curve, Eli Zaretskii, 2010/07/12
- Re: Emacs learning curve, David De La Harpe Golden, 2010/07/12
- Re: Emacs learning curve, Eli Zaretskii, 2010/07/12
- Re: Emacs learning curve, David De La Harpe Golden, 2010/07/12
- RE: Emacs learning curve, Drew Adams, 2010/07/11
- Re: Emacs learning curve, Chong Yidong, 2010/07/11
- RE: Emacs learning curve, Drew Adams, 2010/07/11
- Re: Emacs learning curve, Sebastian Rose, 2010/07/11
- Clipboard interactions [was: Re: Emacs learning curve], David De La Harpe Golden, 2010/07/11
- Re: Clipboard interactions [was: Re: Emacs learning curve], David De La Harpe Golden, 2010/07/11