unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jarek Czekalski <jarekczek@poczta.onet.pl>
To: 16062@debbugs.gnu.org
Subject: bug#16062: 24.3; Missing .png file gives poor error message when opened
Date: Fri, 06 Dec 2013 22:05:17 +0100	[thread overview]
Message-ID: <52A23C0D.4030302@poczta.onet.pl> (raw)
In-Reply-To: <83vbz21ihs.fsf@gnu.org>

W dniu 12/06/2013 09:38 AM, Eli Zaretskii pisze:
> Is it?  What if I come up with an Emacs mode that lets users _create_
> PNG files?

What I actually had in mind was that Emacs already does this guessing 
(what was the intention of opening a png file) and we don't want to 
change this process. But after we decided we want to display the 
graphics and before passing the filename to the graphic library, we 
should check if file exists.

If file does not exist - give the exact message or fallback to 
non-graphical mode. Both solutions would make it obvious, that the file 
does not exists. I guess that's the intention of Alex, who reported this.

Thanks
Jarek






  reply	other threads:[~2013-12-06 21:05 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 [this message]
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
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=52A23C0D.4030302@poczta.onet.pl \
    --to=jarekczek@poczta.onet.pl \
    --cc=16062@debbugs.gnu.org \
    /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).