emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Macro that calls external program


From: Josh
Subject: [O] Macro that calls external program
Date: Sun, 10 Mar 2019 15:37:52 -0700 (PDT)
User-agent: Alpine 2.21 (LRH 202 2017-01-01)

Hi,

I am new to emacs and orgmode. I spent the last couple days reading most of the docs before diving in, but I didn't see anywhere how I could have a macro that instead of replacing the macro with lisp code, calls an external program instead.

Something like:
#+MACRO: func   call /home/josh/mybinary $1

{{{func(Text Argument)}}}

and this would be setup to call an external program and the output of the program would replace the macro on export.

/home/josh/mybinary "Text Argument"

Thanks!

Josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]