emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* clock *list*
@ 2009-08-20 16:25 meingbg
  2009-08-23  5:29 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: meingbg @ 2009-08-20 16:25 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1661 bytes --]

Sometimes I find myself in the need of a clocklist (or clock log if you
prefer) rather than a clock table, that is a list of the clock lines
(cutting out any text after the "^\ *CLOCK\:\ ") with the path added to the
end, ordered by the clock start time in decending order. It would be great
to have this feature as a dynamic block function, (defun
org-dblock-write:clocklist....). The scope and block parameters from
clocktable would also be of great benefit. If the scope parameter is
implemented the path should probably be relative to that scope.

Below is an example of how I'd imagine the result. Is this a good idea at
all? Would it be hard to implement?

//meingbg


---BEGIN EXAMPLE ORG FILE---
* a
any clock lines under this heading are not included
* b
  CLOCK: [2009-08-20 Thu 12:53]--[2009-08-20 Thu 12:54] no colon
#+BEGIN: clocklist :scope tree :block 2009-08
[2009-08-20 Thu 12:58]--[2009-08-20 Thu 12:59] comment : d/f
[2009-08-20 Thu 12:56]--[2009-08-20 Thu 12:57] =>  0:01 : d/f
[2009-08-20 Thu 12:54]--[2009-08-20 Thu 12:55] =>  0:01 : d
[2009-08-20 Thu 12:53]--[2009-08-20 Thu 12:54] no colon
[2009-08-20 Thu 12:52]--[2009-08-20 Thu 12:53] =>  0:01 : c
[2009-08-20 Thu 12:50]--[2009-08-20 Thu 12:51] =>  0:01 : c
#+END
** c
   :CLOCK:
   CLOCK: [2009-08-20 Thu 12:52]--[2009-08-20 Thu 12:53] =>  0:01
   CLOCK: [2009-08-20 Thu 12:50]--[2009-08-20 Thu 12:51] =>  0:01
   :END:
text
** d
   CLOCK: [2009-08-20 Thu 12:54]--[2009-08-20 Thu 12:55] =>  0:01
*** f
    :CLOCK:
    CLOCK: [2009-08-20 Thu 12:58]--[2009-08-20 Thu 12:59] comment
    CLOCK: [2009-08-20 Thu 12:56]--[2009-08-20 Thu 12:57] =>  0:01
    :END:
---END EXAMPLE ORG FILE---

[-- Attachment #1.2: Type: text/html, Size: 6078 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: clock *list*
  2009-08-20 16:25 clock *list* meingbg
@ 2009-08-23  5:29 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2009-08-23  5:29 UTC (permalink / raw)
  To: meingbg; +Cc: emacs-orgmode

meingbg <meingbg@gmail.com> writes:

> Sometimes I find myself in the need of a clocklist (or clock log if you prefer)
> rather than a clock table, that is a list of the clock lines (cutting out any
> text after the "^\ *CLOCK\:\ ") 

Not fulfilling your wish, but what about

  M-x org-occur RET CLOCK: RET

?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-23 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-20 16:25 clock *list* meingbg
2009-08-23  5:29 ` Bastien

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).