From mboxrd@z Thu Jan 1 00:00:00 1970 From: lad Subject: org-mode html export background/foreground inconsistency Date: Wed, 18 May 2016 13:32:39 -0700 Message-ID: <1463603559.1341236.611901009.6797C077@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b389E-0007pW-4N for emacs-orgmode@gnu.org; Wed, 18 May 2016 16:32:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3899-0000xi-NS for emacs-orgmode@gnu.org; Wed, 18 May 2016 16:32:52 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3897-0000wO-9V for emacs-orgmode@gnu.org; Wed, 18 May 2016 16:32:47 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2828520A94 for ; Wed, 18 May 2016 16:32:40 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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