emacs-devel
[Top][All Lists]
Advanced

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

Re: invisible


From: Stefan Monnier
Subject: Re: invisible
Date: Thu, 29 Nov 2007 11:13:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> (1) Provide for disabling the point adjustment mechanism in
> scan_newline.  The disadvantage of this approach is that `point' may
> appear after rear-sticky invisible text and doing a self-insert there
> won't show the character.

This approach sounds also simply impossible to implement (at least not
without major surgery and/or big ugly hacks).

> (3) Use the rear-nonsticky property and live with the fact that
> insertions may occur on either end of the invisible text depending on
> whether you arrived at the corresponding screen position either by
> moving forwards or backwards.  As Stefan said we could ameliorate this
> when using ellipses.  However, what should `forward-char' do with
> invisible text replaced by an ellipis and `point' immediately before it:

> text^...text

> Should it go here

> text...^text

> or here

> text...t^ext

The first.  And it's already what it does.


        Stefan




reply via email to

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