On Sun, Apr 18, 2021 at 07:13:50PM +0200, Alexander Burger wrote: > OK, thinking about it, I simplified it a little and will indeed use it > occasionally perhaps :) > > (de *F9 # Eval lines till mark "e" > (evCmd > (run (str (getText (jmpMark "e")))) ) ) > ... > So now I do "me" somewhere to set ark "e" and then "F9" from somewhere before > that position to execute the code.
No, thinking about it again, I will remove it frmm my ~/.pil/viprc :) It is useless, because 1. using the existing Ctrl-E on a few expressions, one after the other, is more interactive and intuitive than pressing many keys to select a region and then evaluate it with other keys. 2. it is easier to type ":l<enter>" to reload the whole file. In general I write sources to be 'load'able as a whole any time. 3. it wastes a precious function key. 4. it requires more rules to remember. Keep it simple! ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe