emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Kaffanke <martin@kaffanke.at>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: (org-entry-get (point) "CLOCK") fails now
Date: Sun, 30 Aug 2015 17:37:12 +0200	[thread overview]
Message-ID: <87h9ngdbyv.fsf@kaffanke.at> (raw)
In-Reply-To: <87r3ml2ca9.fsf@nicolasgoaziou.fr>


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

  parent reply	other threads:[~2015-08-30 15:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-30 11:41 (org-entry-get (point) "CLOCK") fails now Martin Kaffanke
2015-08-30 12:25 ` Nicolas Goaziou
2015-08-30 13:06   ` Marcin Borkowski
2015-08-30 15:21     ` Nicolas Goaziou
2015-08-30 20:18       ` Marcin Borkowski
2015-08-30 15:37   ` Martin Kaffanke [this message]
2015-08-30 18:59     ` Nicolas Goaziou

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=87h9ngdbyv.fsf@kaffanke.at \
    --to=martin@kaffanke.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).