From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21685: 25.0.50; [NS] Images not loading Date: Tue, 20 Oct 2015 19:14:54 +0300 Message-ID: <83bnbtfrep.fsf@gnu.org> References: <83r3kwx3bk.fsf@gnu.org> <1A58A649-8572-4477-9F36-8B4125C6882F@gmail.com> <837fmjgfq8.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445357860 31124 80.91.229.3 (20 Oct 2015 16:17:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 16:17:40 +0000 (UTC) Cc: 21685-done@debbugs.gnu.org To: Ivan Andrus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 20 18:17:27 2015 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 1ZoZbD-0006oW-2I for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Oct 2015 18:17:19 +0200 Original-Received: from localhost ([::1]:46933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoZbC-0005wh-GA for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Oct 2015 12:17:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoZa3-0004y5-4r for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 12:16:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoZZz-0007Wd-7O for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 12:16:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoZZz-0007WX-4C for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 12:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZoZZy-0003o4-NB for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 12:16:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Oct 2015 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 21685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 21685@debbugs.gnu.org, eliz@gnu.org, darthandrus@gmail.com Original-Received: via spool by 21685-done@debbugs.gnu.org id=D21685.144535771814573 (code D ref 21685); Tue, 20 Oct 2015 16:16:02 +0000 Original-Received: (at 21685-done) by debbugs.gnu.org; 20 Oct 2015 16:15:18 +0000 Original-Received: from localhost ([127.0.0.1]:58269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoZZC-0003mt-Ad for submit@debbugs.gnu.org; Tue, 20 Oct 2015 12:15:18 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:35128) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoZYo-0003ll-HJ for 21685-done@debbugs.gnu.org; Tue, 20 Oct 2015 12:15:12 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NWJ008000UKIF00@a-mtaout21.012.net.il> for 21685-done@debbugs.gnu.org; Tue, 20 Oct 2015 19:14:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWJ008BD14ODDA0@a-mtaout21.012.net.il>; Tue, 20 Oct 2015 19:14:49 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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: 208.118.235.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:107783 Archived-At: > Date: Tue, 20 Oct 2015 09:35:21 -0600 > From: Ivan Andrus > > On Mon, Oct 19, 2015 at 7:17 AM, Eli Zaretskii wrote: > >> From: Ivan Andrus > >> Date: Wed, 14 Oct 2015 23:09:28 -0600 > >> Cc: 21685@debbugs.gnu.org > >> > >> > On Oct 14, 2015, at 8:39 PM, Eli Zaretskii wrote: > >> > > >> >> Date: Wed, 14 Oct 2015 14:43:51 -0600 > >> >> From: Ivan Andrus > >> >> > >> >> Reading openp, I'm confused. The documentation says it returns -2 > >> >> if the file is remote, but it seems to actually be checking if > >> >> `find-file-name-handler' returns non-nil. In particular, images > >> >> return `image-file-handler', so at the very least the documentation > >> >> seems wrong. > >> > > >> > The practical meaning of "remote" in Emacs means exactly that: the > >> > file name has a non-nil handler. So the documentation is not wrong, > >> > just confusing if you don't keep this definition in mind. > >> > > >> > (I'm not saying that the above explains or invalidates your bug > >> > report.) > >> > >> I bisected and indeed 636736861688abe73cc5dd4181fdb66de3fd8cfd is the > >> first bad commit. > >> > >> However, I also noticed that emacs -Q does not exhibit the problem > >> because file-name-handler-alist does not have an entry for images. So I > >> must be loading some package whichs adds a handler for images. In fact, > >> if I turn off auto-image-file-mode, images appear as I expect. > > > > OK, thanks for the detailed analysis. I think I fixed this on master, > > please try. > > And thank you for fixing it! I tried to create a patch, but failed entirely. > > Your commit has fixed the problem for me in every case that I have tried so far. OK, thanks for testing. I'm therefore marking this bug done.