unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 13692@debbugs.gnu.org
Subject: bug#13692: mouse clicks in vc-dir buffers accidentally changing marks
Date: Wed, 20 Jan 2021 04:58:27 +0100	[thread overview]
Message-ID: <875z3suun0.fsf@gnus.org> (raw)
In-Reply-To: <n6mwvaceq5.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 11 Feb 2013 23:56:18 -0500")

Glenn Morris <rgm@gnu.org> writes:

> Maybe it's just me, but I find it too easy to accidentally change the
> marked files in a vc-dir buffer with careless mouse clicks.
>
> In a directory under version control with modified files:
>
> emacs -Q -f vc-dir
>
> The text that says "edited" (and the space following it all the way up
> to the filename) runs vc-dir-toggle-mark on mouse clicks. I find this
> makes it too easy to accidentally change the marked state when using the
> mouse to select a different window or frame.
>
> In a dired buffer, there is no way to mark files with mouse clicks
> AFAICS. I don't see why vc-dir needs one. (Confusingly, clicking on the
> actual mark character itself at the start of the line in a vc-dir buffer
> does nothing.)

So the suggestion is to remove the `[mouse-2]' binding in
`vc-dir-mode'.  I've never used the functionality myself, but I can see
that somebody might find this useful, but if we're going to have it,
perhaps the clickable area should be extended to the mark character,
too?

(I think removing the binding after more than a decade in existence
would be confusing.)

Anybody got any opinions here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-01-20  3:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  4:56 bug#13692: mouse clicks in vc-dir buffers accidentally changing marks Glenn Morris
2021-01-20  3:58 ` Lars Ingebrigtsen [this message]
2021-01-21  3:08   ` Dmitry Gutov
2021-01-21 14:46     ` Lars Ingebrigtsen
2021-01-23  1:43       ` Dmitry Gutov
2021-01-23 19:02         ` Lars Ingebrigtsen
2021-01-24  2:23           ` Dmitry Gutov
2021-01-25 23:59             ` Lars Ingebrigtsen
2021-01-26  0:36               ` Dmitry Gutov
2021-01-27  1:39                 ` Lars Ingebrigtsen
2021-01-30  2:01                   ` Dmitry Gutov
2021-01-30  6:21                     ` Lars Ingebrigtsen
2021-01-30 14:05                       ` Dmitry Gutov
2021-01-31  7:27                         ` Lars Ingebrigtsen
2021-08-23 14:12                           ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875z3suun0.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=13692@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).