GNU bug report logs -
#32978
26.1; newline-and-indent duplicates displayed image
Previous Next
Reported by: Markus Triska <triska <at> metalevel.at>
Date: Sun, 7 Oct 2018 21:20:02 UTC
Severity: normal
Tags: notabug
Found in version 26.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> In this case, I expect test.png to be displayed only in line 1.
>
> Not sure why you expected that. Perhaps you thought that forward-char
> will move to after the image?
Yes indeed! Since a single forward-char moves over the image when used
interactively, I got the impression that the image is only a single
character. From your code example, I see that this is not the case!
I think a very good solution would be to document the return value of
insert-image-file, i.e., to add to its description a statement such as:
Returns list of absolute file name and number of characters
inserted.
What do you think? Thank you very much for looking into this!
All the best,
Markus
This bug report was last modified 6 years and 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.