unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eason Huang <aqua0210@foxmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 67006@debbugs.gnu.org
Subject: bug#67006: 30.0.50; w32-shell-execute will freeze Emacs on Windows 10
Date: Fri, 10 Nov 2023 09:58:17 +0800	[thread overview]
Message-ID: <tencent_CF5E664ABE900C36BEC1A3D730369DE4D809@qq.com> (raw)
In-Reply-To: <83a5rmzq8h.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 Nov 2023 21:22:22 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> I cannot reproduce this.  I tried this on several Windows systems and
> several Emacs versions, including Windows 10 and Emacs 30, and I don't
> see the hang.  (I don't have a Windows 10 system with Emacs 30, so I
> tested there with an older version, but unless you are saying that
> this happens only with Emacs 30 and only on Windows 10, I don't think
> this matters.)

agree. actually this issue also happend on Emacs 29.2

I tested this version of Emacs 29:
http://mirrors.syringanetworks.net/gnu/emacs/windows/emacs-29/emacs-29.1_2.zip

> Tell me, does the directory "~/.emacs.d/" exist on that system?  If
> you type "C-x C-f ~/.e" and press TAB, do you see ".emacs.d" among the
> completion candidates?

Yes, I can confirm that the .emacs.d folder exist.

> Another thing to check is whether you customized your Windows system
> in a way that affects the "open" operation on directories.
>
> 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.

I also try `M-: (w32-shell-execute "open" "~/.emacs.d/init.el")`,
it aslo works as expected, the init.el will be open with the default
notepad editor.


Another infomation about this issue, may be it is related:

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

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


Best regard,

Eason Huang






  reply	other threads:[~2023-11-10  1:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09  2:35 bug#67006: 30.0.50; w32-shell-execute will freeze Emacs on Windows 10 Eason Huang
2023-11-09 19:22 ` Eli Zaretskii
2023-11-10  1:58   ` Eason Huang [this message]
2023-11-10  7:19     ` Eli Zaretskii
2023-11-10 23:28       ` Eason Huang
2023-11-11  7:12         ` Eli Zaretskii
2023-11-12  2:33         ` Eason Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_CF5E664ABE900C36BEC1A3D730369DE4D809@qq.com \
    --to=aqua0210@foxmail.com \
    --cc=67006@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).