From: Markus Triska <triska@metalevel.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 32978@debbugs.gnu.org
Subject: bug#32978: 26.1; newline-and-indent duplicates displayed image
Date: Sun, 14 Oct 2018 22:40:50 +0200 [thread overview]
Message-ID: <87lg70mfcd.fsf@metalevel.at> (raw)
In-Reply-To: <83tvlotwz9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Oct 2018 17:38:02 +0300")
Eli Zaretskii <eliz@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
next prev parent reply other threads:[~2018-10-14 20:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-07 21:14 bug#32978: 26.1; newline-and-indent duplicates displayed image Markus Triska
2018-10-14 14:38 ` Eli Zaretskii
2018-10-14 20:40 ` Markus Triska [this message]
2018-10-15 2:33 ` Eli Zaretskii
2019-04-19 19:28 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lg70mfcd.fsf@metalevel.at \
--to=triska@metalevel.at \
--cc=32978@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.