From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#23478: 25.0.93; Mouse region selection asymmetry Date: Fri, 08 Jul 2016 11:58:05 +0200 Message-ID: <87twg0bgeq.fsf@gmx.net> References: <878tzky2oe.fsf@gmx.net> <8360uoe5ye.fsf@gnu.org> <87shxswd5s.fsf@gmx.net> <834ma8e3ll.fsf@gnu.org> <871t3bhbpz.fsf@users.sourceforge.net> <87poqun63w.fsf@gmx.net> <83furqratc.fsf@gnu.org> <87h9c6mkb0.fsf@gmx.net> <83vb0mp1ok.fsf@gnu.org> <87wpl17pvs.fsf@gmx.net> <83eg79pi29.fsf@gnu.org> <87bn2d736k.fsf@gmx.net> <83furongms.fsf@gnu.org> <87r3b6btyi.fsf@gmx.net> <83poqqli77.fsf@gnu.org> <878txd7irj.fsf@gmx.net> <8360shlb4d.fsf@gnu.org> <874m8176zx.fsf@gmx.net> <83wpkxjsxf.fsf@gnu.org> <87vb0h5mpt.fsf@gmx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467972338 24610 80.91.229.3 (8 Jul 2016 10:05:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2016 10:05:38 +0000 (UTC) Cc: 23478@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 08 12:05:25 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLSey-0002tZ-J9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jul 2016 12:05:24 +0200 Original-Received: from localhost ([::1]:44550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLSZ1-0002x6-5l for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jul 2016 05:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLSYs-0002v4-Dy for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 05:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLSYo-0007Ax-8C for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 05:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLSYo-0007Ak-4Q for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 05:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLSYn-0001wp-Ra for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 05:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jul 2016 09:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23478 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 23478-submit@debbugs.gnu.org id=B23478.14679719117446 (code B ref 23478); Fri, 08 Jul 2016 09:59:01 +0000 Original-Received: (at 23478) by debbugs.gnu.org; 8 Jul 2016 09:58:31 +0000 Original-Received: from localhost ([127.0.0.1]:41745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLSYI-0001w2-P9 for submit@debbugs.gnu.org; Fri, 08 Jul 2016 05:58:30 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:61227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLSYE-0001vn-Rl for 23478@debbugs.gnu.org; Fri, 08 Jul 2016 05:58:29 -0400 Original-Received: from rosalinde ([89.245.89.198]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MBWTO-1bAywi4Bba-00AVHT; Fri, 08 Jul 2016 11:58:07 +0200 In-Reply-To: <87vb0h5mpt.fsf@gmx.net> (Stephen Berman's message of "Thu, 07 Jul 2016 20:26:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:JslhhuWeXfbWaOdQYFEn7fxEWKwmT2nO/1yPz0hHTp//7d7w4QZ DMjHajhahko6abRqmb3kyF1dEWjvhMhJSpPLciIzuA50Rdb72m6f034q+94wg5cFWP3ViRh oFG6u5Y6WO7tWGkpB0oMj+wFOr8/aPRIZEeer7txV2EN2+zJB2PxXzKMNG0lPxlB/M9CAFo Lvr6K7aMV0+8IrqHSFI3g== X-UI-Out-Filterresults: notjunk:1;V01:K0:lZlozITOtIA=:0EXol/1L8o62BTX874fJ5g 1Yy2fdc+Ti50c/k/BLRpyjCvJdutzbuuPkfsdNXYBIMYLCtiFhWOZhF3hGrY8ngmAyFDorwfI brd6vBaY+FrXJXWTmzQ3J0qtyoFlJqFu9Zc/xP5lXrD3J21cpxY9RDZyIaQNxeZpcklbp+T2d 8AGAhQpgdlHPDPtkBPBPaYlJr0jP/bK8rpxv6DWwWjTLph65ud7M5kpTLyYLRa0VAxGn2EHzP NhbciNQR3SvD6D2/alxM5egwz9tc1OvbNwecZXexTBjzrfZoyK3mCkPXjyLUfowWDhrnee7UY XPiM9jx5yK+avuqhCoDo+HdkMysnZMzqAYImtlvaI6MuLNJjzl3QW4R9eHTZvbJlAHplhBQ7T WnT5z1eWvlb2R3igQt8nKD1KXTqPvbq89MPvvbmW//BIYD5OP8eRDTORx2AFp+DPDnHh0gpBQ oFx4pQPK+NoSUL5V5NtCHP6J4NrWrY2+kuOD9rnZ2811Icmn+KHAP27uW8Fn46xKvBekJARjm ajrFfbGK0eOH2daqCQDCOiA13dfrgtyRM0U17ranM9p/fo3NBMur94ksY5r+1k1aTIommBi/R OVAjYJ0oQPsqcwXwd4rBU8t8/dPd4nVuFP9gxwBTOMPiy/McREC0i9YhdcByzqpyWw6U45v11 uXcXra0EyhYaFdGniyQAoMAtlBnlTg/WVT32QH1p4IuUjAyjq9zU1uUYJ0wsHu0452t2kZzB0 N34sUMPqPgTtTISVRRR1p2xD9/qND0KccxC+GE/UOTru/y6Hywb8VTLaF/Zd4a96CjcEhO26 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120616 Archived-At: On Thu, 07 Jul 2016 20:26:06 +0200 Stephen Berman wrote: > On Thu, 07 Jul 2016 20:16:26 +0300 Eli Zaretskii wrote: > >>> From: Noam Postavsky >>> Date: Thu, 7 Jul 2016 13:02:38 -0400 >>> Cc: Stephen Berman , 23478@debbugs.gnu.org >>> >>> How about mouse-select-region-move-to-beginning. >> >> Fine with me. >> > > Me too. > > On Thu, 7 Jul 2016 13:02:38 -0400 Noam Postavsky > wrote: > >> I also suggest removing mention >> of scrolling from docstring, I don't think we need to re-explain how >> moving point interacts with scrolling here. >> >> (defcustom mouse-select-region-move-to-beginning nil >> "Effect of selecting a region extending backward from double click. >> >> Nil means keep point at the position clicked (region end); >> non-nil means move point to region beginning." >> :version "26.1" >> :type '(choice (const :tag "Don't move point" nil) >> (const :tag "Move point to beginning of region" t))) >> > > This is also more appropriate, thanks. > > I'll push the changes to master as soon as I get a chance (hopefully > tomorrow). First, two questions, to hopefully avoid further changes after pushing: i. Currently no defcustom in master has `:version "26.1"' but several have `:version "25.2"', so should the latter be used here too? ii. Is the following NEWS entry ok, both in content and location? diff --git a/etc/NEWS b/etc/NEWS index b3a044d..286933f 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -56,6 +56,13 @@ affected by this, as SGI stopped supporting IRIX in December 2013. * Changes in Emacs 25.2 ++++ +** The new user option 'mouse-select-region-move-to-beginning' +controls the position of point when double-clicking mouse-1 on the end +of a parenthetical grouping or string-delimiter: the default value nil +keeps point at the end of the region, setting it to non-nil moves +point to the beginning of the region. + --- ** 'find-library-name' will now fall back on looking at 'load-history' to try to locate libraries that have been loaded with an explicit path Steve Berman