GNU bug report logs -
#36523
26.1; Image files are sometimes not found
Previous Next
Reported by: Markus Triska <triska <at> metalevel.at>
Date: Sat, 6 Jul 2019 12:17:02 UTC
Severity: normal
Found in version 26.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 36523-done <at> debbugs.gnu.org (full text, mbox):
> From: Markus Triska <triska <at> metalevel.at>
> Date: Sat, 06 Jul 2019 14:16:03 +0200
>
>
> Also, the info manual states in 39.17.2 Image Descriptors:
>
> ‘:file FILE’
> This says to load the image from file FILE. If FILE is not an
> absolute file name, it is expanded in ‘data-directory’.
>
> Hence, I expect the following form to insert right.xpm, which is located
> in images/custom/right.xpm relative to data-directory:
>
> (insert-image '(image :type xpm
> :file "images/custom/right.xpm"
> :ascent center))
>
> However, when I evaluate the form with C-x C-e, I see a blank rectangle
> at the end of the form instead of the intended image.
>
> In contrast, changing the form to:
>
> (insert-image '(image :type xpm
> :file "custom/right.xpm"
> :ascent center))
>
> inserts the intended image. Please note that "images/" had to be dropped
> from the path, even though it belongs to the path of the file.
>
> Could you please consider changing the documentation or implementation
> to match the observed behaviour?
Fixed, thanks.
This bug report was last modified 5 years and 318 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.