[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allowing point to be outside the window?

From: Eli Zaretskii
Subject: Re: Allowing point to be outside the window?
Date: Sun, 28 Nov 2021 10:03:38 +0200

> From: Po Lu <luangruo@yahoo.com>
> Date: Sun, 28 Nov 2021 11:07:57 +0800
> I wonder what would be involved in allowing point to be outside a
> window's visible area.

Two steps:

  1. Design the feature: how would it work? which operations would
     bring point back into the viewport, and which won't?  For
     example, a simple question: if point is outside of the viewport,
     what is the effect of C-f or C-n on display?

  2. Go over the display-related code and modify all the places which
     assume point is or must be visible.  Source files involved are
     xdisp.c, dispnew.c, window.c, fringe.c, probably also indent.c.

IMO, it's a large job if done cleanly.  Patches welcome.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]