unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 16062@debbugs.gnu.org, Jarek Czekalski <jarekczek@poczta.onet.pl>
Subject: bug#16062: 24.3; Missing .png file gives poor error message when opened
Date: Fri, 13 Dec 2013 23:58:03 +0200	[thread overview]
Message-ID: <87lhzoyg3t.fsf@mail.jurta.org> (raw)
In-Reply-To: <834n6l15p7.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Dec 2013 09:27:32 +0200")

> IOW, Emacs does the same in this case as when you type
>
>   C-x C-f non-existent-file.c RET
>
> In the latter case, you get an empty buffer that is in CC mode, and a
> message "(New file)" in the echo area.

In this case the echo area displays "Loading cc-langs...done",
but not "(New file)".

If we'll remove the message "Cannot display image: (Cannot
determine image type)" from image-mode.el, then it still will
display "Type C-c C-c to view the image as an image.",
but not "(New file)" (but it's still visible in the *Messages* buffer).

So the problem of overridden messages is general.  A possible solution
is to collect a batch of the latest messages and display them in the
multi-line echo area.





  reply	other threads:[~2013-12-13 21:58 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 [this message]
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=87lhzoyg3t.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=16062@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jarekczek@poczta.onet.pl \
    /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).