[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for beginning-of-visual-line and end-of-visual-line
From: |
Eli Zaretskii |
Subject: |
Re: Patch for beginning-of-visual-line and end-of-visual-line |
Date: |
Sat, 12 Aug 2017 09:35:26 +0300 |
> From: Justin Burkett <address@hidden>
> Date: Fri, 11 Aug 2017 17:10:23 -0400
> Cc: address@hidden
>
> $ emacs -Q
> C-x b *test* RET
> asdf
> M-: (beginning-of-visual-line 2)
>
> point ends up at the beginning of the buffer for me. Note this doesn't
> happen with a final newline in the buffer.
Ah, that was the missing bit.
So I think this behavior is correct, perhaps we should describe this
special case in the doc string. This function must end up at the
beginning of a visual line, and in your case there's only one such
place. Note that (beginning-of-visual-line 1) and
(beginning-of-visual-line) all end up in the same place in this case.