reddit / emacs

Multi-line text interactive functions?

Ambitious-Ad8342 · 2022-04-12 21:13
Hi, I'm looking to create an interactive *form*, that fills out headers in an org-capture template. I don't want to "just" use the minibuffer, because it looks like a single line of text. I want to be able to fill in paragraphs of text within the minibuffer (or other kind of buffer), to be used interactively in the function. This way I can fill out a form in a multi-stage process. And it fills out an org file's headers, rather than e.g. a csv file if I used `form-mode`. Is this possible? Any alternatives that one might be able to recommend?
7890yuiop · 2022-04-12 21:42
I suspect you could employ any one of the numerous snippet/skeleton libraries (such as yasnippet) for that.
ieure · 2022-04-12 22:08
Agree, I was just going to suggest this.
akirakom · 2022-04-13 01:19
See the info manual on Autotyping.
Ambitious-Ad8342 · 2022-04-13 01:49
Thanks.