all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 35899@debbugs.gnu.org, triska@metalevel.at
Subject: bug#35899: 26.1; move-beginning-of-line sometimes does not move to beginning of line
Date: Sun, 23 Jun 2019 12:31:56 -0400	[thread overview]
Message-ID: <87blyotg8z.fsf@gmail.com> (raw)
In-Reply-To: <83pnn4mh53.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 23 Jun 2019 18:54:32 +0300")

Eli Zaretskii <eliz@gnu.org> writes:
 
>> Hmm, something a bit funny here: M-x move-beginning-of-line and M-:
>> (move-beginning-of-line nil) go to the beginning of "def", but C-a
>> (which is bound to move-beginning-of-line) goes onto the image (same as
>> C-4 C-b).
>
> It doesn't go into the image, it stops at the first character covered
> by the display property.

Ah right, I misinterpreted the behaviour.

>> But neither of these behaviours seems to be "disregarding" the newlines
>> that the "image rests on", i.e., it's different from what happens
>> without the newlines:
>> 
>> (let ((img (create-image "splash.png")))
>>   (insert "abc")
>>   (insert-image img "foo bar baz")
>>   (insert "def"))
>
> I don't object to the proposed change of documentation, although I
> don't see how it makes the issue significantly more clear.  Point
> movement in the presence of images that conceal newlines is tricky to
> describe in any terms but those of how the display engine works.

Right, the proposed change just stops attempting to describe it at all
(and adds references to visual line movement, which solves the OP's
problem).






  reply	other threads:[~2019-06-23 16:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-25 13:31 bug#35899: 26.1; move-beginning-of-line sometimes does not move to beginning of line Markus Triska
2019-05-25 14:38 ` Eli Zaretskii
2019-06-21 10:05   ` Noam Postavsky
2019-06-21 12:30     ` Eli Zaretskii
2019-06-22 22:54       ` Noam Postavsky
2019-06-23 15:54         ` Eli Zaretskii
2019-06-23 16:31           ` Noam Postavsky [this message]
2020-08-21 13:09             ` Lars Ingebrigtsen

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=87blyotg8z.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=35899@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=triska@metalevel.at \
    /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.