From: Robert Horn <rjhorn@alum.mit.edu>
To: emacs-orgmode@gnu.org
Subject: Issue with org-super-agenda and %%diary
Date: Thu, 17 Aug 2017 11:03:39 -0400 [thread overview]
Message-ID: <m37ey25j9k.fsf@alum.mit.edu> (raw)
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
next reply other threads:[~2017-08-17 15:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 15:03 Robert Horn [this message]
2017-08-20 8:18 ` Issue with org-super-agenda and %%diary Adam Porter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37ey25j9k.fsf@alum.mit.edu \
--to=rjhorn@alum.mit.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).