Hello,
I'm playing with manipulating some data in org-mode format from the
command line (OK, I admit that I'm playing with acme).
I'm wondering if there is a tool, or a way to call emacs, to do the
following:
- get some data in org-mode format from stdin
- nicely format the text
- spit the
Hi Alan,
Alan Schmitt alan.schm...@polytechnique.org writes:
Do you have tools or an approach using emacs (as a command line tool) to
suggest?
I would call emacs in batch mode, applying some Elisp code to fill
each element. See `org-forward-element' and `org-fill-paragraph'.
HTH,
--
Bastien b...@gnu.org writes:
Hi Alan,
Alan Schmitt alan.schm...@polytechnique.org writes:
Do you have tools or an approach using emacs (as a command line tool) to
suggest?
I would call emacs in batch mode, applying some Elisp code to fill
each element. See `org-forward-element' and
Alan Schmitt alan.schm...@polytechnique.org writes:
Here is the code, if it's helpful to others.
Thanks for sharing this!
--
Bastien