Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export clock notes #11

Open
jb55 opened this issue Feb 13, 2018 · 3 comments
Open

Export clock notes #11

jb55 opened this issue Feb 13, 2018 · 3 comments

Comments

@jb55
Copy link

jb55 commented Feb 13, 2018

org supports per-clock notes when clocking out via:

#+STARTUP:   lognoteclock-out

Example:

CLOCK: [2018-02-12 Mon 12:35]--[2018-02-12 Mon 12:53] =>  0:18
- More notes
CLOCK: [2018-02-12 Mon 08:20]--[2018-02-12 Mon 11:31] =>  3:11
- Refactored stuff
  Ate a burrito
CLOCK: [2018-02-11 Sun 15:54]--[2018-02-11 Sun 17:33] =>  1:39
CLOCK: [2018-02-11 Sun 14:00]--[2018-02-11 Sun 14:43] =>  0:43

It would be nice if this could be exported to csv as well.

@atheriel
Copy link
Owner

I'm not strongly opposed to this, but it appears that notes are unstructured by design, and I'm not quite sure they fall into the category of "data" in quite the same way that the other fields do. There's also the added complication of escaping the notes so that they abide by the CSV format itself -- e.g. turning line breaks into \n, " into "", and so on.

What's the use case you had in mind?

@jb55
Copy link
Author

jb55 commented Feb 14, 2018

In my typical workflow, I make a note of what I was working on after I clock out, so that I can remember where I left off. I was hoping to retain this information in the csv output, so I can render it into my work report document, as some of my contracts require it.

@JoshNourse
Copy link

old thread ... but for the record...
I have a need for this as well, I like to include the notes on the client invoices. Emacs newbie and lisp ignorant but I think this code should pretty much be written but having a difficult time finding it. The Log mode of agenda view brings in the first line of the note which would be good enough for me.

In agenda view: C-u C-u l

Source Code: https://code.orgmode.org/bzg/org-mode/raw/master/lisp/org-agenda.el
search for "org-agenda-log-mode-add-notes"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants