GNU bug report logs - #52302
28.0.50; [PATCH] Overlay strings should not increment vpos

Previous Next

Package: emacs;

Reported by: dick.r.chiang <at> gmail.com

Date: Sun, 5 Dec 2021 18:09:02 UTC

Severity: normal

Tags: patch

Found in version 28.0.50

Fixed in version 28.1

Done: dick <dick.r.chiang <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 52302 <at> debbugs.gnu.org (full text, mbox):

From: dick <dick.r.chiang <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 52302 <at> debbugs.gnu.org
Subject: Re: bug#52302: 28.0.50; [PATCH] Overlay strings should not
 increment vpos
Date: Sun, 05 Dec 2021 17:10:05 -0500
> Are you using "invisible" here as in "text with the invisible
> property"?

Good question.  I'm also annoyed when comments use "invisible"
interchangeably.  I have come to refer to display prop strings as
"unvisible," so my bad.

> I see just one call to move_it_vertically_backward, not "as many as".

Two:

move_it_vertically (&it, unit - bottom_y); // unit - bottom_y is zero
move_it_by_lines (&it, 0); // that's the second one

> And the overall motivation is also not clear -- is it just to save us
> one call to move_it_vertically_backward?

I want to live in an xdisp world where calling move_it_vertically_backward(0)
once gets me to line start without exception.




This bug report was last modified 3 years and 172 days ago.

Previous Next


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