From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#41114: 28.0.50; default-directory & buffer-file-name set to file:// URLs Date: Sat, 12 Mar 2022 12:50:14 +0100 Message-ID: <878rtfpeyx.fsf@gmx.de> References: <87tv0swy6k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36157"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 41114@debbugs.gnu.org, Lars Ingebrigtsen To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 12 12:51:12 2022 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 1nT0HA-0009DR-8z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 12:51:12 +0100 Original-Received: from localhost ([::1]:42120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT0H8-00059s-TB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 06:51:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT0H1-00059g-3s for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 06:51:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT0H0-0002cO-RR for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 06:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nT0H0-0005Do-Jl for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 06:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Mar 2022 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41114 X-GNU-PR-Package: emacs Original-Received: via spool by 41114-submit@debbugs.gnu.org id=B41114.164708582520027 (code B ref 41114); Sat, 12 Mar 2022 11:51:02 +0000 Original-Received: (at 41114) by debbugs.gnu.org; 12 Mar 2022 11:50:25 +0000 Original-Received: from localhost ([127.0.0.1]:39347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT0GP-0005Cx-1Z for submit@debbugs.gnu.org; Sat, 12 Mar 2022 06:50:25 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:47425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT0GN-0005Ci-42 for 41114@debbugs.gnu.org; Sat, 12 Mar 2022 06:50:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1647085816; bh=K4PZJDT3OKhE0dPng9VSyKa/fPnKNEzKwy+zcZUkeGQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=dTQ+FBpsG9xA7GF+Z3RqZS85rrgfBT2K+1Jtn+hL9SIGN1tzyOwUFQJkYyEWXFPyj HpMMSZC/6oHEx11jHrMKQExpHl6SAuURvYPL8Ss+/FxJUZcoCxvdLUvTchMLFKSNIN Zzne2GwpVaM6hC/YGv7DrfiYh3OKEyggGfa1mlMA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.148.165]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MWAOQ-1nefLO1PXW-00XfaI; Sat, 12 Mar 2022 12:50:16 +0100 In-Reply-To: <87tv0swy6k.fsf@gnu.org> (Tassilo Horn's message of "Wed, 06 May 2020 23:28:19 +0200") X-Provags-ID: V03:K1:a+r3nPVC3Rg96PFQ8WEtY9tz6TQhEyftK5at98J9UTg/O8ef7PJ 3jh1F8Km7ytcRnKXVmgHJ2TyjSKPGIOHNCFuv7aUii3IwopaTHtK4/IRbCO4t+Fft58UjUP JInPumdER4/Ne/X/lgv2MEiJyfvX3pr8cP3Qo+q7JOMUixNW26SLcX+J43xVOBgHHA1+IGB vxwi4nviWX/bia2bOaXOg== X-UI-Out-Filterresults: notjunk:1;V03:K0:FJ88tbY6HHM=:ffvgRGUYfgflvQeXAKTrrC GxR1sNWjX0O++/U/4eFLXoRA7Ld4b13tNaeV9Aup1yPcUR0dCvxnhe/bBIMHmwLsit4UtRua4 CLW4pCL8ZJtLJQUQSZFjJwrN6bQyV28GczsN6cYzFiLe3wLqtoLGCJLP6yYx0q0biRL1ZMH7G ijenT/jTUlNdZ42FZfLko3rQH0uHAh6KyuMX6FWhaQyYeImXmkvqQ0D+wY9UO1c8bfssn900L +sbJ2GrFFBnq6iF2wD9K0Snf/I1ksSMjd3Vr/UN+pTvk5v4aeMu8eZlMjeA+dkWco/OaennIo jBM5kyxIyFB/IJXzhqozylj5otWh/onBFgKemH1wW7DhrdUAizGfPHvwdU9RvxhYMXmPlOj83 fhzSKcun6oDG2d0Ejf4lmdQQ7Y2d9Dvi57K6Dk+s2RlXEQVAHKA7zUfG6ajLEYj29VjD8tsS+ oP461keD6N+3woi6r3u36tTALH9zUG+RibT77Fp2JRrdOIoCK0LmUwmfaf6gKKUZd6z3R+PNw AIP/LYo01H2MLw8lmsRYUFCbNpvvD7ih4Si6lu/6ZWpGjhecy3QYWP8nQBEalIUoc4S5qCunq fu0tWRaXTdAs1RCuLnbzK9mxoks7/4IxwAy2/rCyhBrd1qleRWEHDXsRn3sAZZ9HpB8PUEQta eqkDga9e141w8BDXyeLzS27MRt9E4LNR8++629ipABCeRPYSempWSkqrzo+7NlnH+upM0Xcyv BZzIEPWuYa8s+W8EQqcW1BLCIyoNXwOeg4eul1k5nal1a7PskYgrZtbAvYiGOp368pDfyr0c 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:228248 Archived-At: Tassilo Horn writes: Hi Tassilo, > 1. emacs -Q > 2. (browse-url-emacs "file:///home/horn/.bashrc") ;; Adapt file name. > > The result of the procedure is that `buffer-file-name' is > "file:///home/horn/.bashrc" and `default-directory' is > "file:///home/horn/". > > According to the docs, both variables should be absolute file names, not > URLs. > > The problems with those URLs are at least that: > > - C-x C-f in that buffer will offer a completely broken initial > directory when querying for a file or directory. For me it is > ~/Repos/el/emacs/src/file:/home/horn/file:/home/horn/. > > - When call-process is called from that buffer it'll error that > file:///home/horn/ cannot be set as current directory. While the problem still exists in the emacs-28 branch, it seems to be fixed in master. Perhaps due to commit e06319b39d5, but I don't know. So I propose to close the bug. Best regards, Michael.