all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Tobias Bading'" <tbading@web.de>
Cc: 'Chong Yidong' <cyd@gnu.org>, 11588@debbugs.gnu.org
Subject: bug#11588: 24.0.97; Left mouse click setting the mark every time?!??
Date: Wed, 30 May 2012 10:18:08 -0700	[thread overview]
Message-ID: <3DBDB4C0CB47400DABC8A616DA709826@us.oracle.com> (raw)
In-Reply-To: <3A878154-65C5-439C-8492-680B5F64C654@web.de>

> The bug in Emacs 23 caused by a slight mouse movement between 
> mouse down and up events that Chong described is quite bad 
> IMHO. Probably worse than a mouse click setting the mark 
> every time. Please don't put that bug back in :-).

Now it's my turn to say I don't understand.

Whether in Emacs 22, 23, or 24, if you move the mouse more than a character
width between down and up then you end up selecting the text you dragged over,
even if it is only one char - and thus highlighting it.  If you then hit `C-w',
the selected text is killed.  C'est normal.

You can _see_ the text to be killed.  That's the point of mouse-selection
highlighting (and the point behind transient-mark-mode highlighting).  If you
don't want to kill the text that you see highlighted, then don't kill it.

I don't understand the problem that the change is designed to fix.  You say that
you hit C-SPC, then you clicked mouse-1 elsewhere but you mistakenly dragged a
bit between button down and up.  OK.  It should have been clear with the
highlighting that the text to be killed did not extend from your C-SPC.  Where
was the mystery?

Sounds like a case of if-it-hurts-don't-do-it.

FWIW, I don't think I have ever mistakenly dragged the mouse slightly between
down and up.  Maybe I've been lucky.

But if some people have that problem then the solution is to do what we do
generally for GUIs (e.g. for double-clicking speed): let users customize the
tolerance for such dragging.  Setting your tolerance greater than one char (e.g.
1.4 chars) would probably take care of your problem.  Of course, if you set it
too high (e.g. 1.6 chars) then you cannot then select a single char with the
mouse...  







  reply	other threads:[~2012-05-30 17:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30 13:58 bug#11588: 24.0.97; Left mouse click setting the mark every time?!?? Tobias Bading
2012-05-30 14:15 ` Chong Yidong
2012-05-30 15:30   ` Tobias Bading
2012-05-30 15:45     ` Drew Adams
2012-05-30 16:33     ` Chong Yidong
2012-05-30 16:42       ` Drew Adams
2012-05-30 16:51         ` Tobias Bading
2012-05-30 17:18           ` Drew Adams [this message]
2012-05-30 17:26             ` Tobias Bading
2012-05-30 17:41               ` Drew Adams
2012-05-30 18:10                 ` Tobias Bading
2012-05-30 18:23                   ` Drew Adams
2012-05-30 18:52                     ` Tobias Bading
2012-05-30 20:15                       ` Drew Adams
     [not found]             ` <mailman.1963.1338398856.855.bug-gnu-emacs@gnu.org>
2012-06-24  7:51               ` dove.young
2012-06-24 16:03                 ` Eli Zaretskii
2012-05-30 16:44       ` Tobias Bading
2012-06-13 15:29         ` Chong Yidong

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=3DBDB4C0CB47400DABC8A616DA709826@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=11588@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=tbading@web.de \
    /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.