From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#16062: 24.3; Missing .png file gives poor error message when opened Date: Fri, 13 Dec 2013 23:58:03 +0200 Organization: JURTA Message-ID: <87lhzoyg3t.fsf@mail.jurta.org> References: <834n6m30rv.fsf@gnu.org> <52A18350.8090108@poczta.onet.pl> <83vbz21ihs.fsf@gnu.org> <52A23C0D.4030302@poczta.onet.pl> <834n6l15p7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386971952 4353 80.91.229.3 (13 Dec 2013 21:59:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2013 21:59:12 +0000 (UTC) Cc: 16062@debbugs.gnu.org, Jarek Czekalski To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 13 22:59:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VralR-0004LW-Ih for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 22:59:17 +0100 Original-Received: from localhost ([::1]:44933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VralQ-0006LS-Vr for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 16:59:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VralI-0006KA-NA for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 16:59:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VralC-0003Df-NA for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 16:59:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VralC-0003DW-Jh for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 16:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VralC-000128-Aw for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 16:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2013 21:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16062 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16062-submit@debbugs.gnu.org id=B16062.13869719233938 (code B ref 16062); Fri, 13 Dec 2013 21:59:02 +0000 Original-Received: (at 16062) by debbugs.gnu.org; 13 Dec 2013 21:58:43 +0000 Original-Received: from localhost ([127.0.0.1]:48918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vraks-00011M-Jm for submit@debbugs.gnu.org; Fri, 13 Dec 2013 16:58:43 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:36715 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrakp-00010z-FZ for 16062@debbugs.gnu.org; Fri, 13 Dec 2013 16:58:40 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 0ACF3258B9E936; Fri, 13 Dec 2013 13:58:37 -0800 (PST) In-Reply-To: <834n6l15p7.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Dec 2013 09:27:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81909 Archived-At: > 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.