(Re)generate: (find-bounded-intro) Source code: (find-eev "eev-intro.el" "find-bounded-intro") More intros: (find-eev-quick-intro) (find-eev-intro) (find-eval-intro) (find-eepitch-intro) This buffer is _temporary_ and _editable_. It is meant as both a tutorial and a sandbox. Note that you need to understand the concept of "prepared shells" quite well to be able to use this... see: (find-prepared-intro) Bad news: I've been using this feature very little, and I have not yet adapted the old, crappy docs to the new "intro" format... =\ So this is just a bunch of notes! Source code: (find-eev "eev-bounded.el") Obsolete related code: (find-eev "eev-langs.el") Old mentions to this: (find-TH "eev-article" "delimited-regions") http://anggtwu.net/eev-article.html#delimited-regionsDelimited ("bounded") regions
Try: #* # (eev-bounded) cd echo At: $PWD cd /tmp/ echo At: $PWD #* %* % (eelatex-bounded) Hello %*Defining new bounded functions
Try: (find-code-bounded 'eev-bounded 'eev "\n#*\n") (find-code-bounded 'eev-bounded 'eev 'ee-delimiter-hash) as usual, when we remove the "find-"s the generated code is executed instead of displayed.The default bounded function
...is stored in the variable `ee-bounded-function', and can be re-run with `M-x ee-bounded-function' (i.e., there's a function with the same name as the variable). I used to bind `f3' to that, but in modern Emacsen this is bound to a macro key: (find-enode "Basic Keyboard Macro" "<F3>") so you should do something like this, but for your favourite key: (define-key eev-mode-map [f3] 'ee-bounded-function)