From: Eli Zaretskii <eliz@gnu.org>
To: Justin Burkett <justin@burkett.cc>
Cc: emacs-devel@gnu.org
Subject: Re: Patch for beginning-of-visual-line and end-of-visual-line
Date: Fri, 11 Aug 2017 21:41:40 +0300 [thread overview]
Message-ID: <83inhuq74r.fsf@gnu.org> (raw)
In-Reply-To: <CAF5dqNJbePryAuEe5_cZDHQnN=YRpb2ziUDY0oGtGzepnVQOEg@mail.gmail.com> (message from Justin Burkett on Fri, 11 Aug 2017 13:24:54 -0400)
> From: Justin Burkett <justin@burkett.cc>
> 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.
next prev parent reply other threads:[~2017-08-11 18:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 17:24 Patch for beginning-of-visual-line and end-of-visual-line Justin Burkett
2017-08-11 18:41 ` Eli Zaretskii [this message]
2017-08-11 21:10 ` Justin Burkett
2017-08-12 6:35 ` Eli Zaretskii
2017-08-12 11:54 ` Justin Burkett
2017-08-12 12:13 ` Eli Zaretskii
2017-08-12 13:14 ` Justin Burkett
2017-08-12 13:18 ` Eli Zaretskii
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=83inhuq74r.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=justin@burkett.cc \
/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.