emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 11 Aug 2017 21:41:40 +0300

> From: Justin Burkett <address@hidden>
> Date: Fri, 11 Aug 2017 13:24:54 -0400
> 
> I found (what seems like) a bug in these two functions. The docstrings
> advertise that they should stop if they reach the beginning or end of
> buffer and they don't. As a test cast, try
> 
> (beginning-of-visual-line 2)
> 
> in a buffer with one line. According to the docstring, point should be
> at the end of the buffer, but it ends up at the beginning for me in
> Emacs 25.2.1.

I cannot reproduce what you see.  I created a buffer with one line,
and (beginning-of-visual-line 2) ends up at EOB for me, in both Emacs
25.2 and the current master.

Did you try this in "emacs -Q"?  If not, some of your customizations
could be the reason for the behavior you see.

Or maybe you should describe your recipe in more detail.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]