Eli Zaretskii writes: >> However, the documentation of move-beginning-of-line includes: >> >> (If there’s an image in the line, this disregards newlines >> which are part of the text that the image rests on.) >> >> Hence, I expect this to move to position 1. For comparison, when I press >> C-a, it does move to position 1, as expected. > > "the text that the image rests on" refers to the text which is > "covered" by the display property, not the newlines in the binary data > that constitutes the image file's data. If I create an image which rests on some newlines like this: (let ((img (create-image "bug-35899-hello.png"))) (insert "abc") (insert-image img "foo\nbar\nbaz") (insert "def")) Then with point after "def", move-beginning-of-line stops "inside" the image. And I don't see anything in its code which would allow it to skip the image. Isn't this just a doc bug?