GNU bug report logs - #41114
28.0.50; default-directory & buffer-file-name set to file:// URLs

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Wed, 6 May 2020 21:29:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 41114 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: bug#41114: 28.0.50; default-directory & buffer-file-name set to file:// URLs
Date: Sat, 12 Mar 2022 20:25:10 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi!

>> 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.
>
> 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.

Indeed, it is fixed.

> So I propose to close the bug.

Yes, I see Lars already did so and that's obviously fine with me.

Thanks,
  Tassilo




This bug report was last modified 3 years and 71 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.