From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#25949: 26.0.50;
process-file fails when visiting a file with a quoted file name
Date: Fri, 03 Mar 2017 16:37:32 +0000
Message-ID:
References:
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=94eb2c19309c2f88bc0549d62aa6
X-Trace: blaine.gmane.org 1488559140 25958 195.159.176.226 (3 Mar 2017 16:39:00 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 3 Mar 2017 16:39:00 +0000 (UTC)
To: 25949@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 17:38:55 2017
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
by blaine.gmane.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1cjqEI-0006KQ-UC
for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Mar 2017 17:38:55 +0100
Original-Received: from localhost ([::1]:58992 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1cjqEP-0002SJ-1j
for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Mar 2017 11:39:01 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33799)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1cjqDV-0001mT-B5
for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 11:38:06 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1cjqDS-0004uH-7Z
for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 11:38:05 -0500
Original-Received: from debbugs.gnu.org ([208.118.235.43]:40469)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1cjqDS-0004uD-4I
for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 11:38:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1cjqDR-00039d-P0
for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 11:38:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 03 Mar 2017 16:38:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 25949
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
Original-Received: via spool by 25949-submit@debbugs.gnu.org id=B25949.148855907312110
(code B ref 25949); Fri, 03 Mar 2017 16:38:01 +0000
Original-Received: (at 25949) by debbugs.gnu.org; 3 Mar 2017 16:37:53 +0000
Original-Received: from localhost ([127.0.0.1]:38668 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1cjqDJ-00039G-1h
for submit@debbugs.gnu.org; Fri, 03 Mar 2017 11:37:53 -0500
Original-Received: from mail-pg0-f47.google.com ([74.125.83.47]:35677)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1cjqDF-000391-3k
for 25949@debbugs.gnu.org; Fri, 03 Mar 2017 11:37:49 -0500
Original-Received: by mail-pg0-f47.google.com with SMTP id b129so45599422pgc.2
for <25949@debbugs.gnu.org>; Fri, 03 Mar 2017 08:37:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=/D6QNeEaKZfrtkSw0VdcwWkisiLgw9QUYVO64f/f6Jc=;
b=vDA+K12P2VroEU52Dt7mN9TRkncd3+HvUdQOlip+Oov3oF+fvMzZuIE6xIS2UE4iyk
94Dw91R5XtB0DXSQu18k3y3uOVbCGPcJz3ZhjfDDW8B3PqpVS1lutOURQU/7//7g1d4n
A+uLTwcv/tiMng7o8X2tfQxLyP+SbaTKZ1Qek96hu4qR3Yyk7WiwSMsvYCB6KqcErK3V
qGjqa6V/PhdqTeJMPQBDDBXapwbZ95l5l5l2sSjFaoQdW6dUdM+yzqxqU+dnDzCdnsiZ
drOF4InWXWee9WfHYD6LPdXs3IIgMF3AJZFqRxLicy3rpyj9/HpK5pLoIGlUMzqqHKX0
LGWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=/D6QNeEaKZfrtkSw0VdcwWkisiLgw9QUYVO64f/f6Jc=;
b=bP0aZTPHsx5cTmQELjBSkOWedYGAZ14H6v/OLXA08hRwatDjtU+FJcJRhUbX/ET9uj
EeYokHxHjkqsIVJNqZ27c9MuNvYMvIbNCwAVGSzC749yCHiKUIATS6FJlRNN1G4IiPqg
KRrN8JQGEvMwANKUV+qXKgTYpv/4FD4QT7FX7g5VZryuP9FePbj0YJk9wsNLTypdf1Rn
htvpTroKki6m0+qHZNNZtQtYKC1m2rV/f5Z4gy2uDsoQAHiF3eyhtJnSxMlYRULxoots
xWftgssc2fRNJzZW3Y+phLySUqvhhZ6RXbyFnR21hqKWcRU2Xw9AYIjtf1fSfgSL3PNX
/wJg==
X-Gm-Message-State: AMke39lWFOptDixNBbqVLbcMUu0vqkaMge5auv+tIGh3x85SXosEB3db1vbwsk05jdDS41qddedHmvhuLhysVw==
X-Received: by 10.99.110.138 with SMTP id j132mr4351630pgc.217.1488559063138;
Fri, 03 Mar 2017 08:37:43 -0800 (PST)
In-Reply-To:
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: 208.118.235.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:130115
Archived-At:
--94eb2c19309c2f88bc0549d62aa6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Philipp Stephani schrieb am Fr., 3. M=C3=A4rz 2017 =
um
14:41 Uhr:
>
> emacs -Q
> C-x C-f /:/tmp/foobar.txt (it doesn't matter whether the file exists)
> M-: (process-file "true")
>
> will result in an error
>
> Debugger entered--Lisp error: (file-missing "Setting current directory"
> "No such file or directory" "/:/tmp/")
> call-process("true" nil nil nil)
> apply(call-process "true" nil nil nil nil)
> process-file("true" nil nil nil)
> apply(process-file ("true" nil nil nil))
> file-name-non-special(process-file "true" nil nil nil)
> apply(file-name-non-special process-file "true" nil nil nil nil)
> process-file("true" nil nil nil)
> apply(process-file ("true" nil nil nil))
> tramp-run-real-handler(process-file ("true" nil nil nil))
> tramp-file-name-handler(process-file "true" nil nil nil)
> apply(tramp-file-name-handler process-file "true" nil nil nil nil)
> process-file("true")
> eval((process-file "true") nil)
> eval-expression((process-file "true") nil)
> funcall-interactively(eval-expression (process-file "true") nil)
> call-interactively(eval-expression nil nil)
> command-execute(eval-expression)
>
The same issue can be triggered simply with
(let ((default-directory "/:/")) (process-file "true"))
--94eb2c19309c2f88bc0549d62aa6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
emacs -Q
C-x C-f /:/tmp/foobar.txt (it doesn't matter whether the file exists)
M-: (process-file "true")
will result in an error
Debugger entered--Lisp error: (file-missing "Setting current directory=
" "No such file or directory" "/:/tmp/")
=C2=A0 call-process("true" nil nil nil)
=C2=A0 apply(call-process "true" nil nil nil nil)
=C2=A0 process-file("true" nil nil nil)
=C2=A0 apply(process-file ("true" nil nil nil))
=C2=A0 file-name-non-special(process-file "true" nil nil nil)
=C2=A0 apply(file-name-non-special process-file "true" nil nil ni=
l nil)
=C2=A0 process-file("true" nil nil nil)
=C2=A0 apply(process-file ("true" nil nil nil))
=C2=A0 tramp-run-real-handler(process-file ("true" nil nil nil))<=
br class=3D"gmail_msg">
=C2=A0 tramp-file-name-handler(process-file "true" nil nil nil)
=C2=A0 apply(tramp-file-name-handler process-file "true" nil nil =
nil nil)
=C2=A0 process-file("true")
=C2=A0 eval((process-file "true") nil)
=C2=A0 eval-expression((process-file "true") nil)
=C2=A0 funcall-interactively(eval-expression (process-file "true"=
) nil)
=C2=A0 call-interactively(eval-expression nil nil)
=C2=A0 command-execute(eval-expression)
The same issue can be triggered simply with
=
(let ((default-directory "/:/")) (process-fil=
e "true"))
--94eb2c19309c2f88bc0549d62aa6--