I think there might be a bug related to the recent changes in the agenda code, since it has just appeared in the last days. The following are minimal steps: (Ubuntu 11.10, GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.5) of 2011-08-14 on rothera, modified by Debian, Org version just pulled: Org-mode version 7.8.09 (release_7.8.09.230.gec7b))
With the following file, say simpleorg.el ------------ (setq debug-on-error t debug-on-signal nil debug-on-quit nil) (add-to-list 'load-path "~/Downloads/org-mode/lisp") (require 'org-install) ------------ and a ~/diary file containing only: ------------ &%%(org-diary) ------------- and starting with 'emacs -Q -l simpleorg.el' Then M-x diary gives: Bad sexp at line 1 in ~/diary: (org-diary) For some reason I do not get a backtrace. Hopefully somebody will be able at least to reproduce! Best regards, Rafael