GNU bug report logs - #23079
25.0.92; Movement commands leave cursor in invisible line

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 21 Mar 2016 20:20:01 UTC

Severity: normal

Tags: notabug

Found in version 25.0.92

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 23079 <at> debbugs.gnu.org, jonas <at> bernoul.li
Subject: bug#23079: 25.0.92; Movement commands leave cursor in invisible line
Date: Mon, 21 Mar 2016 23:54:25 +0100
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

> That's normal: (get-pos-property <pos> 'invisible) returns nil in front
> of "333" but t in front of "555", so point adjustment will try to move
> point to right before "333" when we're in that invisible chunk.

BTW, we also discussed whether we could hide the newline "before the
first invisible lines", and don't hide the newline following the last
line to make invisible instead.  But we apparently can't do this because
(from "https://github.com/magit/magit/issues/2592"):

"e.g. the background color of headings of collapsed sections would not
be in affect all the way to the right edge of the window anymore"

and other drawbacks.

Michael.




This bug report was last modified 4 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.