jed-users mailing list

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

Re: how to remember last editing point?


Dear Ulli,

On 10.08.07, Ulli Horlacher wrote:

> It would be nice to be able to return immediatelly to the last editing
> point, but I cannot find a corresponding function or variable.

I currently use the workaround to undo and redo the last change, this resets
the point to the position of the last edit.
You could even bind this to a key like e.g. ::

   setkey("call(\"undo\"); redo()", "^KZ");


> I could write such a return_to_last_point() function, if there would be a
> enter_key_hook : a hook that is called after *any* key input. But this is
> missing, too.

Actually, there are "*_key_hooks". Have a look at Help>Browse_Docs>hooks
for more details and see e.g.  http://jedmodes.sf.net/cuamark/) or
wmark.sl for a usage example.

Guenter



--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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