On Sat, 2017-02-25 at 09:15 +0000, Richard Shann wrote:
> you can put
I should have said "put at the beginning"
> 
> (while (d-PreviousMovement))
> 
> which will move to the first movement, avoiding the danger that one
> day
> you run your command with the cursor in the 10th movement, and don't
> notice that the earlier movements haven't been renumbered.

and a nice extra would be to put

(d-PushPosition)

at the start and 

(d-PopPosition)

at the end. Then the cursor will not move when executing the code - well
it will move back to where it started after it's done its stuff.

Richard


_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to