GNU bug report logs - #22160
24.5; "M-x browse-url-emacs" on a 404 page

Previous Next

Package: emacs;

Reported by: Alex Kost <alezost <at> gmail.com>

Date: Sun, 13 Dec 2015 10:40:02 UTC

Severity: normal

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex Kost <alezost <at> gmail.com>
To: 22160 <at> debbugs.gnu.org
Subject: bug#22160: 24.5; "M-x browse-url-emacs" on a 404 page
Date: Sun, 13 Dec 2015 13:39:13 +0300
Hello, I've noticed an unhandled error when I tried the following:

1. emacs -Q
2. M-x browse-url-emacs RET http://hydra.gnu.org/build/12345

And the error is:

    find-file-noselect-1: Wrong type argument: arrayp, nil

As (file-truename buffer-file-name) fails when buffer-file-name is nil.

It would be good to have a more "friendly" error, like the one that
(url-insert-file-contents "http://hydra.gnu.org/build/12345") produces.

Thanks.

-- 
Alex




This bug report was last modified 9 years and 218 days ago.

Previous Next


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