[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "... the window start at a meaningless point within a line."
From: |
Alan Mackenzie |
Subject: |
Re: "... the window start at a meaningless point within a line." |
Date: |
Fri, 16 Oct 2015 18:12:50 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hello, Eli.
On Fri, Oct 16, 2015 at 08:35:15PM +0300, Eli Zaretskii wrote:
> > Date: Fri, 16 Oct 2015 09:55:35 +0000
> > Cc: address@hidden
> > From: Alan Mackenzie <address@hidden>
> > B---WS-----------------A---L2-------------A2---L3---------\nC-------C2---
> > When Fvertical_motion runs, it first sets its struct it "it" to a BOL, then
> > possibly moves it to the appropriate column. Between these two actions,
> > maybe_move_to_exact_bol reseats `it' from an xdisp BOL to an exact BOL, or
> > sometimes from a common BOL to an earlier or later BOL.
> But why do you need to do that? IOW, what problem does
> maybe_move_to_exact_bol solve, and how that problem is related to what
> Fvertical_motion does?
> Perhaps start by explaining what problems you discovered in
> Fvertical_motion that required you to make those changes.
Without maybe_move_to_exact_bol, vertical-motion, when it lands near
the top of the window, leaves the cursor not at column 0 on the screen.
So, for example, with point at C, unmodified (vertical-motion -1) takes
us to A2, when we want to go to L3.
> Thanks.
--
Alan Mackenzie (Nuremberg, Germany).
- Re: "... the window start at a meaningless point within a line.", (continued)
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/15
- Re: "... the window start at a meaningless point within a line.", Alan Mackenzie, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Alan Mackenzie, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", David Kastrup, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/17
- Re: "... the window start at a meaningless point within a line.", David Kastrup, 2015/10/17
- Re: "... the window start at a meaningless point within a line.", Alan Mackenzie, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/16
- Re: "... the window start at a meaningless point within a line.",
Alan Mackenzie <=
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Alan Mackenzie, 2015/10/16
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/17
- Re: "... the window start at a meaningless point within a line.", Alan Mackenzie, 2015/10/17
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/17
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/17
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/17
- Re: "... the window start at a meaningless point within a line.", Alan Mackenzie, 2015/10/18
- Re: "... the window start at a meaningless point within a line.", Eli Zaretskii, 2015/10/18