emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org
Subject: cannot batch export agenda
Date: Sat, 01 Jun 2013 17:37:13 +0200	[thread overview]
Message-ID: <kod4f5$fpn$1@ger.gmane.org> (raw)

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

             reply	other threads:[~2013-06-01 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01 15:37 Rainer Stengele [this message]
2013-06-01 17:12 ` cannot batch export agenda Rainer Stengele
2013-06-30 21:47   ` Bastien

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='kod4f5$fpn$1@ger.gmane.org' \
    --to=rainer.stengele@online.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).