emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: ELISP (was: Agenda views w/m: inconsistency, bug)
Date: Sun, 23 Oct 2011 15:01:23 +0200	[thread overview]
Message-ID: <j81373$fha$1@dough.gmane.org> (raw)
In-Reply-To: 922F071C-1B13-4713-853A-F568C2D5D8E0@gmail.com

* Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
> You are looking for a view that covers 30 days.
> The view you are requesting can be made with
>
> C-u 30 C-c a a
>
> or with a simple custom command that sets
> org-agenda-span to 30 in the options section
> of the command.

I am (almost) to afraid to ask here (OT, newbee, ...):

For now I used:

,----[ from my .emacs ]
| (defun vk-export-agenda()
|   "Exports monthly Org-mode agenda to agenda.ics file"
|   (interactive)
|   (org-agenda-list)
|   (org-agenda-month-view)
|   (org-write-agenda "~/org-mode/agenda.ics")
| )
`----

I tried by myself but failed miserable. How can I add this
org-agenda-span to this function definition?

And: is there an (E)LISP book/URL you can recommend? I do have
programming experience and I noticed that I should learn ELISP in
order to get most of my editor ...

Thanks again in advance!

-- 
Karl Voit

  parent reply	other threads:[~2011-10-23 13:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-23 10:06 Agenda views w/m: inconsistency, bug Karl Voit
2011-10-23 10:14 ` suvayu ali
2011-10-23 10:17 ` Carsten Dominik
2011-10-23 11:14   ` Karl Voit
2011-10-23 13:01   ` Karl Voit [this message]
2011-10-23 16:04     ` ELISP Memnon Anon

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='j81373$fha$1@dough.gmane.org' \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).