GNU bug report logs - #17562
24.4.50; REGRESSION: mouse double-click on `(` does not select whole Lisp sexp

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 23 May 2014 17:02:01 UTC

Severity: normal

Found in version 24.4.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 17562 <at> debbugs.gnu.org
Subject: bug#17562: 24.4.50; REGRESSION: mouse double-click on `(` does not select whole Lisp sexp
Date: Mon, 26 May 2014 18:54:09 -0400
> Visit dired.el. Double-click on the opening paren of
> (defun dired-get-filename ...
> Only part of the defun is selected.

Hmm... I can't reproduce it here (using "emacs -Q"):
- after opening dired.el I first have to search for "defun dired-get-filename"
  because it's not immediately visible.
- once it's in sight, if I double-click on it, the whole expression is
  selected&highlighted, point is moved to right after the matching close
  paren, and as a consequence the window is redrawn to show the end of
  the expression (since the beginning is now outside of the window).

I never use this feature, but I see the exact same behavior in
Emacs-24.3, so I assume it's the way it's always worked.

Can you reproduce the problem with "emacs -Q"?

> It seems to have been introduced by this commit:
> 44812aa45a823e344811f4f38966c3e5c9b5118f
> Author: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date:   Sun May 11 01:49:14 2014 -0400
>     * lisp/mouse.el: Use the normal toplevel loop while dragging.

Yes, it clearly the likely culprit.


        Stefan




This bug report was last modified 10 years and 360 days ago.

Previous Next


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