emacs-orgmode
[Top][All Lists]
Advanced

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

Re: emacs build command for org-files


From: John Kitchin
Subject: Re: emacs build command for org-files
Date: Mon, 27 Jan 2020 08:33:01 -0500
User-agent: mu4e 1.3.6; emacs 26.3

Stefan Nobis <address@hidden> writes:

> 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

Thanks for this tip. This is the kind of thing I was hoping this thread
would unearth. This seems kind of like rake from ruby, where the build
scripts are written in the language you are building from. That is more
aligned with what I am trying to do here.

>
> 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.).

This is what I do now. I thought (hoped?) maybe someone else had worked
out something similar, and had a better idea.


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



reply via email to

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