[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21685: 25.0.50; [NS] Images not loading
From: |
Eli Zaretskii |
Subject: |
bug#21685: 25.0.50; [NS] Images not loading |
Date: |
Mon, 19 Oct 2015 16:17:19 +0300 |
> From: Ivan Andrus <darthandrus@gmail.com>
> Date: Wed, 14 Oct 2015 23:09:28 -0600
> Cc: 21685@debbugs.gnu.org
>
> > 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.
OK, thanks for the detailed analysis. I think I fixed this on master,
please try.