From: lad <lad@spiritcloud.org>
To: emacs-orgmode@gnu.org
Subject: org-mode html export background/foreground inconsistency
Date: Wed, 18 May 2016 13:32:39 -0700 [thread overview]
Message-ID: <1463603559.1341236.611901009.6797C077@webmail.messagingengine.com> (raw)
I attempted to follow this blog to enable a background html export on
org file save:
http://stephanus-volke.de/posts/2015/Dez/22/org-mode-live-preview-en/
I tried adding the following to the top of the org file:
# -*- after-save-hook: org-html-export-to-html;
org-export-in-background: t; -*-
by the way I also tried:
-*- after-save-hook: org-html-export-to-html;
org-export-in-background: t; -*-
I even tried the following which I thought would work since I'm setting
the optional ASYNC variable to true:
#-*- after-save-hook: (org-html-export-to-html t);
org-export-in-background: t; -*-
For each test I tried I quit emacs and reopened to org file fresh. I was
prompted to accept some security settings and chose "y" so the variable
org-export-in-background is set correctly. The funny thing is when I go
through (C-c C-e h o) the export goes to the background, otherwise when
I save the file it happens in the foreground (which freezes emacs for
some time). :(
Running:
Org-mode version 8.3.4 (8.3.4-50-g83e373-elpa)
GNU Emacs 25.1.50.1
I'm not sure if this is correct behavior? Thank you in advance for any
insight or suggestions you may have.
- lad
next reply other threads:[~2016-05-18 20:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 20:32 lad [this message]
2016-05-20 20:14 ` org-mode html export background/foreground inconsistency Nick Dokos
2016-05-20 21:28 ` lad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463603559.1341236.611901009.6797C077@webmail.messagingengine.com \
--to=lad@spiritcloud.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.