[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16062: 24.3; Missing .png file gives poor error message when opened
From: |
Juri Linkov |
Subject: |
bug#16062: 24.3; Missing .png file gives poor error message when opened |
Date: |
Fri, 13 Dec 2013 23:58:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
> 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.