From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nicolas Richard" Subject: Compare a timestamp with existing agenda entries. Date: Mon, 14 Jan 2013 15:02:25 +0100 Message-ID: <87k3rf3lse.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tukcj-00039b-EZ for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 09:02:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tukca-0005CZ-Jf for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 09:02:49 -0500 Received: from plane.gmane.org ([80.91.229.3]:52534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tukca-0005CK-Cl for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 09:02:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tukcn-0008QI-Kq for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 15:02:53 +0100 Received: from geodiff-mac3.ulb.ac.be ([164.15.131.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jan 2013 15:02:53 +0100 Received: from theonewiththeevillook by geodiff-mac3.ulb.ac.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jan 2013 15:02:53 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi there, I mainly use org-mode for planning, and one thing I often do is (i) insert a timestamp, and (ii) open the agenda at the given date and see if I had anything planned already. Would anyone have some experience to share with respect to automating step (ii) ? Atm, I'm thinking of writing a function that lists all agenda entries for which there is an intersection in the time range with a given timestamp, and optionally also lists entries that have no time spec but are planned on the same day. My use case is to ease the process of filling in a "doodle". I already wrote a few lines to import the proposed dates of a given doodle into org-mode timestamps (see here: https://gist.github.com/4529894). Atm I have to open (C-c C-o) each time stamp to see if there's a clash. Any comment are welcome ! Thanks for your attention, -- Nico.