emacs-devel
[Top][All Lists]
Advanced

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

Re: Selection changes in revno 100822


From: Eli Zaretskii
Subject: Re: Selection changes in revno 100822
Date: Sun, 15 Aug 2010 11:14:36 -0400

> From: Chong Yidong <address@hidden>
> Cc: Miles Bader <address@hidden>, address@hidden
> Date: Sun, 15 Aug 2010 11:05:45 -0400
> 
> >>    If you _see_ a selected region in Emacs (no matter how it was
> >>    selected), it's available as the primary for pasting in other apps.
> >
> > That's something I had in mid, too, so I very much agree.
> 
> It's a convincing argument, leaving the issue of efficiency aside for
> the moment.  The rule, however, should be something like:
> 
> >>    If you _change_ a selected region in Emacs (no matter how it was
> >>    selected), it's available as the primary.
> 
> That's because if you make a selected region in one application, and
> then select some text in a second application, the second application
> grabs primary.

But this is a norm on X, isn't it?  Primary selection is ephemeral; if
you want more persistence, you should use the clipboard.  Right?  Why
should Emacs behave differently?

> Anyway, we can give this a try as the default.

Yes, let's do it!

> Instead of "lazy" setting, we can provide an optional (non-default)
> value of select-active-regions, where only shift-selection and
> mouse-dragging sets primary, while C-SPC + motion does not.

Yes, except that C-SPC+motion _should_ do it when transient-mark-mode
is on (which it is, by default).



reply via email to

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