emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* cannot batch export agenda
@ 2013-06-01 15:37 Rainer Stengele
  2013-06-01 17:12 ` Rainer Stengele
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer Stengele @ 2013-06-01 15:37 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

Trying to export an agenda view by command line I get this error:


No buffer named *Org Agenda*


How can I track the reason on the comand line?
I use sticky agenda views.


The command is here:
emacs -batch -l ~/.emacs -eval '(org-batch-agenda "01")'


The agenda view config looks like this:

	("01" "agenda - prio A,B todos - sorted prio up - today"  ;;
	 (

	  ;; show ONGOING todos first, but only if unscheduled, skip if scheduled
	  (tags-todo "ONGOING"
		     ((org-agenda-skip-function '(org-agenda-skip-entry-if 'scheduled))
		      (org-agenda-overriding-header "ONGOING todos: ")))
	  (agenda "todays agenda"
		  (
		   (org-agenda-span 'day)
		   (org-agenda-start-with-log-mode t)
		   (org-agenda-start-with-clockreport-mode t)

		   (org-agenda-overriding-header "Today's Agenda")))

	  (alltodo "todos Prio A+B - skip ONGOING todos"
		   (
		    (org-agenda-skip-function (lambda nil
						(or (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\|#B\\]")
						    (org-agenda-skip-entry-if 'regexp ":ONGOING:")
						    (org-agenda-skip-entry-if 'scheduled 'deadline ))))
		    (org-agenda-overriding-header "All todos prio A+B - skip ONGOING todos: ")
		    )))
	 ((org-agenda-sorting-strategy '(time-up priority-down todo-state-up))))todo-state-up))))


Thanks, Rainer

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-30 22:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-01 15:37 cannot batch export agenda Rainer Stengele
2013-06-01 17:12 ` Rainer Stengele
2013-06-30 21:47   ` Bastien

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).