emacs-pretest-bug
[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: Wed, 08 Dec 2004 11:46:52 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> However, if the cursor is in the position indicated by "*", (point)
> returns *6*.
> 
>       ----
>       1234*
>      *1234
>       ----
> 
> I do believe this should result in 11.

I disagree.
Any value between 6 and 11 can be correct.  Which one is preferable depends
on the stickiness of the `invisible' text-property.  In your case the
property is rear-sticky, so in order for insertion of a char at point to
insert a visible char, point has to be 6, which is why Emacs chose to use
6 in your example.


        Stefan




reply via email to

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