[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs build command for org-files
From: |
Stefan Nobis |
Subject: |
Re: emacs build command for org-files |
Date: |
Mon, 27 Jan 2020 09:16:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) |
John Kitchin <address@hidden> writes:
> Hi everyone,
> This is only semi-on-topic. I am looking for something like M-x compile for
> my org-files, but I don't want it to necessarily use Makefiles. I am
> looking for suggestions of existing solutions to this, or thoughts on how
> to implement this.
This may not be the solution you are looking for, but maybe a good
source of ideas:
https://github.com/doublep/eldev
Another idea: Just use a (configurable) function name or source block
name to look for in a document. Then some magic function (say
org-compile-document) can look for a custom function/block inside the
document (e.g. look for a marked source block) and execute it, if
found. If no custom function/block is found, some default action will
be executed (e.g. ask user what to do, run pre-configured default
export action etc.).
--
Until the next mail...,
Stefan.
Re: emacs build command for org-files,
Stefan Nobis <=
Re: emacs build command for org-files, Neil Jerram, 2020/01/27