emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* displaying outline path in agenda
@ 2008-01-22 18:40 Austin Frank
  2008-01-23 13:53 ` Egli Christian (KIRO 41)
  0 siblings, 1 reply; 2+ messages in thread
From: Austin Frank @ 2008-01-22 18:40 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1396 bytes --]

Hi!

Apologies for the rash of posts.  Hopefully some of these will be
useful, if only by chance :)

I recently wrote about a way for recording an event that only repeats a
few times, using something like

--8<---------------cut here---------------start------------->8---
* Standing Appointments
** TODO Swing III
*** Week 1
    <2008-01-21 Mon 19:30-21:30>
*** Week 2
    <2008-01-28 Mon 19:30-21:30>
*** Week 3
    <2008-02-04 Mon 19:30-21:30>
--8<---------------cut here---------------end--------------->8---

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?

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #1.2: Type: application/pgp-signature, Size: 185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: displaying outline path in agenda
  2008-01-22 18:40 displaying outline path in agenda Austin Frank
@ 2008-01-23 13:53 ` Egli Christian (KIRO 41)
  0 siblings, 0 replies; 2+ messages in thread
From: Egli Christian (KIRO 41) @ 2008-01-23 13:53 UTC (permalink / raw)
  To: emacs-orgmode

Hi 

> 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. 
org-agenda-get-todos, org-agenda-get-timestamps, org-agenda-get-blocks,
org-agenda-get-sexps, org-agenda-get-scheduled, 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-23 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-22 18:40 displaying outline path in agenda Austin Frank
2008-01-23 13:53 ` Egli Christian (KIRO 41)

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).