pete phillips <[EMAIL PROTECTED]> writes:
> However, I don't want any Scheduled items to appear (as these are not
> appointments/dates as such).
>
> I currently use this:
>
> /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-batch-agenda "a" org-agenda-files
> (quote ("~/TODO/HOME.org" "~/TODO/SMTL.org")))'
I think the right way is to add a custom agenda command:
,----
| (org-add-agenda-custom-command
| '(("X" agenda ""
| ((org-agenda-skip-function
| (lambda() (org-agenda-skip-entry-if 'scheduled 'deadline)))))))
`----
Note that this view also skips deadlines. Then call this new "X" agenda
command like this:
,----
| /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-batch-agenda "X" org-agenda-files
(quote ("~/TODO/HOME.org" "~/TODO/SMTL.org")))'
`----
--
Bastien
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode