From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16062: 24.3; Missing .png file gives poor error message when opened Date: Thu, 20 Aug 2020 20:10:45 +0200 Message-ID: <87pn7lnq6y.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16605"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 16062@debbugs.gnu.org To: Alex Willisson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 20:11:19 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8p1z-0004D4-Sw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 20:11:19 +0200 Original-Received: from localhost ([::1]:59542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8p1y-00085J-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 14:11:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8p1i-0007wf-83 for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8p1h-0007tg-VS for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:11:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8p1h-00055u-Ph for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16062 X-GNU-PR-Package: emacs Original-Received: via spool by 16062-submit@debbugs.gnu.org id=B16062.159794706019575 (code B ref 16062); Thu, 20 Aug 2020 18:11:01 +0000 Original-Received: (at 16062) by debbugs.gnu.org; 20 Aug 2020 18:11:00 +0000 Original-Received: from localhost ([127.0.0.1]:43954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8p1g-00055e-Av for submit@debbugs.gnu.org; Thu, 20 Aug 2020 14:11:00 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:60682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8p1c-00055K-1Z for 16062@debbugs.gnu.org; Thu, 20 Aug 2020 14:10:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pU0N9vaZ9lRdu7Ju3wltAfvU4z6MY47fWEt0o2JVh30=; b=pPrCddSE+azVpQEg9kCwkIyonD SoPMj12C6sNY2FOJAVpNeipDi9HIicFw2GeKV3/VlmjQiqlfJUaWyoKz8GsUvI4Z8qL7dddc0S5N4 +b0QTGLGVWZUlF1/F0HZc7XaoCDE+jQux3E/1N1XNT9Snz0V0xnUshrxL2O3GfllcC0o=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8p1T-00088v-AX; Thu, 20 Aug 2020 20:10:49 +0200 X-Now-Playing: A Tribe Called Quest's _People's Instinctive Travels And The Paths Of Rhythm_: "Luck Of Lucien" In-Reply-To: (Alex Willisson's message of "Thu, 5 Dec 2013 16:27:35 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185743 Archived-At: Alex Willisson writes: > When I try to open a .png file which does not exist, I get the error > message "Cannot display image: (Cannot determine image type)" in the > minibuffer, instead of something more related to "File does not exist" > > Steps for reproduction: > > $ emacs -Q > > C-x C-f not_an_actual_file.png I've now fixed this for Emacs 28 -- it now says there's no image data present instead of the confusing error message about image types. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no