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: Eli Zaretskii <eliz <at> gnu.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 23478 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: bug#23478: 25.0.93; Mouse region selection asymmetry
Date: Thu, 07 Jul 2016 18:29:54 +0300
> From: Stephen Berman <stephen.berman <at> gmx.net>
> Cc: npostavs <at> users.sourceforge.net,  23478 <at> debbugs.gnu.org
> Date: Thu, 07 Jul 2016 14:08:32 +0200
> 
> >> +(defcustom mouse-select-region-backward nil
> >
> > I'd name it mouse-select-region-scroll-backward.
> 
> Using "scroll" in the name suggests that the main purpose of this
> variable is to control scrolling backward, but it only controls the
> final position of point, and scrolling is a by-product of that which
> only happens if necessary.  Given that, do you still prefer to have
> "scroll" in the name?

I'm not great at naming symbols, so I don't insist.  However, the
original name seemed slightly misleading: it could be interpreted as
if the selection will be made backward, which is incorrect.  And since
I know that the "select-region" belongs to "mouse", I'm left wondering
what is "backward" about.

Do you see my problem with the name?  If so, perhaps you can suggest a
better one.

> One somewhat embarassing aspect of describing this option is that is
> makes the default asymmetrical behavior painfully obvious without
> providing a rationale for it (and I don't know of any).  I suppose we
> could add "for historical reasons" after "by default"....

I don't think it's needed: since point doesn't move, no scrolling
should be expected.

Thanks.




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.