all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Issue with org-super-agenda and %%diary
@ 2017-08-17 15:03 Robert Horn
  2017-08-20  8:18 ` Adam Porter
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Horn @ 2017-08-17 15:03 UTC (permalink / raw)
  To: emacs-orgmode


I want to have sunrise and sunset in my time grid.  I do this with two lines with "%%(diary-sunrise)" and "%%(diary-sunset)" in them.

With the regular org-agenda this works, e.g.,

              18:00...... ----------------
  weather:    19:42...... Sunset (EDT)                                 :weather:
              20:00...... ----------------

but with org-super-agenda it does not work.  The weather line is not in the grid.

              18:00...... ----------------
              20:00...... ----------------

I can add a tag criteria, but then the weather line comes after the grid:
  
              18:00...... ----------------
              20:00...... ----------------
  weather:    19:42...... Sunset (EDT)                                 :weather:

From looking at the lisp, it appears that org-super expects that time grid to be tagged with a text property.  Org-agenda seems to set the text property, but it's sufficiently complex that I don't really understand the code.  I think the problem is that by the time the results reach org-super-agenda this property is not there for the sunrise/sunset lines.

It could be that it's never set for the special case of lisp execution like "%%(diary-sunset)" or that it is set, used by org-agenda, and then cleared.

I would like clues about where to look and/or how to fix this.

R Horn
rjhorn@alum.mit.edu

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

end of thread, other threads:[~2017-08-20  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 15:03 Issue with org-super-agenda and %%diary Robert Horn
2017-08-20  8:18 ` Adam Porter

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.