From: Eli Zaretskii <eliz@gnu.org>
To: Juan Jose Garcia-Ripoll <juanjose.garcia.ripoll@csic.es>
Cc: 38526@debbugs.gnu.org
Subject: bug#38526: 26.3; w32-shell-execute fails inside Nextcloud folder
Date: Sun, 08 Dec 2019 19:08:43 +0200 [thread overview]
Message-ID: <8336dueodg.fsf@gnu.org> (raw)
In-Reply-To: <86blsihk3g.wl-juanjose.garcia.ripoll@csic.es> (message from Juan Jose Garcia-Ripoll on Sun, 08 Dec 2019 17:12:51 +0100)
> Date: Sun, 08 Dec 2019 17:12:51 +0100
> From: Juan Jose Garcia-Ripoll <juanjose.garcia.ripoll@csic.es>
> Cc: Juan Jose Garcia-Ripoll <juanjose.garcia.ripoll@csic.es>,
> 38526@debbugs.gnu.org
>
> I am trying to debug w32-shell-execute, but there are no useful error messages. I am using SumatraPDF, which works fine in all documents.
How is SumatraPDF configured on your system? On my system, here's how
I see the command invoked to open PDF files:
D:\usr\eli>assoc .pdf
.pdf=AcroExch.Document.11
D:\usr\eli>ftype AcroExch.Document.11
AcroExch.Document.11="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
And that quoted "%1" is the reason why file names with spaces will be
processed correctly. Maybe on your system the quotes are missing?
> To verify, I have done the same test using a Word document
> (w32-shell-execute "open" "c:\\Users\\juanj\\tmp\\Test document.docx")
> (w32-shell-execute "open" "c:\\Users\\juanj\\Nextcloud\\tmp\\Test document.docx")
> and the result is the same: both functions return 't but only the first one opens the document...
If the function returns t, it means it succeeded in launching the
requisite application. The problem, if it happens, is within the
application it launches.
Is the below of any help?
https://forum.sumatrapdfreader.org/t/space-in-file-names-paths/1555/5
next prev parent reply other threads:[~2019-12-08 17:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-08 11:04 bug#38526: 26.3; w32-shell-execute fails inside Nextcloud folder Juan Jose Garcia-Ripoll
2019-12-08 15:43 ` Eli Zaretskii
2019-12-08 16:12 ` Juan Jose Garcia-Ripoll
2019-12-08 17:08 ` Eli Zaretskii [this message]
2019-12-08 17:41 ` Juan Jose Garcia-Ripoll
2019-12-08 17:51 ` Eli Zaretskii
2019-12-09 16:36 ` Juan Jose Garcia-Ripoll
2019-12-09 17:22 ` Eli Zaretskii
2022-02-02 18:28 ` Lars Ingebrigtsen
2019-12-08 16:56 ` Noam Postavsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8336dueodg.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=38526@debbugs.gnu.org \
--cc=juanjose.garcia.ripoll@csic.es \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.