unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Alex Willisson <atw@mit.edu>
Cc: 16062@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	[thread overview]
Message-ID: <87pn7lnq6y.fsf@gnus.org> (raw)
In-Reply-To: <CABFqQ1tFaFQcxTU1B3=FQMgVueaw=uuMkKTHieS2zvqxyaHwrg@mail.gmail.com> (Alex Willisson's message of "Thu, 5 Dec 2013 16:27:35 -0500")

Alex Willisson <atw@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





  parent reply	other threads:[~2020-08-20 18:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 21:27 bug#16062: 24.3; Missing .png file gives poor error message when opened Alex Willisson
2013-12-06  7:18 ` Eli Zaretskii
2013-12-06  7:57   ` bug#16062: [SPAM] " Jarek Czekalski
2013-12-06  8:38     ` Eli Zaretskii
2013-12-06 21:05       ` Jarek Czekalski
2013-12-07  7:27         ` Eli Zaretskii
2013-12-13 21:58           ` Juri Linkov
2013-12-14  6:51             ` Eli Zaretskii
2020-08-20 18:10 ` Lars Ingebrigtsen [this message]
2020-08-20 18:29   ` Eli Zaretskii
2020-08-20 18:39     ` Lars Ingebrigtsen

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=87pn7lnq6y.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16062@debbugs.gnu.org \
    --cc=atw@mit.edu \
    /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).