From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Selection changes in revno 100822 Date: Sun, 15 Aug 2010 10:11:16 +0900 Message-ID: <87lj881xzf.fsf@catnip.gol.com> References: <834oeyv3ww.fsf@gnu.org> <87mxsqyp98.fsf@stupidchicken.com> <83zkwptyij.fsf@gnu.org> <4C66660D.3090603@swipnet.se> <83sk2htp82.fsf@gnu.org> <4C66A8C5.4040203@harpegolden.net> <83hbixte8c.fsf@gnu.org> <87wrrs276x.fsf@stupidchicken.com> <8339ugu7vt.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281834703 5776 80.91.229.12 (15 Aug 2010 01:11:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 01:11:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 15 03:11:42 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OkRlF-0004MW-Uq for ged-emacs-devel@m.gmane.org; Sun, 15 Aug 2010 03:11:42 +0200 Original-Received: from localhost ([127.0.0.1]:47145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkRlF-00054L-Au for ged-emacs-devel@m.gmane.org; Sat, 14 Aug 2010 21:11:41 -0400 Original-Received: from [140.186.70.92] (port=59534 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkRl9-000546-91 for emacs-devel@gnu.org; Sat, 14 Aug 2010 21:11:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkRl8-00049m-5R for emacs-devel@gnu.org; Sat, 14 Aug 2010 21:11:35 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:33574) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkRl7-00049Q-VQ for emacs-devel@gnu.org; Sat, 14 Aug 2010 21:11:34 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OkRl3-0004JP-2S for emacs-devel@gnu.org; Sun, 15 Aug 2010 03:11:29 +0200 Original-Received: from 218.231.154.125.eo.eaccess.ne.jp ([218.231.154.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Aug 2010 03:11:29 +0200 Original-Received: from miles by 218.231.154.125.eo.eaccess.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Aug 2010 03:11:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 218.231.154.125.eo.eaccess.ne.jp System-Type: x86_64-unknown-linux-gnu Cancel-Lock: sha1:Xx8anSiUkktGvoR8pHwNS2YuShk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128716 Archived-At: Eli Zaretskii writes: > From the user's perspective, there are several ways of selecting text: > with C-SPS (with or without transient-mark-mode), with > shift-selection, and with the mouse. Let's talk on this level: which > methods should set the primary and which shouldn't, and why? * For consistency with other apps which set the primary, it seems that mouse-drag should set the primary. Shift-select also seems to set the primary in some other apps (firefox), but I have fewer such apps to try. * For consistency within Emacs, C-SPC in transient-mark-mode should set the primary. * For C-SPC _not_ in transient-mark-mode, I think it _shouldn't_ set the primary, since "selection" in this mode is visually very distinct from the above types of selection (I don't think users are likely to be confused by this). Users _shouldn't have to think very hard about this_, and thus simple rules are important. In this case I think a good simple rule is: 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. -Miles -- Mayonnaise, n. One of the sauces that serve the French in place of a state religion.