From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: Example of Make file for Org Mode LaTeX to pdf
Date: Mon, 07 Mar 2016 17:10:50 +0100 [thread overview]
Message-ID: <87vb4yqned.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: 87egbm71ho.fsf@delle7240.chemeng.ucl.ac.uk
Eric S Fraga <e.fraga@ucl.ac.uk> 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.
next prev parent reply other threads:[~2016-03-07 16:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-05 5:43 Example of Make file for Org Mode LaTeX to pdf Robert Love
2016-03-06 13:26 ` Myles English
2016-03-06 13:40 ` John Kitchin
2016-03-06 18:34 ` Eric S Fraga
2016-03-07 8:55 ` Loris Bennett
2016-03-07 14:20 ` Nick Dokos
2016-03-07 15:26 ` Eric S Fraga
2016-03-07 16:10 ` Loris Bennett [this message]
2016-03-09 3:38 ` Robert Love
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vb4yqned.fsf@hornfels.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).