all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: 25949@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAArVCkQxVi7xCeRr9On5-M63DGJdp3EoqMavXLobkkVR0d210A@mail.gmail.com> (raw)
In-Reply-To: <wvr44lzawke4.fsf@a.muc.corp.google.com>

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

Philipp Stephani <p.stephani2@gmail.com> schrieb am Fr., 3. März 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"))

[-- Attachment #2: Type: text/html, Size: 2342 bytes --]

  reply	other threads:[~2017-03-03 16:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-03 13:38 bug#25949: 26.0.50; process-file fails when visiting a file with a quoted file name Philipp Stephani
2017-03-03 16:37 ` Philipp Stephani [this message]
2017-03-03 16:59 ` Philipp Stephani
2017-03-03 19:31   ` Michael Albinus
2017-04-04 12:35     ` Philipp Stephani

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=CAArVCkQxVi7xCeRr9On5-M63DGJdp3EoqMavXLobkkVR0d210A@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=25949@debbugs.gnu.org \
    /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.