From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Kaffanke Subject: Re: (org-entry-get (point) "CLOCK") fails now Date: Sun, 30 Aug 2015 17:37:12 +0200 Message-ID: <87h9ngdbyv.fsf@kaffanke.at> References: <87io7xc8au.fsf@kaffanke.at> <87r3ml2ca9.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW4g0-0002mm-WB for emacs-orgmode@gnu.org; Sun, 30 Aug 2015 11:37:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZW4fw-0001kU-Vy for emacs-orgmode@gnu.org; Sun, 30 Aug 2015 11:37:48 -0400 Received: from kaffanke.at ([91.228.53.228]:39101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW4fw-0001k1-N8 for emacs-orgmode@gnu.org; Sun, 30 Aug 2015 11:37:44 -0400 In-reply-to: <87r3ml2ca9.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > >> And how do I have to rewrite my code now? > > I don't have enough information to answer. > > What is your code supposed to do? What did you use CLOCK property for? I have only one CLOCK property for my entry and I just want to extract the start time of that clock entry. I did after the get-entry: (let* ( .... (clockentry (org-entry-get (point) "CLOCK")) (clockstart (apply 'encode-time (org-parse-time-string clockentry))) .... ) ..... ) So maybe you just know how to rewrite this two lines? Thanks, Martin