emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Macro that calls external program
@ 2019-03-10 22:37 Josh
  2019-03-11  7:46 ` Eric S Fraga
  2019-03-11 19:24 ` Ken Mankoff
  0 siblings, 2 replies; 7+ messages in thread
From: Josh @ 2019-03-10 22:37 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-11 20:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-10 22:37 Macro that calls external program Josh
2019-03-11  7:46 ` Eric S Fraga
2019-03-11 11:19   ` Josh
2019-03-11 19:03     ` Eric Abrahamsen
2019-03-11 20:48     ` John Kitchin
2019-03-11 19:24 ` Ken Mankoff
2019-03-11 13:28   ` Josh

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).