Hi Alex, thanks for your effort here, I can follow your reasoning, emulating Emacs produces a lot of commands , which is not exactly in the spirit of simplicity, and one can just adapt it's workflow instead of adding more commands. But maybe I can reuse your code anyway! Cheers Thorsten
Alexander Burger <a...@software-lab.de> schrieb am Mo., 19. Apr. 2021, 07:14: > 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 >