unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org, jasonr@gnu.org
Subject: Re: select-active-regions
Date: Sun, 19 Jul 2009 23:20:27 +0300	[thread overview]
Message-ID: <8363dopgqc.fsf@gnu.org> (raw)
In-Reply-To: <4A6375B5.1090406@harpegolden.net>

> Date: Sun, 19 Jul 2009 20:36:21 +0100
> From: David De La Harpe Golden <david@harpegolden.net>
> CC: Jason Rumney <jasonr@gnu.org>, cyd@stupidchicken.com, 
>  emacs-devel@gnu.org
> 
> Eli Zaretskii wrote:
> 
> > It's analogous in the sense that killing puts text there and yanking
> > gets text from there.
> > 
> 
> 
> When killing, emacs on X11 places text in
> primary if x-select-enable-primary is t
> clipboard if x-select-enable-clipboard is t
> 
> When yanking, emacs on x11 gets text from
> primary if x-select-enable-primary is t
> clipboard if x-select-enable-clipboard is t

Since Windows only has the clipboard, putting and getting text from
there is the best it can do to emulate X in this regard.

> i.e. If I'm used to select-active-regions working without clobbering the 
> clipboard on X11, why the holy hell should it clobber the clipboard on 
> Windows?

As I explained elsewhere in this thread, Emacs on DOS and Windows
thrashes the clipboard all the time anyway.  So anyone using Emacs on
Windows ought to be accustomed to that already.  I know I am.

> You've missed the option of having it work as on x11 for emacs-emacs 
> interactions (that is _not_ "effectively disabled") but not copying to 
> the clipboard.

If we want such an option to be available to non-X platforms, we
should let users customize it in ways that are not specific to X.
What we have now in that area is horribly system-dependent.  Introduce
a portable customizable option for separating these two features, and
I'm with you.

> I don't know why, other than the possibility you've 
> misunderstood some or all of X11 clipboard, X11 primary, or the purpose 
> of select-active-regions.

Well, I did ask for a detailed explanation.




  reply	other threads:[~2009-07-19 20:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18 11:20 select-active-regions Eli Zaretskii
2009-07-18 13:41 ` select-active-regions David De La Harpe Golden
2009-07-18 13:47   ` select-active-regions David De La Harpe Golden
2009-07-18 13:54   ` select-active-regions Eli Zaretskii
2009-07-18 14:19     ` select-active-regions Chong Yidong
2009-07-18 18:33       ` select-active-regions Eli Zaretskii
2009-07-18 18:48         ` select-active-regions David De La Harpe Golden
2009-07-18 19:23           ` select-active-regions Eli Zaretskii
2009-07-18 19:50             ` select-active-regions David De La Harpe Golden
2009-07-19 14:41             ` select-active-regions Jason Rumney
2009-07-19 17:39               ` select-active-regions Eli Zaretskii
2009-07-19 19:36                 ` select-active-regions David De La Harpe Golden
2009-07-19 20:20                   ` Eli Zaretskii [this message]
2009-07-19 21:52                     ` select-active-regions Lennart Borgman
2009-07-20  3:15                       ` select-active-regions Eli Zaretskii
2009-07-20  3:20                         ` select-active-regions Lennart Borgman
2009-07-20 18:40                           ` select-active-regions Eli Zaretskii
2009-07-20  0:22                     ` select-active-regions David De La Harpe Golden
2009-07-20  3:12                       ` select-active-regions Eli Zaretskii
2009-07-18 18:51         ` select-active-regions Chong Yidong
2009-07-18 19:20           ` select-active-regions Eli Zaretskii
2009-07-18 19:37             ` select-active-regions Chong Yidong
2009-07-18 19:45               ` select-active-regions Eli Zaretskii
2009-07-18 20:15                 ` select-active-regions David De La Harpe Golden
2009-07-18 18:45     ` select-active-regions David De La Harpe Golden
2009-07-18 19:26       ` select-active-regions Eli Zaretskii
2009-07-18 19:10   ` select-active-regions Eli Zaretskii
2009-07-18 19:30     ` select-active-regions David De La Harpe Golden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8363dopgqc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=david@harpegolden.net \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).