From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Egli Christian (KIRO 41)" Subject: RE: displaying outline path in agenda Date: Wed, 23 Jan 2008 14:53:15 +0100 Message-ID: <52D89C75FEE9444E8D9C016E3730098306CEA6@chsa1036.share.beluni.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHg3Q-00014u-5B for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 08:54:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHg3O-00012k-GT for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 08:54:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHg3O-00012a-9S for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 08:54:10 -0500 Received: from mail-gw12.credit-suisse.com ([198.240.213.21]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JHg3O-0001FS-0b for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 08:54:10 -0500 Content-class: urn:content-classes:message In-Reply-To: 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: emacs-orgmode@gnu.org Hi=20 > One problem with this approach is that the agenda entry is not > especially informative-- simply "Week 1". I'd like to edit the function > that generates the agenda entries from active timestamps to include the > option of using new outline path notation. In this case, the agenda > would read "Standing Appointments/Swing III/Week 1". > I've already identified org-get-outline-path and org-format-agenda-line > as functions that might be relevant, but it seems to me that > org-format-agenda-line comes in to late in the process. What I really > want is to replace use the outline path as the txt argument to > org-format-agenda-line. Can anyone point me towards the part of the > org.el source I should be looking at for adding this functionality? I think you have have to fiddle with all of the functions that are called from org-agenda-get-day-entries, i.e.=20 org-agenda-get-todos, org-agenda-get-timestamps, org-agenda-get-blocks, org-agenda-get-sexps, org-agenda-get-scheduled,=20 org-agenda-get-deadlines. Try if you can get it to work with one (I guess org-agenda-get-scheduled for your case) and see if changes are needed in the others. HTH Christian