GNU bug report logs - #23478
25.0.93; Mouse region selection asymmetry

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Sun, 8 May 2016 15:46:02 UTC

Severity: minor

Tags: patch

Found in version 25.0.93

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Stephen Berman <stephen.berman <at> gmx.net>, 23478 <at> debbugs.gnu.org
Subject: bug#23478: 25.0.93; Mouse region selection asymmetry
Date: Thu, 7 Jul 2016 13:02:38 -0400
On Thu, Jul 7, 2016 at 12:48 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Stephen Berman <stephen.berman <at> gmx.net>
>> Cc: npostavs <at> users.sourceforge.net,  23478 <at> debbugs.gnu.org
>> Date: Thu, 07 Jul 2016 18:22:42 +0200
>>
>> What do you understand by "selection backward"?
>
> mouse-select-region-backward can be interpreted as "mouse selects
> region backward".
>
>> My intention was to indicate that this variable controls selecting
>> the region when you double-click at region-end
>
> But "region-end" doesn't appear in the name.
>
> How about mouse-select-region-at-region-end ?

IMO, it would be a bit confusing if mouse-select-region-at-region-end
= t implies point gets moved to the beginning. How about
mouse-select-region-move-to-beginning. 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 bug report was last modified 8 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.