>>>>> "Bastien" == Bastien <[EMAIL PROTECTED]> writes:
>> | (org-add-agenda-custom-command | '(("X" agenda "" | >> ((org-agenda-skip-function | (lambda() (org-agenda-skip-entry-if >> 'scheduled 'deadline))))))) `---- Excellent. Thanks for that. I now have a custom shell command which cron can call, and which shows me deadlines but not SCHEULED tasks: -----------print-agenda.sh------------------------- #!/bin/sh # print out agenda without scheduled tasks # relies on creating a custom command on the fly - "X" # (thanks to Bastien) /usr/bin/emacs-snapshot -batch -l ~/.xemacs/init.el \ -eval "(setq european-calendar-style nil diary-mail-days 7 diary-file \"/home/pete/diary\")" \ -eval "(org-add-agenda-custom-command '(\"X\" agenda \"\" ((org-agenda-skip-function (lambda() (org-agenda-skip-entry-if 'scheduled))))))" \ -eval '(org-batch-agenda "X" org-agenda-files (quote ("~/TODO/HOME.org" "~/TODO/SMTL.org")))' ----------------------------------------------------- Pete _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode