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: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 16062 <at> debbugs.gnu.org, jarekczek <at> poczta.onet.pl
Subject: bug#16062: 24.3; Missing .png file gives poor error message when opened
Date: Sat, 14 Dec 2013 08:51:46 +0200
> From: Juri Linkov <juri <at> jurta.org>
> Cc: Jarek Czekalski <jarekczek <at> poczta.onet.pl>,  16062 <at> debbugs.gnu.org
> Date: Fri, 13 Dec 2013 23:58:03 +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.

Or maybe image-mode could display another "(New file)" when it
discovers that the buffer is empty.




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

Previous Next


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