From mboxrd@z Thu Jan 1 00:00:00 1970 From: Garrido Xavier Subject: Re: Makefile to export to html/pdf using emacsclient Date: Wed, 09 Oct 2013 17:59:17 +0200 Message-ID: <52557D55.10501@lal.in2p3.fr> References: <5254554A.8010806@lal.in2p3.fr> <87hacqikbz.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTwAV-0002e6-0J for emacs-orgmode@gnu.org; Wed, 09 Oct 2013 11:59:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTwAQ-0003oo-4l for emacs-orgmode@gnu.org; Wed, 09 Oct 2013 11:59:22 -0400 Received: from smtp1.lal.in2p3.fr ([134.158.88.100]:46530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTwAP-0003of-UL for emacs-orgmode@gnu.org; Wed, 09 Oct 2013 11:59:18 -0400 In-Reply-To: <87hacqikbz.fsf@alphaville.bos.redhat.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos , emacs-orgmode@gnu.org Cc: mylesenglish@gmail.com Le 09/10/2013 16:34, Nick Dokos a =E9crit : > Garrido Xavier writes: > >> Dear orgers, >> >> Sometimes ago Eric Schulte posted a Makefile to run the exporter in a >> asynchronous way (see >> http://lists.gnu.org/archive/html/emacs-orgmode/2012-11/msg00788.html)= . I >> am wondering if it is possible to use =3Demacsclient=3D in order not t= o >> load any special init file but the current emacs settings. I have >> tried to setup something like that >> >> emacsclient -n --eval '(org-beamer-export-to-pdf)' talk.org >> >> but then I get stuck inside my current emacs frame waiting for an >> output file. Can someone helps me on this issue. Maybe the solution is >> trivial and I'm too noob to catch it. >> > > Shot in the dark: what happens if you use (org-beamer-export-to-pdf t)? The same, it is still waiting for an output file. Following Myles answer I get something almost working by doing emacsclient -n --eval '(progn (find-file=20 "talk.org")(org-beamer-export-to-pdf))' It switches the buffer to the "talk.org" in my current emacs frame but=20 it is almost working. Xavier > -- > Nick > > --=20 | |__ GARRIDO Xavier Laboratoire de l'Acc=E9l=E9rateur Lin=E9a= ire /\ NEMO Universit=E9 Paris-Sud 11 /--\ garrido@lal.in2p3.fr UMR 8607 | garrido@in2p3.fr Batiment 200 |__ +33 1.64.46.84.28 91898 Orsay Cedex, France