From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Horn Subject: Issue with org-super-agenda and %%diary Date: Thu, 17 Aug 2017 11:03:39 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diMKn-0006Id-Jp for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 11:03:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diMKj-0002L9-OL for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 11:03:45 -0400 Received: from mailbackend.panix.com ([166.84.1.89]:55891) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1diMKj-0002Ku-L4 for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 11:03:41 -0400 Received: from quad (panix3.panix.com [166.84.1.3]) by mailbackend.panix.com (Postfix) with ESMTPS id 2A08311E0F for ; Thu, 17 Aug 2017 11:03:40 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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