From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found Date: Tue, 1 Oct 2019 20:43:42 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005e133e0593de93a1" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="127283"; mail-complaints-to="usenet@blaine.gmane.org" To: 37576@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 01 21:56:49 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFOGO-000X0k-V8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2019 21:56:49 +0200 Original-Received: from localhost ([::1]:47606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFOGM-0004oH-Nq for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2019 15:56:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52214) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFO52-0001rq-Oe for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:45:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFO50-0005Ka-SO for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:45:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFO50-0005KJ-PR for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFO50-0008NM-KE for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Oct 2019 19:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37576 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156995905632092 (code B ref -1); Tue, 01 Oct 2019 19:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Oct 2019 19:44:16 +0000 Original-Received: from localhost ([127.0.0.1]:34852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFO4G-0008LY-8W for submit@debbugs.gnu.org; Tue, 01 Oct 2019 15:44:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFO4D-0008LP-JJ for submit@debbugs.gnu.org; Tue, 01 Oct 2019 15:44:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51792) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFO4B-0001Th-Ht for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFO49-0004f9-OY for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:44:11 -0400 Original-Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]:37492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFO49-0004dn-Ba for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 15:44:09 -0400 Original-Received: by mail-oi1-x22e.google.com with SMTP id i16so15554627oie.4 for ; Tue, 01 Oct 2019 12:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3nY2VGYJL6hLxLH84g0HiEmth2wQJjDGpXBoR8Jn0qc=; b=puTZOsS+6jxib0THMXgyv7XM11fln+dnPuy9cyPLgzpn03LT/nu+xSEupb//KLptiZ Z1icQVE1Im53lpasNOfCyfV9/MoRviHtelRsiLkmAXn7cEecmXC/P5WOCTEXj5d3XXCj YKWbslItIOzyq/I5OKKyqn8nTSCpSxs7xe1GGL9Rfsoy4EkZTpJMoHQkR/fdgG/M9Jes xKVSPL65EBdXSSHcg5swiOn9hwBuPsTSDSCKp1aYDKw3jtRTt53LgSoXFBIYzaOJXTDM iXBzykgHyVCN9qaaQ2k0ejO9ylKvs71xR//+q6f1OfHVuzmgPRqQ13e3lxr38hq7tKmf naeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3nY2VGYJL6hLxLH84g0HiEmth2wQJjDGpXBoR8Jn0qc=; b=sMZWplwrY9unY60GI0JdZ6r4zQzjoROA2mATOMljFD+j2gmdARfLA/zyOxyyCMuGEs EsFKweyqiLrQRVOWGJzVNuNPotYvlF4ScAEUxcHxJe/CZxmNJkkB4bSiAR8tx4q6hl27 J9w+9hUAijGvBpaeq5MsEpIM+esxgEgYfW5fpJfmnVZcSjKgvV/yxIgR3SBVHejqquPp XFY+Ur02p77EeczHjM3FQe6D9k9msUWXDnlBu7d1nwpau6UIYuInCdPtOw6tGuzRoZA4 d0GjaOiZ+I9wD8dPsKhNfPib02qJtPesK9GMGX/77c4I3yRWtQicd890LfSudT3IJGHK QsYQ== X-Gm-Message-State: APjAAAUE5CfQTtnrcfUc3FQRuFSEM7JBg9cFBNsQalgwBaZf6LjJjLoX YuxtaZ5csI0LswPxsmjBey2NgsJdYm5SF7UbWAe0XUFKjQk= X-Google-Smtp-Source: APXvYqyafIBVWFfobML5NNWhPDB1U4u7/G8r4ulPPeh8V/cP4gPCRmkt/GJLPi7eSNh/A+ivD5pPr/XgeRkrgrB/5oE= X-Received: by 2002:aca:5bd4:: with SMTP id p203mr4892170oib.153.1569959047990; Tue, 01 Oct 2019 12:44:07 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168084 Archived-At: --0000000000005e133e0593de93a1 Content-Type: text/plain; charset="UTF-8" In "emacs -Q", if the file "xyzzy" does not exist on the path, (call-process "xyzzy") now leaves this in the *Messages* buffer: forward-sexp: Searching for program: Permission denied, xyzzy In older versions the entry in the message buffer is a true statement: eval: Searching for program: No such file or directory, xyzzy (I also noticed debug-on-error is now 't' in "emacs -Q". This isn't in the NEWS, unless I missed it?) In GNU Emacs 27.0.50 (build 13, x86_64-w64-mingw32) of 2019-10-01 built on MACHINE Repository revision: cbc507779b8f56ce0abf596416e8e3847de88e10 Repository branch: buster Windowing system distributor 'Microsoft Corp.', version 10.0.18890 System Description: Microsoft Windows 10 Pro (v10.0.1903.18890.1000) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Entering debugger... Continuing. forward-sexp: Searching for program: Permission denied, xyzzy Configured using: 'configure --config-cache --with-modules --without-pop --without-dbus --without-gconf --without-gsettings 'CFLAGS=-O0 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile compile comint ansi-color ring cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 56362 12184) (symbols 48 6971 1) (strings 32 19777 2016) (string-bytes 1 617340) (vectors 16 11386) (vector-slots 8 141766 11600) (floats 8 25 161) (intervals 56 229 7) (buffers 992 12)) --0000000000005e133e0593de93a1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In "emacs -Q", if the file "xyzzy"= ; does not exist on the path, (call-process "xyzzy") now leaves t= his in the *Messages* buffer:

=C2=A0 forward-sexp: Sear= ching for program: Permission denied, xyzzy

In older versions t= he entry in the message buffer is a true statement:

=C2= =A0 eval: Searching for program: No such file or directory, xyzzy

(I= also noticed debug-on-error is now 't' in "emacs -Q". Th= is isn't in the NEWS, unless I missed it?)

In GNU Emacs 27.0.50 = (build 13, x86_64-w64-mingw32)
=C2=A0of 2019-10-01 built on MACHINE
R= epository revision: cbc507779b8f56ce0abf596416e8e3847de88e10
Repository = branch: buster
Windowing system distributor 'Microsoft Corp.', v= ersion 10.0.18890
System Description: Microsoft Windows 10 Pro (v10.0.19= 03.18890.1000)

Recent messages:
For information about GNU Emacs a= nd the GNU system, type C-h C-a.
Entering debugger...
Continuing.
= forward-sexp: Searching for program: Permission denied, xyzzy
Configured= using:
=C2=A0'configure --config-cache --with-modules --without-pop= --without-dbus
=C2=A0--without-gconf --without-gsettings 'CFLAGS=3D= -O0 -ggdb3''

Configured features:
XPM JPEG TIFF GIF PNG R= SVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCRO= LL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:=C2=A0 value of $LANG: ENG
=C2=A0 locale-coding-system: cp1252

= Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 toolti= p-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mo= de: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2= =A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cu= rsor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-m= ode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
= =C2=A0 transient-mark-mode: t

Load-path shadows:
None found.
<= br>Features:
(shadow sort mail-extr emacsbug message rmc puny dired dire= d-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg= epg-config
gnus-util rmail rmail-loaddefs text-property-search time-dat= e subr-x seq
byte-opt gv bytecomp byte-compile compile comint ansi-color= ring cconv
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev = gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-pr= svr
mail-utils help-fns radix-tree cl-print debug backtrace help-modeeasymenu find-func cl-loaddefs cl-lib tooltip eldoc electric uniquify
e= diff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table
ter= m/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
re= gexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
l= isp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
sele= ct scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tt= y-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese = tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek = romanian slovak czech european ethiopic indian cyrillic
chinese composit= e charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbr= ev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-fac= e macroexp files text-properties overlay sha1 md5
base64 format env code= -pages mule custom widget hashtable-print-readable
backquote threads w32= notify w32 lcms2 multi-tty make-network-process
emacs)

Memory inf= ormation:
((conses 16 56362 12184)
=C2=A0(symbols 48 6971 1)
=C2= =A0(strings 32 19777 2016)
=C2=A0(string-bytes 1 617340)
=C2=A0(vecto= rs 16 11386)
=C2=A0(vector-slots 8 141766 11600)
=C2=A0(floats 8 25 1= 61)
=C2=A0(intervals 56 229 7)
=C2=A0(buffers 992 12))
--0000000000005e133e0593de93a1--