unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Christoph Ruegge <chrueg@gmail.com>
Cc: 19769@debbugs.gnu.org
Subject: bug#19769: 25.0.50; Incorrect beginning of line in visual-line-mode
Date: Wed, 04 Feb 2015 18:01:01 +0200	[thread overview]
Message-ID: <83twz1fyyq.fsf@gnu.org> (raw)
In-Reply-To: <87bnl9d770.fsf@gmail.com>

> From: Christoph Ruegge <chrueg@gmail.com>
> Date: Wed, 04 Feb 2015 16:31:31 +0100
> 
> Steps to produce the problem:
> 
> 1) emacs -Q -fn Monospace

I see this with the default font as well.

> 2) In the scratch buffer, disable scroll-bar-mode and enable
> visual-line-mode.

I see this regardless of scroll-bar-mode.

> 3) Type, on a single line: 'aaa[...]aa bbbb cccc', where the number of 'a's is
> chosen such that
> - the 'b's appear at the end of the line,
> - the 'c's are wrapped to the next line by visual-line-mode,
> - one more 'a' would make the 'b's also wrap to the next line.
> 
> 4) Position the cursor after the 'c's and invoke beginning-of-visual-line.
> 
> Result: The cursor is at the first 'b', but should be at the first 'c'.

The problem is in vertical-motion (or its subroutines, I didn't yet
look deeper), and it's a regression in the emacs-24 branch wrt Emacs
24.3.  So we should fix it before the release.





  parent reply	other threads:[~2015-02-04 16:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 15:31 bug#19769: 25.0.50; Incorrect beginning of line in visual-line-mode Christoph Ruegge
2015-02-04 15:43 ` bug#19769: Christoph Ruegge
2015-02-04 16:01 ` Eli Zaretskii [this message]
2015-02-05 17:11   ` bug#19769: 25.0.50; Incorrect beginning of line in visual-line-mode Eli Zaretskii
2015-02-05 19:04     ` Christoph Ruegge
2015-02-05 19:19       ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83twz1fyyq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19769@debbugs.gnu.org \
    --cc=chrueg@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).