all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: cyd@stupidchicken.com, jan.h.d@swipnet.se, emacs-devel@gnu.org,
	david@harpegolden.net
Subject: Re: Selection changes in revno 100822
Date: Sun, 15 Aug 2010 11:07:22 -0400	[thread overview]
Message-ID: <E1Okeny-0002lB-1Y@fencepost.gnu.org> (raw)
In-Reply-To: <8739ugrniw.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org)

> From: "Stephen J. Turnbull" <stephen@xemacs.org>
> Cc: David De La Harpe Golden <david@harpegolden.net>,
>     cyd@stupidchicken.com,
>     jan.h.d@swipnet.se,
>     emacs-devel@gnu.org
> Date: Sun, 15 Aug 2010 22:52:39 +0900
> 
> Eli Zaretskii writes:
> 
>  > I wasn't talking about clipboard pasting, I was talking about
>  > pasting from the primary selection.
> 
> AFAIK you can't copy/paste from the Windows primary selection (unless
> it's a situation where moving doesn't make sense, such as between
> disks in Explorer), although you can drag it somewhere else.

You are confused (not that it's hard to become one in this thread).  I
was talking about X here, not about Windows.

>  > Please give me some minimal credit that I know what I'm talking
>  > about.
> 
> That's kind of difficult when you also wrote this:
> 
>  > We've been there before.  As far as Windows use patterns are
>  > concerned, we disagree.  I expect most Windows users disagree with
>  > you, because there's only the clipboard, so no way of having 2
>  > different selection types and 2 different ways of pasting.
> 
> On X11 there are three different selection types, in fact, and two
> different ways of pasting.  That is a fact, and saying the Windows
> users don't believe it doesn't make it any less true.

You are confused.  The "as far as Windows use patterns" part is about
my past disagreements with David regarding how to map 3 selection
types on X to a single clipboard on Windows.  The "give me some
credit" part is about the distinction between these 3 selection types
on X: somehow, David thought I didn't understand that, and that I
needed a lecture about it.

> And in fact, there *is* an analog to the X11 primary selection on
> Windows, and it can only be manipulated with the mouse.  That's what
> is used for drag'n'drop.  AFAIK there is no way to paste that
> selection from the keyboard (C-v) without using cut (C-x) or copy
> (C-c) first (in fact C-v will overwrite it with the contents of the
> clipboard), but in some applications (eg, the Explorer) it can be
> dragged, which causes either movement or copying depending on context,
> and does not affect the clipboard.  Am I wrong?

You are talking about drag'n'drop, which does have a direct analog on
X.  I don't think drag'n'drop, in its current shape, could or should
be regarded as a kind of ``primary selection'' on Windows, that would
just make this discussion more confusing.  Drag'n'drop APIs _might_ be
a basis for implementing PRIMARY on Windows (assuming it can support
that -- I didn't research this issue, so I don't know), but unless and
until someone comes up with a patch to do that, MS-Windows users will
have to do without PRIMARY.

> Some experienced X
> users use the "drag to select, middle button to paste" and "drag to
> select, drag again to move" gestures a lot (when available, drag to
> move isn't standard part of toolkits AFAIK, although some apps
> implement it).  If available, Windows users might like to use it too.

But it isn't available on Windows, not without overwriting the
clipboard with selected text.  Unless you are willing to give up
having the primary selection available to other apps, which is what
the emulation of PRIMARY on Windows already does in Emacs.

Anyway, the issue of why the primary selection and the clipboard
should be set separately in Emacs and by different gestures is quite
clear (although it would be nice if it were explained in NEWS in more
detail), so let's not beat this dead horse anymore.  The only issue
that still needs to be discussed (IMO) is which gestures should cause
PRIMARY to be set with the selected text and which shouldn't.  This
should be decided for X first; the mapping to Windows' limitations
should come later.



  reply	other threads:[~2010-08-15 15:07 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-13 17:05 Selection changes in revno 100822 Eli Zaretskii
2010-08-14  1:08 ` Chong Yidong
2010-08-14  8:00   ` Eli Zaretskii
2010-08-14  8:24     ` Miles Bader
2010-08-14  9:16       ` Eli Zaretskii
2010-08-14 12:16         ` Miles Bader
2010-08-14 12:20           ` Eli Zaretskii
2010-08-14 12:35             ` Miles Bader
2010-08-14 13:02               ` Eli Zaretskii
2010-08-14 13:23                 ` Miles Bader
2010-08-14 13:27                   ` Eli Zaretskii
2010-08-14 13:32                     ` David De La Harpe Golden
2010-08-14 13:53                       ` Eli Zaretskii
2010-08-16  0:55                   ` Kenichi Handa
2010-08-14  9:46     ` Jan Djärv
2010-08-14 11:20       ` Eli Zaretskii
2010-08-14 13:54         ` Jan Djärv
2010-08-14 14:31         ` David De La Harpe Golden
2010-08-14 15:18           ` Eli Zaretskii
2010-08-14 17:21             ` David De La Harpe Golden
2010-08-14 19:04               ` Drew Adams
2010-08-14 22:16               ` Eli Zaretskii
2010-08-14 22:33                 ` David De La Harpe Golden
2010-08-14 22:58                   ` Eli Zaretskii
2010-08-14 23:42                     ` David De La Harpe Golden
2010-08-15  2:55                       ` Eli Zaretskii
2010-08-15 19:16                   ` James Cloos
2010-08-15 13:52                 ` Stephen J. Turnbull
2010-08-15 15:07                   ` Eli Zaretskii [this message]
2010-08-15 17:36                     ` Stephen J. Turnbull
2010-08-15 17:57                       ` Eli Zaretskii
2010-08-15 17:48                   ` Drew Adams
2010-08-15 18:16                     ` Eli Zaretskii
2010-08-15 19:29                       ` Drew Adams
2010-08-15 20:10                         ` Eli Zaretskii
2010-08-15 23:01                           ` Drew Adams
2010-08-16  3:01                             ` Eli Zaretskii
2010-08-16  3:42                     ` Stephen J. Turnbull
2010-08-16  5:23                       ` Eli Zaretskii
2010-08-16  6:10                         ` Stephen J. Turnbull
2010-08-16  8:11                           ` Manoj Srivastava
2010-08-16  8:25                             ` Miles Bader
2010-08-16  9:31                               ` Manoj Srivastava
2010-08-16  9:50                                 ` Miles Bader
2010-08-16 11:27                                   ` David Kastrup
2010-08-16 11:38                                     ` Jan Djärv
2010-08-14 22:43               ` Eli Zaretskii
2010-08-14 17:39             ` Jan Djärv
2010-08-14 21:52             ` Chong Yidong
2010-08-14 22:49               ` Eli Zaretskii
2010-08-15  1:11                 ` Miles Bader
2010-08-15  2:57                   ` Eli Zaretskii
2010-08-15 15:05                     ` Chong Yidong
2010-08-15 15:14                       ` Eli Zaretskii
2010-08-16  2:35                         ` Chong Yidong
2010-08-16  2:50                           ` David Kastrup
2010-08-16  3:05                             ` Eli Zaretskii
2010-08-16  7:07                               ` David Kastrup
2010-08-16  8:57                                 ` Jan Djärv
2010-08-16  9:18                                 ` Eli Zaretskii
2010-08-16  9:28                                   ` Miles Bader
2010-08-16  6:53                             ` Jan Djärv
2010-08-16  7:09                               ` David Kastrup
2010-08-16  8:52                                 ` Jan Djärv
2010-08-15  4:48                   ` Drew Adams
2010-08-15  5:31                     ` Miles Bader
2010-08-15  6:06                     ` Eli Zaretskii
2010-08-15 14:04                   ` Stephen J. Turnbull
2010-08-15 15:20                     ` Eli Zaretskii
2010-08-15 17:27                       ` David De La Harpe Golden
2010-08-15 17:59                         ` Eli Zaretskii
2010-08-15 19:50                           ` David De La Harpe Golden
2010-08-15 20:19                             ` Eli Zaretskii
2010-08-15 20:40                               ` David De La Harpe Golden
2010-08-15 21:13                                 ` Eli Zaretskii
2010-08-15 21:42                                   ` David De La Harpe Golden
2010-08-15 22:55                                     ` Drew Adams
2010-08-16  3:09                                     ` Eli Zaretskii
2010-08-15 16:57                     ` David De La Harpe Golden
2010-08-15 19:19                   ` James Cloos
2010-08-16 11:06                   ` Stefan Monnier
2010-08-15  4:48               ` Drew Adams
2010-08-15  6:01                 ` Eli Zaretskii
2010-08-15  7:19                   ` Jan Djärv
2010-08-15  8:26                     ` Miles Bader
2010-08-15  9:27                     ` Eli Zaretskii
2010-08-15 10:25                       ` Jan Djärv
2010-08-15 12:48                         ` David De La Harpe Golden
2010-08-15  7:22                   ` Thierry Volpiatto
2010-08-15  9:30                     ` Eli Zaretskii
2010-08-16 11:03               ` Stefan Monnier
2010-08-16 11:17                 ` Eli Zaretskii
2010-08-16 13:47                   ` Stefan Monnier
2010-08-16 19:00                     ` Eli Zaretskii
2010-08-16 22:44                       ` Stefan Monnier
2010-08-17  2:43                         ` Stephen J. Turnbull
2010-08-17  7:10                           ` Eli Zaretskii
2010-08-17  2:56                         ` Eli Zaretskii
2010-08-17 15:12                           ` Chong Yidong
2010-08-17 15:39                             ` Miles Bader
2010-08-17 16:10                               ` Miles Bader
2010-08-17 16:45                             ` Eli Zaretskii
2010-08-17 16:50                               ` Miles Bader
2010-08-17 18:14                                 ` Eli Zaretskii
2010-08-17 21:07                                   ` David De La Harpe Golden
2010-08-17 21:35                             ` David De La Harpe Golden
2010-08-18  2:12                               ` Miles Bader
2010-08-18 22:28                             ` James Cloos
2010-08-14 12:28     ` Johan Bockgård
2010-08-14 12:58       ` Eli Zaretskii
2010-08-14 15:59     ` Eli Zaretskii
2010-08-14 18:49       ` David De La Harpe Golden
2010-08-14 18:54         ` David De La Harpe Golden
2010-08-14 22:23         ` Eli Zaretskii
2010-08-14 22:39           ` 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

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

  git send-email \
    --in-reply-to=E1Okeny-0002lB-1Y@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=david@harpegolden.net \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=stephen@xemacs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.