all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Bading <tbading@web.de>
To: Drew Adams <drew.adams@oracle.com>
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 19:26:54 +0200	[thread overview]
Message-ID: <D639673F-DE40-42C3-8EA1-26C1156F4FC9@web.de> (raw)
In-Reply-To: <3DBDB4C0CB47400DABC8A616DA709826@us.oracle.com>

On 30.05.2012, at 19:18, Drew Adams wrote:
>> 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.

Wish it was that easy. I think Chong meant a mouse movement by just a few pixels, not characters. At least that would explain perfectly my am-I-to-stupid-to-use-a-mouse-or-what moments. I obviously moved the mouse a pixel or two while clicking, resulting in a mark being set at point. C-w or M-w after that kills or copies an empty region. That's exactly what I managed to do every once in a while in Emacs 23. At least Emacs 24 is consistent, it never works ;-).

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

Yup, checking my medication might solve my problem, too. :-D

Tobias






  reply	other threads:[~2012-05-30 17:26 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
2012-05-30 17:26             ` Tobias Bading [this message]
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=D639673F-DE40-42C3-8EA1-26C1156F4FC9@web.de \
    --to=tbading@web.de \
    --cc=11588@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=drew.adams@oracle.com \
    /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.