unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 41114@debbugs.gnu.org, Lars Ingebrigtsen <larsi@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	[thread overview]
Message-ID: <87ee37otuv.fsf@gnu.org> (raw)
In-Reply-To: <878rtfpeyx.fsf@gmx.de>

Michael Albinus <michael.albinus@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





      parent reply	other threads:[~2022-03-12 19:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06 21:28 bug#41114: 28.0.50; default-directory & buffer-file-name set to file:// URLs Tassilo Horn
2020-05-06 21:52 ` Tassilo Horn
2022-03-12 11:50 ` Michael Albinus
2022-03-12 17:09   ` Lars Ingebrigtsen
2022-03-12 19:25   ` Tassilo Horn [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee37otuv.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=41114@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=michael.albinus@gmx.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).