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
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 #43 received at 78945 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, alcor <at> tilde.club,
> 78945 <at> debbugs.gnu.org
> Date: Fri, 04 Jul 2025 09:42:07 +0300
>
> > Thanks, but how general is this fix?
>
> This fix is general unlike the first version that hard-coded mouse-drag-region.
>
> > What if some bindings change the command invoked as mouse-drag-region
> > in this case, and we have a different command "interfering"?
>
> Both commands (bound to down-mouse-1 and mouse-1) should be handled here,
> regardless of whether it's mouse-drag-region or anything else.
>
> > For that matter, could you please explain how exactly did
> > mouse-drag-region "get in the way" of the "C-x 4 4" feature? Because
> > I still don't understand the root cause of the problem, and the fix
> > you installed doesn't explain that to me. I therefore cannot
> > understand the implications of the fix, and IMO we should continue
> > discussing this until we have a complete understanding of both the
> > problem and its fix.
>
> 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
Sorry, it doesn't, not to me, probably because I don't understand well
enough what "C-x 4 4" does and how. So please talk me through the
code which implements "C-x 4 4" and explain how down-mouse-1 in the
middle defeated it. Without that, I cannot understand the fix and its
generality.
Thanks.
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.