GNU bug report logs - #67006
30.0.50; w32-shell-execute will freeze Emacs on Windows 10

Previous Next

Package: emacs;

Reported by: Eason Huang <aqua0210 <at> foxmail.com>

Date: Thu, 9 Nov 2023 02:44:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 67006 <at> debbugs.gnu.org
Subject: bug#67006: 30.0.50; w32-shell-execute will freeze Emacs on Windows 10
Date: Fri, 10 Nov 2023 09:19:48 +0200
> From: Eason Huang <aqua0210 <at> foxmail.com>
> Cc: 67006 <at> debbugs.gnu.org
> Date: Fri, 10 Nov 2023 09:58:17 +0800
> 
> > Also, what happens if you type
> >
> >   M-: (w32-shell-execute nil "~/.emacs.d/")
> 
> When I try `M-: (w32-shell-execute nil "~/.emacs.d/")`, it works as
> expected. the .emacs.d folder will shows in the Windows Explorer.

Then at least you have a workaround, since "open" is the default
operation for directories.

> I also tried to reproduce the issue on my other Windows machine with
> Windows 10 and Emacs 30.
> 
> At the fist time I tried it, every things is working as expected. I also
> can not reproduce the issue on that machine.
> 
> But after I installed the PowerToys  by
> `winget installMicrosoft.PowerToys`, and luanch the powertoys then I can
> reprodue the issue. Maybe the issue is related to PowerToys?
> 
> About the PowerToys: https://github.com/microsoft/PowerToys

I see that it includes "File Explorer add-ons", which could definitely
be the reason for what you see.

> But I uninstall the PowerToys, then restart that machine, the issue
> still existed.

It is possible that uninstalling PowerToys doesn't clean up the
Registry.

Anyway, I think this is not an Emacs bug, in which case we should
close it.




This bug report was last modified 1 year and 270 days ago.

Previous Next


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