[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21685: 25.0.50; [NS] Images not loading
From: |
Ivan Andrus |
Subject: |
bug#21685: 25.0.50; [NS] Images not loading |
Date: |
Wed, 14 Oct 2015 23:09:28 -0600 |
> On Oct 14, 2015, at 8:39 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> Date: Wed, 14 Oct 2015 14:43:51 -0600
>> From: Ivan Andrus <darthandrus@gmail.com>
>>
>> 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.
-Ivan