From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#67006: 30.0.50; w32-shell-execute will freeze Emacs on Windows 10 Date: Fri, 10 Nov 2023 09:58:17 +0800 Message-ID: References: <83a5rmzq8h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8693"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 67006@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 10 02:59:47 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r1GoE-00023D-Bd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Nov 2023 02:59:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1Gnu-0002Em-PA; Thu, 09 Nov 2023 20:59:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1Gnr-0002Cv-TY for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2023 20:59:23 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r1Gnr-0002mq-L3 for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2023 20:59:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1GoU-00057N-Kv for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2023 21:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Nov 2023 02:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67006 X-GNU-PR-Package: emacs Original-Received: via spool by 67006-submit@debbugs.gnu.org id=B67006.169958155719577 (code B ref 67006); Fri, 10 Nov 2023 02:00:02 +0000 Original-Received: (at 67006) by debbugs.gnu.org; 10 Nov 2023 01:59:17 +0000 Original-Received: from localhost ([127.0.0.1]:49221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1Gnk-00055g-Pt for submit@debbugs.gnu.org; Thu, 09 Nov 2023 20:59:17 -0500 Original-Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:45565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1Gng-00055N-Nr for 67006@debbugs.gnu.org; Thu, 09 Nov 2023 20:59:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1699581498; bh=T5vDbEB0blXzGFsGXLuvV2rHZrTEu4F23+Hmb2glOkY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=NVon72AAfYKz1fYknuBlK66A57tb7b0lYGHeLYBYBTwvZfMxB7/Gk6Mz1EfXlNRnG PUElACLxlR0Ni6vVXZBZ1CkOcOZHzmax+AY0P79Y4D/CGWZabsphQ86uk9SOxHPKvC eZ7nr2mYcx7D1ISbyyvgmnpvjlosXAfPylcLVb6E= Original-Received: from DESKTOP-VIHFE84 ([202.96.203.174]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id E911F6BF; Fri, 10 Nov 2023 09:58:17 +0800 X-QQ-mid: xmsmtpt1699581497tjhizvmwa X-QQ-XMAILINFO: NY/MPejODIJVViCAaSSGqL1nloHC3Xe1ieBKp59BRAVaC/janQgIHvoVMJKU0o 1+ojmHTYE9X7FgY/zVFlxRUbFJ0kvVHKAKlWnzmy6A2NvK2sy9wl02w13tQyD5xUXmmOcTEGtIdL Io9ZZGJAPEpluf3LKOW2pe05MmKKmsjsRMn2aN+9/NmvuIP/g1TyxCvAzXSBC47vR2pbxMvr/vOn f4t8UQgG1glhROzluOyVz4uv8utYKGOyVlduy6ZFK09chg7vHLgzjuB+fSvHogAi6EnU0OOcfhqe K6jNjduOB1KjSldMEuPtAZiFmuyNP1iqPoB9EnPa0t4V8HhGqLKefhYSoyqCwzT0fKqmBCXItiwL Uj7Sh//GjNrMl3oIIdqZn32ok9FBrSN5Y/nG0Yp7HOi1nwZSkNg3Vm4RdjGc/LPywMUCRZ6cEFag J5YRBekFT+gs1jcN1njwZNK9Wwi8OP+lm3g3HucA4fMo+UrSWIJHQAxv9442FHcCHJ5WOg5b4ere KIDNveFGlbUqbMc7LFHnaZ/XqFKRb6VuzbuaREL79ICkCFtnIL0YxhVJS5H87zaxJftx0TbEJ3L4 CtRwhjQzCNCw4r81ETW7PtWpoAd43Pcbu1Nodjwr+AE98FfS06XLigUX/5OGcGOKg9OZSMHNMam7 X+Kn1922ZrVbdvDSLal7zU7EX0J5X8ocWyYldSmx7zouv3d8eC6lz+kWTQ0Qw9fe/4rRYhjFuX7o jEYpSE5VbUiDlX4nI9n9CyTlFrPMT0biZGZ7k9pdU3w933Cd1vBnESfeOzft0etDn/JfcvkAtAaQ /qUh1fRl2UtDN+qu5ra74/YIxK0bUlO5OGU8E/9r X-QQ-XMRINFO: OD9hHCdaPRBwq3WW+NvGbIU= In-Reply-To: <83a5rmzq8h.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 Nov 2023 21:22:22 +0200") Original-Message-ID: <86jzqq74jq.fsf@foxmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274079 Eli Zaretskii 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