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: Mon, 20 Jul 2009 06:12:48 +0300	[thread overview]
Message-ID: <834ot8oxn3.fsf@gnu.org> (raw)
In-Reply-To: <4A63B8BC.2030007@harpegolden.net>

> Date: Mon, 20 Jul 2009 01:22:20 +0100
> From: David De La Harpe Golden <david@harpegolden.net>
> CC: jasonr@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org
> 
> Eli Zaretskii wrote:
> 
>  > > 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.
> >
> 
> For emulating an X11 clipboard, sure, that makes sense. Not for 
> emulating an X11 primary.  They are different things.

But Emacs has no other way but emulate both with the clipboard on
Windows, because that's the only interprogram buffer there is.

>  > 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.
> 
> ? Surely it only updates the system clipboard if you:
>   * explicitly kill
>   * {mouse-select text with mouse-drag-copy-region non-nil}

Aha, and did you pay attention how many times you kill something while
editing?

> A basic point of select-active-regions is to allow, when selecting text 
> with either the mouse or keyboard:
>   * don't affect kill-ring_and_clipboard
>   * affect primary

That's fine, but you cannot do that on Windows and let other programs
get at the selected text unless you use the clipboard.

But we are going in circles.  The same arguments get said time and
again, ad nauseam.  I think we should agree to disagree on this one,
and let it be.

> w32 presently uses x-select-enable-clipboard to control clipboard use 
> AFAICS with much the same meaning as on x11.

Not really: x-select-enable-clipboard is t by default on Windows,
because it won't make much sense otherwise.




  reply	other threads:[~2009-07-20  3:12 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                   ` select-active-regions Eli Zaretskii
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                       ` Eli Zaretskii [this message]
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=834ot8oxn3.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).