From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Example of Make file for Org Mode LaTeX to pdf Date: Mon, 07 Mar 2016 17:10:50 +0100 Message-ID: <87vb4yqned.fsf@hornfels.zedat.fu-berlin.de> References: <4A383BD1-2B7C-4AF3-909E-5D1561B1F933@airmail.net> <87r3fn4frl.fsf@ucl.ac.uk> <87twkism4d.fsf@hornfels.zedat.fu-berlin.de> <87egbm71ho.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acxkf-0006Vb-8k for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 11:11:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acxkb-0004ct-U3 for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 11:11:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:36763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acxkb-0004c4-NH for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 11:11:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1acxkW-0000RH-1H for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 17:11:12 +0100 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2016 17:11:12 +0100 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2016 17:11:12 +0100 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: emacs-orgmode@gnu.org Eric S Fraga writes: > On Monday, 7 Mar 2016 at 09:55, Loris Bennett wrote: > > [...] > >> Would you be able to share what you load in custom.el and esf-org.el, or >> a least explain what needs to be done? > > My custom.el is the emacs customisations (for variables and faces that > usually ends up in your .emacs) and esf-org.el is my full org > initialisation which is rather large and convoluted. There is nothing > in either of those that should help solve the problem you are > having... but, then again, I'm not sure why you are having the problem > you encounter! > > Do you get the same backtrace with -Q as in the previous post? Apart from the Debian gubbins, yes. However, I seem to have solved the problem. With the following ~/.emacs_minimal (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) I get: $ emacs /home/loris/org/gtd.org -Q -batch --load ~/.emacs_minmal -eval '(org-icalendar-export-to-ics))' --kill Symbol's value as variable is void: org-agenda-default-appointment-duration However, with ~/.emacs_minimal as (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (org-agenda-to-appt) I get $ emacs /home/loris/org/gtd.org -Q -batch --load ~/.emacs_minmal -eval '(org-icalendar-export-to-ics))' --kill No event to add Saving file /home/loris/org/gtd.ics... Wrote /home/loris/org/gtd.ics So I was just being too minimalist. org-agenda-to-appt seems to be some cruft I copied from here: http://sachachua.com/blog/2007/11/setting-up-appointment-reminders-in-org/ I'll go and look what it does whether I still need it. Cheers, Loris -- This signature is currently under construction.