From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Thomas Subject: Re: Feature that org mode needs most Date: Wed, 18 Jul 2012 10:01:26 -0400 Message-ID: References: <1342601449.87301.YahooMailNeo@web29806.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b343b5254529804c51b1911 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUos-0001SG-0k for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 10:01:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrUoh-0003dM-RV for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 10:01:37 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:35588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUoh-0003dA-HQ for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 10:01:27 -0400 Received: by eekc50 with SMTP id c50so620422eek.0 for ; Wed, 18 Jul 2012 07:01:26 -0700 (PDT) In-Reply-To: <1342601449.87301.YahooMailNeo@web29806.mail.ird.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giovanni Ridolfi Cc: Bernt Hansen , "emacs-orgmode@gnu.org" --047d7b343b5254529804c51b1911 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Giovanni, thanks so much for taking the time to respond. I had learned about the idle time feature from the info docs when I first started using org. The reason this solution won't work for me though is that, if I understand correctly, it would only apply in scenarios where my emacs session detects inactivity for the configured amount of time, like when I leave my desk. If so, this doesn't cover the scenarios where I begin working on a new task at my computer but forget to clock-in to the new task in org (about 60% of the cases where I forget). However, I reviewed your other suggestions. I did download the latest snapshot of org from git, but as I need to maintain my todo.in NT emacs at work, I don't have make and so just hacked my config by replacing the emacs 23.4.1 distribution org .el files with the current ones. I needed to comment out the org-version.el warning, but otherwise everything seems to work fine. The new "v c" agenda view is great! Very useful. It appears for those like myself that what will work best under the latest functionality is the following use case, which I tested a little while ago: In my forget-to-clock-in-to-new-task scenario, 1. I use org-resolve-clocks, with the "K" option. 2. I then specify the number of minutes that passed since I forgot. 3. Clock in to the new task. 4. Org kindly asks me if I would like to clock-in but adjusting for the same amount of minutes. This solution best best allows me to keep accurate clocks without disrupting focus on my current activity, and will already make a big difference going forward. If, in the future though, you implemented S-up and S-down functionality so that it adjusted current and previous clocks simultaneously (or at least the ability to turn this on as an option), I would be your biggest fan :) Regards, Joe On Wed, Jul 18, 2012 at 4:50 AM, Giovanni Ridolfi wrote: > > > Hi, Joseph, > (I cc'ed also Bernt Hansen, aka "the king of clocking" ;-) > maybe he has better ideas; he's more experience than me, for sure ;) > > > Da: Joseph Thomas > Inviato: Marted=EC 17 Luglio 2012 23:15 > > > there's no easy way I can see to make quick adjustments to clocked time > between activities. > > > Every day I will forget to clock to a new activity at some point. > > > By the time I remember, time has passed. For example, I come back from > a meeting and begin to work on a project. > > > 20 minutes into it, I clock in. > > > But I must then manually adjust both the previous activity and the > current one so that they are accurate and don't overlap in the agenda vie= w. > > > When you can back from a meeting you can resolve idel time > [[info:org#Resolving%20idle%20time][info:org#Resolving idle time]] > > > If you changed your task but you forgot to clock outyou should check: > > [[info:org#Clocking%20commands][info:org#Clocking commands]] > > (`org-clock-in-last')' > Reclock the last clocked task. With one `C-u' prefix argument, > select the task from the clock history. With two `C-u' prefixes, > force continuous clocking by starting the clock when the last clock > stopped. > > > Be careful to have a recent git version since this is a new feature, but > it had bugs and > the bugs have been fixed. > > > Other thoughts: > > You can change the time from the agenda (never tried) but: > > [[info:org#Agenda%20commands][info:org#Agenda commands]] > `v c' > Show overlapping clock entries, clocking gaps, and other clocking > problems in the current agenda range. You can then visit clocking > lines and fix them manually. See the variable > `org-agenda-clock-consistency-checks' for information on how to > customize the definition of what constituted a clocking problem. > To return to normal agenda display, press `l' to exit Logbook mode. > > > Finally you can also use the brute force method: > clock in the new task > > then run > > M-x org-resolve-clocks > > > so that you can "restart" your current task by, say, 20 minutes > then you can set > > > (defcustom org-clock-out-remove-zero-time-clocks t > "Non-nil means remove the clock line when the resulting time is zero." > :group 'org-clock > :type 'boolean) > > However the last clocked-out task (the meeting) has been clocked out 20 > minutes later. > > cheers, > Giovanni > > --047d7b343b5254529804c51b1911 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Giovanni, thanks so much for taking the time to respond.
I had learned about the idle time feature from the info docs wh= en I first started using org. =A0The reason this solution won't work fo= r me though is that, if I understand correctly, it would only apply in scen= arios where =A0 my emacs session detects inactivity for the configured amou= nt of time, like when I leave my desk. =A0If so, this doesn't cover the= scenarios where I begin working on a new task at my computer but forget to= clock-in to the new task in org (about 60% of the cases where I forget).

However, I reviewed your other suggestions. =A0I did do= wnload the latest snapshot of org from git, but as I need to maintain my todo.in NT emacs at work, I don't have mak= e and so just hacked my config by replacing the emacs 23.4.1 distribution o= rg .el files with the current ones. =A0 I needed to comment out the org-ver= sion.el warning, but otherwise everything seems to work fine. =A0The new &q= uot;v c" agenda view is great! =A0Very useful.

It appears for those like myself that what will work be= st under the latest functionality is the following use case, which I tested= a little while ago: =A0In my forget-to-clock-in-to-new-task scenario,
1. I use org-resolve-clocks, with the "K" option. =A0
<= div>2. I then specify the number of minutes that passed since I forgot. =A0=
3. Clock in to the new task. =A0
4. Org kindly asks me= if I would like to clock-in but adjusting for the same amount of minutes.<= /div>

This solution best best allows me to keep accurate cloc= ks without disrupting focus on my current activity, and will already make a= big difference going forward. =A0If, in the future though, you implemented= S-up and S-down functionality so that it adjusted current and previous clo= cks simultaneously (or at least the ability to turn this on as an option), = I would be your biggest fan :)

Regards,
Joe

On Wed, Jul 18, 2012 at 4:50 AM, Giovanni Ridolfi <= ;giovanni.ri= dolfi@yahoo.it> wrote:


Hi, Joseph,
(I cc'ed also Bernt Hansen, aka "the king of clocking" ;-) maybe he has better ideas; he's more experience than me, for sure ;)

Da: Joseph Thomas <six50joe@gmail.= com>
Inviato: Marted=EC 17 Luglio 2012 23:15

> there's no easy way I can see to make quick adjustments to clocked= time between activities.=A0

> Every day I will forget to clock to a new activity at some point.=A0
> By the time I remember, time has passed. =A0For example, I come back f= rom a meeting and begin to work on a project.

>=A0 20 minutes into it, I clock in.

>=A0 But I must then manually adjust both the previous activity and the = current one so that they are accurate and don't overlap in the agenda v= iew.=A0


When you can back from a meeting you can resolve idel time
=A0=A0=A0 [[info:org#Resolving%20idle%20time][info:org#Resolving idle time]= ]


If you changed your task but you forgot to clock outyou should check:

[[info:org#Clocking%20commands][info:org#Clocking commands]]

=A0(`org-clock-in-last')'
=A0=A0=A0=A0 Reclock the last clocked task.=A0 With one `C-u' prefix ar= gument,
=A0=A0=A0=A0 select the task from the clock history.=A0 With two `C-u' = prefixes,
=A0=A0=A0=A0 force continuous clocking by starting the clock when the last = clock
=A0=A0=A0=A0 stopped.


Be careful to have a recent git version since this is a new feature, but it= had bugs and
the bugs have been fixed.


Other thoughts:

You can change the time from the agenda (never tried) but:

[[info:org#Agenda%20commands][info:org#Agenda commands]]
`v c'
=A0=A0=A0=A0 Show overlapping clock entries, clocking gaps, and other clock= ing
=A0=A0=A0=A0 problems in the current agenda range.=A0 You can then visit cl= ocking
=A0=A0=A0=A0 lines and fix them manually.=A0 See the variable
=A0=A0=A0=A0 `org-agenda-clock-consistency-checks' for information on h= ow to
=A0=A0=A0=A0 customize the definition of what constituted a clocking proble= m.
=A0=A0=A0=A0 To return to normal agenda display, press `l' to exit Logb= ook mode.


Finally you can also use the brute force method:
clock in the new task=A0=A0

then run

M-x org-resolve-clocks


so that you can "restart" your current task by, say, 20 minutes then you can set


(defcustom org-clock-out-remove-zero-time-clocks t
=A0 "Non-nil means remove the clock line when the resulting time is ze= ro."
=A0 :group 'org-clock
=A0 :type 'boolean)

However the last clocked-out task (the meeting) has been clocked out 20 min= utes later.

cheers,
Giovanni


--047d7b343b5254529804c51b1911--