GNU bug report logs - #78945
30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file'

Previous Next

Package: emacs;

Reported by: Alcor <alcor <at> tilde.club>

Date: Wed, 2 Jul 2025 19:13:02 UTC

Severity: normal

Found in version 30.1

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #49 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
 text editors" <bug-gnu-emacs <at> gnu.org>
Cc: 78945 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, alcor <at> tilde.club
Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with
 `dired-mouse-find-file'
Date: Mon, 07 Jul 2025 09:39:49 +0300
>> Looking at 'C-h l' (view-lossage) explains everything:
>>
>>  C-x 5 5          ;; other-frame-prefix
>>  <down-mouse-1>   ;; mouse-drag-region
>>  <mouse-1>        ;; dired-mouse-find-file
>
> BTW, `help--read-key-sequence` faces the same problem (and tries to
> additionally handle the same issue for double-clicks).

Not sure how would be possible to handle double-clicks in this case:

  C-x 5 5                 ;; other-frame-prefix
  <down-mouse-1>          ;; mouse-drag-region
  <mouse-1>               ;; mouse-set-point
  <double-down-mouse-1>   ;; mouse-drag-region
  <double-mouse-1>        ;; mouse-set-point

`describe-key` uses

  (and (not (memq mouse-1-click-follows-link '(nil double)))
       (> (length raw) 0)
       (eq (car-safe (aref raw 0)) 'mouse-1)

But I'm afraid that not exiting on <mouse-1> in
`display-buffer-override-next-command` would be too error-prone.




This bug report was last modified today.

Previous Next


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