From: "Chris Randle" <chris@amlog.co.uk>
To: emacs-orgmode@gnu.org
Subject: Question and observation about org-agenda-week-view
Date: Mon, 8 Sep 2008 17:39:11 +0100 [thread overview]
Message-ID: <8E1618274C084076B065FCD9845D84F7@CUBE> (raw)
Hi
I've written an emacs function which uses:
(org-agenda nil "e")
To export my agenda to HTML. I'd like to make sure that the output
always shows a weekly view, so I tried preceeding that line with
(org-agenda-week-view)
But evaluating the function with the week-view line gives "Wrong type
argument: number-or-marker-p, nil". Interactively, I see that you have
to call the (org-agenda-xxxxx-view) functions from within the *Org
Agenda* buffer. How can I force the org-agenda function, called
programmatically, to output a week view?
Also, I think the help text for the org-agenda-week-view function has a
typo, as it says "Switch to *daily* view for agenda" (my emphasis).
--
Chris Randle
Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b
next reply other threads:[~2008-09-08 16:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-08 16:39 Chris Randle [this message]
2008-09-08 16:58 ` Question and observation about org-agenda-week-view Carsten Dominik
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=8E1618274C084076B065FCD9845D84F7@CUBE \
--to=chris@amlog.co.uk \
--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).