From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: ELISP (was: Agenda views w/m: inconsistency, bug) Date: Sun, 23 Oct 2011 15:01:23 +0200 Message-ID: References: <2011-10-23T11-54-04@devnull.Karl-Voit.at> <922F071C-1B13-4713-853A-F568C2D5D8E0@gmail.com> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHxgQ-0001ad-5G for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 09:01:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHxgO-0002Ib-W4 for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 09:01:45 -0400 Received: from lo.gmane.org ([80.91.229.12]:56989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHxgO-0002IU-Qy for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 09:01:44 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RHxgM-00077z-L8 for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 15:01:42 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2011 15:01:42 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2011 15:01:42 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * Carsten Dominik 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