GNU bug report logs - #16062
24.3; Missing .png file gives poor error message when opened

Previous Next

Package: emacs;

Reported by: Alex Willisson <atw <at> mit.edu>

Date: Thu, 5 Dec 2013 21:32:02 UTC

Severity: minor

Tags: fixed

Found in version 24.3

Fixed in version 28.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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alex Willisson <atw <at> mit.edu>
Cc: 16062 <at> debbugs.gnu.org
Subject: bug#16062: 24.3; Missing .png file gives poor error message when opened
Date: Thu, 20 Aug 2020 20:10:45 +0200
Alex Willisson <atw <at> mit.edu> writes:

> When I try to open a .png file which does not exist, I get the error
> message "Cannot display image: (Cannot determine image type)" in the
> minibuffer, instead of something more related to "File does not exist"
>
> Steps for reproduction:
>
> $ emacs -Q
>
> C-x C-f not_an_actual_file.png <return>

I've now fixed this for Emacs 28 -- it now says there's no image data
present instead of the confusing error message about image types.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 271 days ago.

Previous Next


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