From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Exporting agenda items with data Date: Fri, 27 Feb 2009 11:20:15 +0100 Message-ID: <6BE35A32-4064-4DE8-BE10-642D70E9356A@uva.nl> References: <200902240749.22304.yuval@avramzon.net> <57A0285B-C6A6-452A-B490-166074ADDA34@uva.nl> <200902270819.19184.yuval@avramzon.net> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LczpK-0002kP-M8 for emacs-orgmode@gnu.org; Fri, 27 Feb 2009 05:20:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LczpJ-0002jB-Bd for Emacs-orgmode@gnu.org; Fri, 27 Feb 2009 05:20:18 -0500 Received: from [199.232.76.173] (port=38920 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LczpJ-0002iw-6M for Emacs-orgmode@gnu.org; Fri, 27 Feb 2009 05:20:17 -0500 Received: from mail-gx0-f160.google.com ([209.85.217.160]:35585) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LczpI-0003Ry-Se for Emacs-orgmode@gnu.org; Fri, 27 Feb 2009 05:20:17 -0500 Received: by gxk4 with SMTP id 4so2418384gxk.18 for ; Fri, 27 Feb 2009 02:20:16 -0800 (PST) In-Reply-To: <200902270819.19184.yuval@avramzon.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Yuval Hager Cc: Emacs-orgmode@gnu.org Actually, I want to simplify this further. From now on, the hook will always contain that function, and you can control adding entry text entirely by setting org-agenda-add-entry-text-maxlines to a number greater that zero. The default for the variable is zero, which means nothing will be added. HTH - Carsten On Feb 27, 2009, at 7:19 AM, Yuval Hager wrote: > On Thursday 26 February 2009, Carsten Dominik wrote: >> Hi Yuval, >> >> On Feb 24, 2009, at 6:49 AM, Yuval Hager wrote: >>> Hi, >>> >>> I'm looking for a way to print my agenda for the day, but including >>> the items >>> data, not just the heading. >>> >>> All the export methods I have tried just export the agenda buffer as >>> it is, >>> without showing the full data for each item. >>> >>> This is useful if I need to go out for some meetings, and I have >>> some more >>> info about the meeting (phone number, address) in the data section. >> >> This is now (latest git version) possible, with an agenda custom >> command configured like this, with a export file, and with >> binding org-agenda-before-write-hook. >> >> ("a" "" agenda "" >> ((org-agenda-before-write-hook '(org-agenda-add-entry-text)) >> (org-agenda-add-entry-text-maxlines 5)) >> ("agenda.txt")) >> >> See also the new variable org-agenda-add-entry-text-maxlines >> >> If you always want to have entry text in exported agenda views, >> you can also do in .emacs: >> >> (add-hook 'org-agenda-before-write-hook 'org-agenda-add-entry-text) >> (setq org-agenda-add-entry-text-maxlines 5) >> >> >> >> or use org-agenda-export-settings for things like this. >> > > Wow.. thanks! > > With such an attentive and prompt development I now understand how > orgmode > became such a success. > > --yuval