[Orgmode] Elapsed Time
Hey, folks: Outstanding! Thanks very much for the quick responses. Not only does org-mode itself rock, but the support from the user community is amazing. --Alan -- Alan Dove, Ph.D. [EMAIL PROTECTED] 917.273.0544 http://dovdox.com Gizmo or Skype: alandove ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Automatic Elapsed Time Stamps?
Alan Dove <[EMAIL PROTECTED]> writes: > In my work, I often take notes at a meeting while simultaneously > taping it. Same here. In addition to what Adam sent, i see two solutions: 1. Use org-clock-in, org-clock-out and org-clock-report. Put the time report (C-c C-x C-r) at the beginning of the first level of your writing, then clock (out and) in each time you insert a new sublevel. Make sure clock-out is not a member of `org-log-done' so that you won't be prompted for a log entry each time you clock out. 2. Use an `Elapsed_time' property. Here is a quick hack that could help: bzg-org-step-report.el Description: application/emacs-lisp What it does: `bzg-step-time-report-initialize' will prompt for the name of the project. This headline have a property called "Elapsed_time". It's computed when you switch to the column view (C-c C-x C-x) or when you press C-c C-c in front of it. `bzg-step-time-report-add-step' will update the `Elapsed_time' value of the previous headline and insert a new one. `bzg-step-time-report-finish' will just update the `Elapsed_time' value of the previous headline. Of course, this could be refined... but I hope it might help! Regards, PS: You might also have a look at the `run-at-time' function, but either you need to get the time intervals between steps, or you need to know on what frequency they are inserted, right? See (info "(elisp)Timers") -- Bastien ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: table formulas revisited
I must have been asleep at the wheel when 5.04 came out. Anyhow, that doesn't work either. Edd On 7/27/07, Eddward DeVilla <[EMAIL PROTECTED]> wrote: > Hi all, > > This is something I thought I had working before. In anycase, > anytime I use a range in a table, I cannot get it to evaluate. It > dies before even reaching the formula debugger with "Wrong number of > arguments: #, 2". This is org 5.03 and I've tried it > on emacs 21.1.1 and 21.3.50.1. > What's really weird is that I think this was working eariler this > week on the same version of org and emacs. Can anyone else try > dropping this table in an org buffer and hitting C-cC-c on the TBLFM > line to confirm if it's just me? > > Thanks, > Edd > > * wealth management > |--+-+-| > | item | amount | balance | > |--+-+-| > | paid | 50.00 | 50.00 | > | baby's new pair of shoes | -25.00 | 25.00 | > | chips| -2.50 | 22.50 | > | my birthday! | 100.00 | 122.50 | > | speeding fine :( | -200.00 | -77.50 | > |--+-+-| > #+TBLFM: $3='(apply '+ '(@-I$-1..$-1));N%.2f > ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Automatic Elapsed Time Stamps?
On Fri, Jul 27, 2007 at 04:07:39PM -0400, Alan Dove wrote: > Hey, folks: > > In my work, I often take notes at a meeting while simultaneously > taping it. To refer back to specific parts of the tape later, I > periodically check the elapsed time on the digital recorder, and > enter that in my notes (which I take in org-mode, of course). This > works, but it seems to me there should be a better solution. Given > all of org-mode's timestamp and clocking capabilities, is there some > way I can start a clock, then have it automatically insert stamps > with the elapsed time at set intervals as I type? If not, can anyone > suggest some elisp functions I might explore to try to hack this > together as a macro? I was about to point you in the direction of the Elisp info pages, but then got interested in the interfaces, and quickly realised it wouldn't take many more minutes to write the code myself. If you still want the fun of writing it yourself, look away now! :-) (defun clock-start () "Starts a clock which can then be used by `clock-insert-elapsed' to insert elapsed time into the current buffer." (interactive) (setq clock-start (current-time))) (defun clock-time-elapsed () "Returns the elapsed time since the clock was started with `clock-start'." (interactive) (let* ((elapsed (truncate (float-time (time-since clock-start (secs (% elapsed 60)) (mins (/ elapsed 60)) (hours (/ mins 60))) (format "%d:%02d:%02d" hours mins secs))) (defun clock-insert-elapsed () "Inserts the elapsed time since the clock was started with `clock-start'." (interactive) (insert "CLOCK: " (clock-time-elapsed))) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] table formulas revisited
Hi all, This is something I thought I had working before. In anycase, anytime I use a range in a table, I cannot get it to evaluate. It dies before even reaching the formula debugger with "Wrong number of arguments: #, 2". This is org 5.03 and I've tried it on emacs 21.1.1 and 21.3.50.1. What's really weird is that I think this was working eariler this week on the same version of org and emacs. Can anyone else try dropping this table in an org buffer and hitting C-cC-c on the TBLFM line to confirm if it's just me? Thanks, Edd * wealth management |--+-+-| | item | amount | balance | |--+-+-| | paid | 50.00 | 50.00 | | baby's new pair of shoes | -25.00 | 25.00 | | chips| -2.50 | 22.50 | | my birthday! | 100.00 | 122.50 | | speeding fine :( | -200.00 | -77.50 | |--+-+-| #+TBLFM: $3='(apply '+ '(@-I$-1..$-1));N%.2f ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Automatic Elapsed Time Stamps?
Hey, folks: In my work, I often take notes at a meeting while simultaneously taping it. To refer back to specific parts of the tape later, I periodically check the elapsed time on the digital recorder, and enter that in my notes (which I take in org-mode, of course). This works, but it seems to me there should be a better solution. Given all of org-mode's timestamp and clocking capabilities, is there some way I can start a clock, then have it automatically insert stamps with the elapsed time at set intervals as I type? If not, can anyone suggest some elisp functions I might explore to try to hack this together as a macro? Thanks very much. --Alan -- Alan Dove, Ph.D. [EMAIL PROTECTED] 917.273.0544 http://dovdox.com Gizmo or Skype: alandove ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [POLL] Different face for 'stuck projects'
Hello, [EMAIL PROTECTED] (Jason F. McBrayer) writes: > In my workflow, I only need to identify stuck projects when doing a > weekly review, so the agenda view works fine for me. Yes, i also think the process of checking for stuck projects should not be automated, it seems better to me if it relies on some decision - you know, the kind of things that is more likely to trigger an action :) If you still want to check for stuck projects dynamically, why not hook `org-agenda-list-stuck-projects' somewhere? Regards, -- Bastien ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode