GNU bug report logs - #30444
26.0.90; browse-url-emacs sets default-directory to "https://"

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Tue, 13 Feb 2018 12:53:02 UTC

Severity: normal

Found in version 26.0.90

Done: Nicolas Petton <nicolas <at> petton.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Petton <nicolas <at> petton.fr>
To: Damien Cassou <damien <at> cassou.me>, 30444 <at> debbugs.gnu.org
Subject: bug#30444: 26.0.90; browse-url-emacs sets default-directory to "https://"
Date: Tue, 13 Feb 2018 16:15:54 +0100
[Message part 1 (text/plain, inline)]
Damien Cassou <damien <at> cassou.me> writes:

> 1. emacs -Q
> 2. M-x browse-url-emacs RET https://gnu.org
> 3. C-h v default-directory
>
> Actual: "https://"
>
> Expected: a directory such as (1) Emacs' startup directory or (2) a
> temporary directory.

My guess is that "https://gnu.org/" should be the default directory in
this case.  For instance:

  M-x browse-url-emacs RET https://gnu.org/index.html
  C-h v default-directory
  https://gnu.org/

Which looks correct to me, so I'd say that the issue is that the
trailing / is omitted.

Cheers,
Nico
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 124 days ago.

Previous Next


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