all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: dunni@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 05:42:44 +0200	[thread overview]
Message-ID: <83wpssdyyz.fsf@gnu.org> (raw)
In-Reply-To: <87610cipx7.fsf@gnu.org>

> From: dunni@gnu.org
> Date: Sat, 05 Dec 2015 15:47:00 -0500
> 
> emacs -Q output.txt
> M-x visual-line-mode
> ;; Scroll just after the long line of text in the middle of the screen,
> ;; then position the cursor at the first character at that visual line.
> C-M-: (add-text-properties (point) (1+ (point)) '(invisible t))
> next-line
> recenter-top-bottom
> previous-line
> 
> The cursor should jump to the top of the screen.  This isn't always the
> case, as it sometimes moves to the bottom.  It seems to only happen when
> the window needs to be repositioned.

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?

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?

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

Thanks.





  reply	other threads:[~2015-12-06  3:42 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 [this message]
2015-12-06  5:28   ` Ian Dunn
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=83wpssdyyz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22098@debbugs.gnu.org \
    --cc=dunni@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.