From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#48177: 28.0.50; process-file doesn't correctly handle quoted file names for INFILE Date: Mon, 3 May 2021 00:04:43 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28971"; mail-complaints-to="usenet@ciao.gmane.io" To: 48177@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 03 00:06:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldKE7-0007Q1-EW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 00:06:11 +0200 Original-Received: from localhost ([::1]:33638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldKE6-0002bg-Hq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 18:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldKDz-0002aK-0c for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 18:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldKDy-0007ZV-P0 for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 18:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldKDy-0003ap-Gj for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 18:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 May 2021 22:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48177 X-GNU-PR-Package: emacs Original-Received: via spool by 48177-submit@debbugs.gnu.org id=B48177.161999310213782 (code B ref 48177); Sun, 02 May 2021 22:06:02 +0000 Original-Received: (at 48177) by debbugs.gnu.org; 2 May 2021 22:05:02 +0000 Original-Received: from localhost ([127.0.0.1]:45043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldKCz-0003aC-VV for submit@debbugs.gnu.org; Sun, 02 May 2021 18:05:02 -0400 Original-Received: from mail-oo1-f52.google.com ([209.85.161.52]:40855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldKCy-0003Zz-GG for 48177@debbugs.gnu.org; Sun, 02 May 2021 18:05:00 -0400 Original-Received: by mail-oo1-f52.google.com with SMTP id o202-20020a4a2cd30000b02901fcaada0306so675375ooo.7 for <48177@debbugs.gnu.org>; Sun, 02 May 2021 15:05:00 -0700 (PDT) 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=ZU1BR9lV2Kag7YcRsye/yBbrgivwjBpwR/8X2x229Cs=; b=OVckISbtb+vTkYMqc1pBnEoRWE0Mnf3jOzIJDI51Dps1Thnr9pn7VuWL474EcPwxjI xuUGysaXF1zD03CsQiFwLblwpEKkSKVU8n66+Og6r+Uf1eSFq64Ms04JU3tlDRZ10+yY hKLm4BXwXCzt5ZIgl+vnPThWAv5hH6TNATPdxo7PfSi8uyJUq8Hr8oh6MB23mEK4iHEn NFe+s3xedkGY8Dk7opQ78RuGnnh12AZX4tG236VLVS7lwaQ5uKUVwS0zrPRaY9qip9jY GnOjxEgUbEw9ElZsboA3gl08+MOHxaFfVagk0oGcTLwMdqVgoVbOZlNwht1u9fuzaZQR XH/Q== 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=ZU1BR9lV2Kag7YcRsye/yBbrgivwjBpwR/8X2x229Cs=; b=pbio5rxn6YzWUa/LoN3/uJDHVcRHwmy8GE3WxzZCWtYoNmNQ1AgBO6Et0PTPUNZWda 8gzlUnKNxafoRi2QdeysSwOGYEFFpLnMWwxzD0Cof/kuGeocbUnUNzJ4h4Jl4gWZFTzb f1XinJtFzht/VoML8YE88Ohn7vJFijDrPHn6BPYgWLPalwB5wQ2I0GsTPgtYwUYWHZdB HZXGytVDq38s/KUUA/Z+9kpRQoJbhT+Qsf6qEn1pLiK2kv8wOZuBRg+p/AUZ5p7iW9/1 ZSFtMpce04+mywW2SOXdy272Bs8+3EwJ/kgdGaN1DMqXIZw3tqCxELdEptn3bm6TVpfB QE+g== X-Gm-Message-State: AOAM533TQ3s1fLouVzY+7stPq7ogoAUT7IVGqRiM0BT7ZZ1FM8sbGxzI DXN3SMueDw8JQoaKYdz6d0UQKP6KNFntj7HfEQMt1v8PAs8= X-Google-Smtp-Source: ABdhPJwwekQkdkQ5iCfkxlMyRVeXZm7m2500YLIrHNKnVm7NyAtaK54lxAkIaMGE9Kwp9krUJk88gcosnw7qpIAA0is= X-Received: by 2002:a4a:625c:: with SMTP id y28mr9400482oog.45.1619993094735; Sun, 02 May 2021 15:04:54 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205458 Archived-At: Am So., 2. Mai 2021 um 23:53 Uhr schrieb Philipp Stephani : > > Am So., 2. Mai 2021 um 23:51 Uhr schrieb Philipp Stephani > : > > > > > > Evaluate something like > > > > (process-file "/:/bin/true" "/:/dev/null") > > > > This gives an error > > > > (file-missing "Opening process input file" "No such file or directory" "/:/dev/null") > > > > Other magic filenames for INFILE (such as "/ssh:localhost:/dev/null") > > work as expected. The docstring for `process-file' says that INFILE is > > handled by filename handlers, so I think this should work for quoted > > filenames as well. > > > > Same for > (process-file "/:/bin/true" nil '((:file "/:/dev/null") "/dev/null")) Other forms that I think should work, but fail: (let ((default-directory "/:/usr/")) (process-file "/:/bin/true" nil '(t "/:/dev/null"))) (let ((temporary-file-directory "/:/tmp/")) (process-file "/:/bin/true" nil '(t "/dev/null")))