From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Exporting agenda items with data Date: Thu, 26 Feb 2009 21:31:11 +0100 Message-ID: <57A0285B-C6A6-452A-B490-166074ADDA34@uva.nl> References: <200902240749.22304.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 1Lcmt3-00010h-5G for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 15:31:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lcmt1-0000zf-Iv for Emacs-orgmode@gnu.org; Thu, 26 Feb 2009 15:31:16 -0500 Received: from [199.232.76.173] (port=52753 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lcmt1-0000za-Db for Emacs-orgmode@gnu.org; Thu, 26 Feb 2009 15:31:15 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]:15647) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lcmt0-0001MY-Qu for Emacs-orgmode@gnu.org; Thu, 26 Feb 2009 15:31:15 -0500 Received: by nf-out-0910.google.com with SMTP id d3so268943nfc.26 for ; Thu, 26 Feb 2009 12:31:13 -0800 (PST) In-Reply-To: <200902240749.22304.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 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. HTH - Carsten - Carsten