[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:16:33 -0500 |
User-agent: |
mu4e 1.3.6; emacs 26.3 |
Neil Jerram <address@hidden> writes:
> On Sun, 26 Jan 2020 at 18:11, John Kitchin <address@hidden> wrote:
>
>> 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.
>>
>> Actually, if it was possible to get M-x compile to run an elisp function
>> instead of a make file, it might be all I need, but it looks like it runs
>> shell commands.
>>
>
> So how about typing "M-: <elisp>" instead of "M-x compile" ? Why involve
> other layers when Emacs can directly evaluate elisp?
It is just a reflection of how long some of the build blocks are. They
frequently let-bind variables and functions to achieve some particular
goal for the specific project. Since it is a one-time block, I don't
usually make it a function, and the code exists in a src block. "M-:"
isn't convenient for me in this scenario.
>
> Best wishes,
> Neil
--
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
Re: emacs build command for org-files, Stefan Nobis, 2020/01/27
Re: emacs build command for org-files, Neil Jerram, 2020/01/27
- Re: emacs build command for org-files,
John Kitchin <=