Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Emacs calling for all sorts of stuff #166

Open
ciolansteen opened this issue Jul 10, 2020 · 3 comments
Open

Background Emacs calling for all sorts of stuff #166

ciolansteen opened this issue Jul 10, 2020 · 3 comments

Comments

@ciolansteen
Copy link

ciolansteen commented Jul 10, 2020

Do You want this feature ?
If yes, the only simple way to implement it (that I see) is to call Emacs in background process…
If you are interested by, I have something that does that...

Originally posted by @sipi in #142 (comment)

Hi, I read this and yes, i really want this feature. Can you help me with the configuration? .

Billions of thanks!

@ciolansteen ciolansteen changed the title Emacs background calling for all sorts of stuff Background Emacs calling for all sorts of stuff Jul 10, 2020
@doncabreraphone
Copy link

doncabreraphone commented Jul 16, 2020

Yes please. Also, AGENDA view.

@sipi
Copy link
Member

sipi commented Jul 17, 2020

As usual, I'm pretty busy but I will look this week-end to give you what I've done in this way.
For example, for PDF export, I trigger the following command :

emacs -Q --batch' +
' --eval "(require \'org)"' +
' --eval \'(setq org-latex-pdf-process (quote ("lualatex --draftmode --interaction=nonstopmode    --output-directory=%%o %%f" "lualatex --draftmode --interaction=nonstopmode --output-directory=%%o %%f" "lualatex --interaction=nonstopmode -shell-escape --output-directory=%%o %%f")))\'' +
' --eval "(setq org-latex-listings \'minted)"' +
' --eval "(setq org-confirm-babel-evaluate nil)"' +
' --eval "(org-babel-do-load-languages \'org-babel-load-languages \'((plantuml . t)))"' +
' --eval "(setq org-plantuml-jar-path (expand-file-name \\"/opt/plantuml.jar\\"))"' +
' --visit="%s"'+
' --funcall %s;

@ciolansteen
Copy link
Author

It's been a harsh and full year and I completely forgot about this request.
Thanks a lot for this. I will try it out and soon as I can.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants