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>

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 78945 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, 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: Wed, 09 Jul 2025 09:51:22 +0300
>> @@ -9673,9 +9680,9 @@ display-buffer-override-next-command
>>                       ;; But don't remove immediately after
>>                       ;; adding the hook by the same command below.
>>                       (eq this-command command)
>> -                     ;; Don't exit on mouse down event
>> -                     ;; in anticipation of mouse release event.
>> -                     (memq 'down (event-modifiers last-input-event)))
>> +                     ;; Don't exit on mouse down event in anticipation
>> +                     ;; of mouse release or double click event.
>> +                     (mouse-event-p last-input-event))
>>                (funcall exitfun))))
>>      ;; Call post-function after the next command finishes (bug#49057).
>>      (add-hook 'post-command-hook postfun)
>
> LGTM.
>
> `help--read-key-sequence` combines it with a time-limit because we don't
> want `C-h k` to sit there indefinitely, but it doesn't seem needed here,
> indeed, since in most cases the override will have been
> disabled/consumed by an intervening `display-buffer` anyway.

Now pushed with docstring updates that describe this behavior.




This bug report was last modified 28 days ago.

Previous Next


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