From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: pseudo-async export? Date: Sun, 08 Jan 2017 21:31:21 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQPk8-0001k3-BK for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 21:31:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQPk5-0000Wk-9x for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 21:31:28 -0500 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:36086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQPk5-0000U2-6C for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 21:31:25 -0500 Received: by mail-qt0-x22d.google.com with SMTP id k15so354659579qtg.3 for ; Sun, 08 Jan 2017 18:31:23 -0800 (PST) Received: from Johns-MacBook-Air.local (c-67-171-67-30.hsd1.pa.comcast.net. [67.171.67.30]) by smtp.gmail.com with ESMTPSA id r131sm2707337qke.14.2017.01.08.18.31.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 08 Jan 2017 18:31:22 -0800 (PST) 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 Hi everyone, Today I used a after-save-hook to asynchronously export an org file and show an updated view in a doc-view buffer. The update was really slow though, because it takes a while to start up my emacs. I was wondering if it is possible to have a pseudo async export, e.g. to launch an emacs server and then send it messages to do the export of the file in the other process. Has any one seen anything work like this? At the command line it is doable with a named daemon and emacsclient I think. I feel like it should be possible through elisp too. thoughts? -- 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