all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Dunn <dunni@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 22098@debbugs.gnu.org
Subject: bug#22098: 25.0.50; visual-line-mode and invisible text causes cursor to jump
Date: Sun, 06 Dec 2015 00:28:57 -0500	[thread overview]
Message-ID: <87fuzg87s6.fsf@gnu.org> (raw)
In-Reply-To: <83wpssdyyz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Dec 2015 05:42:44 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>
> I seem to be unable to reproduce this on my system.  Maybe I didn't
> understand the exact place where to put the invisible property.  What
> is the value of point there?
>

Move point to the start of logical line 19, then move point one visual
line up.  Set that character to be invisible, then move point back to
the start of logical line 19.  Re-position the window twice, then move
point up one visible line.

M-g M-g 19
C-p
C-M-: (add-text-properties (point) (1+ (point)) '(invisible t))
C-n
C-l C-l
C-p

> Also, is it really necessary to invoke the commands via M-x, or do you
> see the same problem when you use C-n, C-l, and C-p instead?
>

I try not to assume that everyone has the same key-bindings as me, so I
thought it might help to use the actual command names.  As far as I can
tell, it makes no difference.

> Finally, your build is slightly outdated, so perhaps see if the
> problem persists with the current emacs-25 branch.
>
> Thanks.

I updated my build to the most recent version of the emacs-25 branch,
but the problem still persists.  I forgot to mention in my original
report that this seems similar to bug #17047
(https://lists.gnu.org/archive/html/bug-gnu-emacs/2014-03/msg00804.html).
It looks like the old bug addressed the problem with forward-char and
backward-char.  I've checked with next-line, but I've never seen it
happen before.  I only ever see this problem with previous-line.

Thanks for your quick response.





  reply	other threads:[~2015-12-06  5:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05 20:47 bug#22098: 25.0.50; visual-line-mode and invisible text causes cursor to jump dunni
2015-12-06  3:42 ` Eli Zaretskii
2015-12-06  5:28   ` Ian Dunn [this message]
2015-12-06 17:34     ` Eli Zaretskii
2015-12-09  1:33       ` Ian Dunn
     [not found]         ` <83fuzbbimh.fsf@gnu.org>
2015-12-10  1:13           ` Ian Dunn
2015-12-10 16:40             ` 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=87fuzg87s6.fsf@gnu.org \
    --to=dunni@gnu.org \
    --cc=22098@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.