jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: pop_spot(0)


"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
...
>   if (m1 > m2)
>     .
>     .
>
> Note, only the relational operators ==, >=, etc are defined for
> user-marks.

Thanks for clarifying this! I was not aware of this usage.

Is there a way to check if two user marks are on the same line?
(This was occasionally convenient for me with the html parsing.)

Reading the docs I fear I do not understand the user-mark mechanics
completly, especially move_user_marks.

define fun1( m){
...
move_user_mark( m) % m= create_user_mark() would not change the m in calling
space
...
}

m= create_user_mark();
fun1( m);
goto_user_mark( m); % m redefined in fun1()

Is my understanding correct?
Thank you in advance.

-- Klaus












[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]