* Clocking without timestamp
@ 2016-07-14 11:31 Sanel Zukan
2016-07-17 9:37 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Sanel Zukan @ 2016-07-14 11:31 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2320 bytes --]
Hi guys,
I've been using org-mode 7.9.3f for quite a bit time and for clocking
with unspecified timestamp I'd use the following construct:
* Some task
CLOCK: => 2:00
which was perfectly valid in this org-mode version. However, after
upgrading to 8.2.10, this isn't the case any more. As a matter of fact,
Emacs will throw this error when I try to export org file:
--->8---
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("[012]?[0-9]:[0-5][0-9]\\(-\\([012]?[0-9]\\):\\([0-5][0-9]\\)\\)" nil)
org-element-timestamp-parser()
org-element-clock-parser(649)
org-element--current-element(649 nil nil nil)
org-element--parse-elements(416 649 nil nil nil nil (section (:begin 416 :end 649 :contents-begin 416 :contents-end 649 :post-blank 0) (clock (:status closed :value (timestamp (:type inactive-range :raw-value $
org-element--parse-elements(416 649 section nil nil nil (headline (:raw-value "Wed, 02" :begin 405 :end 649 :pre-blank 0 :hiddenp outline :contents-begin 416 :contents-end 649 :level 2 :priority nil :tags nil $
org-element--parse-elements(243 2073 section nil nil nil (headline (:raw-value "December 2015" :begin 227 :end 2074 :pre-blank 0 :hiddenp outline :contents-begin 243 :contents-end 2073 :level 1 :priority nil :$
org-element--parse-elements(1 25760 first-section nil nil nil (org-data nil (section (:begin 1 :end 211 :contents-begin 1 :contents-end 211 :post-blank 0 :parent #0) (keyword (:key "TITLE" :value "Timesheet" :$
org-element-parse-buffer(nil nil)
org-export-as(latex nil nil nil (:output-file "./placeavote-worklog.tex"))
org-export-to-file(latex "./placeavote-worklog.tex" nil nil nil nil nil #[(file) "\301^H!\207" [file org-latex-compile] 2])
org-latex-export-to-pdf(nil nil nil nil)
org-export-dispatch(nil)
call-interactively(org-export-dispatch nil nil)
command-execute(org-export-dispatch)
---8<---
Looks like 'org-element-timestamp-parser' is always called while
exporting... Any idea how to return back old behavior (clock without
timestamp)?
Idea of clocks without timestamp is useful for me as for certain daily
tasks I'm mostly interested in total spent time, rather than precise
time. Beside, I also enters it manually after I forget to clock in,
which happens, well, often :)
Thanks!
Best regards,
Sanel
[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Clocking without timestamp
2016-07-14 11:31 Clocking without timestamp Sanel Zukan
@ 2016-07-17 9:37 ` Nicolas Goaziou
2016-07-18 9:56 ` Sanel Zukan
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-07-17 9:37 UTC (permalink / raw)
To: Sanel Zukan; +Cc: emacs-orgmode
Hello,
Sanel Zukan <sanelz@gmail.com> writes:
> I've been using org-mode 7.9.3f for quite a bit time and for clocking
> with unspecified timestamp I'd use the following construct:
>
> * Some task
> CLOCK: => 2:00
>
> which was perfectly valid in this org-mode version.
This syntax isn't valid. Actually it is rather unexpected that it was
producing something meaningful before.
CLOCK lines require at least a time-stamp.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-18 9:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-14 11:31 Clocking without timestamp Sanel Zukan
2016-07-17 9:37 ` Nicolas Goaziou
2016-07-18 9:56 ` Sanel Zukan
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).