Rudy’s OBTF Rudolf Adamkovič

Home / Emacs / TempEl


Learn

The templates are stored in tempel-path file(s) with the following syntax:

@startebnf
skinparam defaultFontName monospaced
templates = "'('", {MODE, "'-mode'", {"'('", NAME, {CONTENT}-, "')'"}-}-;
@endebnf
8a28d0d2-9afc-40fd-911b-ecf8754952ec.svg

where CONTENT is one of

Value Result Mnemonic
FORM Emacs Lisp computation †  
p placeholder placeholder
(s NAME) named placeholder stored
q quit placeholder quit
r active region \dagg region
(p LISP [NAME] [NO-INSERT]) computed/named placeholder placeholder
n newline character  
> indentation  

† Often a string literal.
\dagg If no active region exists, acts as q.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.