[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Re: Jump Cursor exists (was Re: [zigzag] Re: Okay, I've figured out
- To: zigzag@xxxxxxxxxx
 
- Subject: Re: Jump Cursor exists (was Re: [zigzag] Re: Okay, I've figured out
 
- From: Mark-Jason Dominus <mjd@xxxxxxxxxx>
 
- Date: Fri, 06 Nov 1998 19:26:36 -0500
 
- In-reply-to: Your message of "Sat, 07 Nov 1998 01:37:14 +0900."             <3.0.3.32.19981107013714.00869100@xxxxxxxxxxxxxxxxxxx> 
 
- Reply-to: zigzag@xxxxxxxxxx
 
> Sez M-J D.:
> 
> >For example, you might like to have a function called
> >`cursor_jump' which you could use to jump the cursor to any specified
> >cell, but there isn't any such function in the current Zigzag.
> 
> Name of cell followed by G (left) or g (right).
The function invoked by `g' and `G' is not suitable for writing
programs, because it is not designed properly for that.  It should
accept a programmatic argument which identifies the cell to jump to;
but instead it examines the contents of the input buffer and jumps to
the cell it finds identified there, or to cell 0 if the buffer is
empty.  There is no useful way to use this function to jump to a
particular cell.
One of my patches addresses this problem by making `cursor_jump' more
generic, and changing the name of the old function to
`cursor_jump_input'.