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: Thu, 09 Dec 2004 00:06:49 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> I have tried (add-text-properties 6 11 '(rear-nonsticky t front-sticky t)).

As I've said you shouldn't take my examples as correct because I almost
never fiddle with stickiness.  So have you checked that it does what it is
supposed to do: I.e. insert a char at position 11 and another at position
6 and make sure that only the one at position 11 is visible.  As long as the
char inserted at position 11 is invisible or if the char inserted at
position 6 is visible, Emacs will feel compelled to accept 6 as
a legitimately desirable position.

> However, when the cursor move onto the beginning of the line 3 by C-p
> from line 4, (point) still returns 6. This makes my program broken.

I think you first have to understand that if your program doesn't accept
6 as an answer here, it's got a problem.  Have you tried again to move in
various directions in Emacs-21.3?  Has it always moved to 11?  If so, tell
me precisely what you tried, because you must have missed one case.


        Stefan




reply via email to

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