* bug#23791: 25.1.50; w32-shell-execute hangs
@ 2016-06-18 8:27 Kazuhiro Ito
2016-06-18 8:48 ` Eli Zaretskii
2016-06-18 9:24 ` Eli Zaretskii
0 siblings, 2 replies; 6+ messages in thread
From: Kazuhiro Ito @ 2016-06-18 8:27 UTC (permalink / raw)
To: 23791
On MSYS2 64bit build from trunk and emacs-25 branch, emacs hangs when
w32-shell-execute is called with "open" operation (no CPU usage, but
not respond to C-g).
(w32-shell-execute "open" "D:/test.pdf")
The bevhavior seems to depend on target. For example, "a shortcut for
'Cygwin Terminal'" has no problem, but "cmd.exe" hangs emacs and
cmd.exe is not executed. Overmore, Cygwin build (both 32bit and
64bit) from the same source has no problem.
--
Kazuhiro Ito
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#23791: 25.1.50; w32-shell-execute hangs
2016-06-18 8:27 bug#23791: 25.1.50; w32-shell-execute hangs Kazuhiro Ito
@ 2016-06-18 8:48 ` Eli Zaretskii
2016-06-18 14:04 ` Óscar Fuentes
2016-06-18 9:24 ` Eli Zaretskii
1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-06-18 8:48 UTC (permalink / raw)
To: Kazuhiro Ito; +Cc: 23791
> Date: Sat, 18 Jun 2016 17:27:58 +0900
> From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
>
> On MSYS2 64bit build from trunk and emacs-25 branch, emacs hangs when
> w32-shell-execute is called with "open" operation (no CPU usage, but
> not respond to C-g).
>
> (w32-shell-execute "open" "D:/test.pdf")
I cannot reproduce this in a 32-bit build: I see no problem with
w32-shell-execute and PDF targets (or any other target I tried).
Can you step with a debugger into w32-shell-execute, and see where it
hangs?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#23791: 25.1.50; w32-shell-execute hangs
2016-06-18 8:27 bug#23791: 25.1.50; w32-shell-execute hangs Kazuhiro Ito
2016-06-18 8:48 ` Eli Zaretskii
@ 2016-06-18 9:24 ` Eli Zaretskii
2016-06-21 23:47 ` Kazuhiro Ito
1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-06-18 9:24 UTC (permalink / raw)
To: Kazuhiro Ito; +Cc: 23791
> Date: Sat, 18 Jun 2016 17:27:58 +0900
> From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
>
> On MSYS2 64bit build from trunk and emacs-25 branch
Can you show all the usual information about the affected build,
everything that's collected by 'report-emacs-bug'? It might be
important (and should be part of a bug report anyway).
Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#23791: 25.1.50; w32-shell-execute hangs
2016-06-18 8:48 ` Eli Zaretskii
@ 2016-06-18 14:04 ` Óscar Fuentes
2016-06-18 17:17 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Óscar Fuentes @ 2016-06-18 14:04 UTC (permalink / raw)
To: 23791
Eli Zaretskii <eliz@gnu.org> writes:
> I cannot reproduce this in a 32-bit build: I see no problem with
> w32-shell-execute and PDF targets (or any other target I tried).
I cannot reproduce in Emacs 25.1.50.1 x86_64-w64-mingw32 running on
Windows 8.1 64bits. The pdf opens correctly and trying to open a file
with an unregistered extension pops up the Windows dialog for choosing
an application for opening it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#23791: 25.1.50; w32-shell-execute hangs
2016-06-18 14:04 ` Óscar Fuentes
@ 2016-06-18 17:17 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2016-06-18 17:17 UTC (permalink / raw)
To: Óscar Fuentes; +Cc: 23791
> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Sat, 18 Jun 2016 16:04:37 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > I cannot reproduce this in a 32-bit build: I see no problem with
> > w32-shell-execute and PDF targets (or any other target I tried).
>
> I cannot reproduce in Emacs 25.1.50.1 x86_64-w64-mingw32 running on
> Windows 8.1 64bits. The pdf opens correctly and trying to open a file
> with an unregistered extension pops up the Windows dialog for choosing
> an application for opening it.
Thanks. I suspect the original problem has something to do with local
setup on the OP's system.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#23791: 25.1.50; w32-shell-execute hangs
2016-06-18 9:24 ` Eli Zaretskii
@ 2016-06-21 23:47 ` Kazuhiro Ito
0 siblings, 0 replies; 6+ messages in thread
From: Kazuhiro Ito @ 2016-06-21 23:47 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 23791-done
Sorry for insufficient infromation. And I noticed the problem is due
to my local patch. I mistook the result of patched trunk for emacs-25
branch which is not patched. The patch was disabled on Cygwin build
and did not affect.
I'm closing it. Sorry for my mistake.
--
Kazuhiro Ito
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-06-21 23:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-18 8:27 bug#23791: 25.1.50; w32-shell-execute hangs Kazuhiro Ito
2016-06-18 8:48 ` Eli Zaretskii
2016-06-18 14:04 ` Óscar Fuentes
2016-06-18 17:17 ` Eli Zaretskii
2016-06-18 9:24 ` Eli Zaretskii
2016-06-21 23:47 ` Kazuhiro Ito
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).