From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: C-c C-y in currently clocked header Date: Thu, 16 Oct 2014 08:58:18 +0200 Message-ID: <87oatcijqt.fsf@wmi.amu.edu.pl> References: <87egu9d6kx.wl-n142857@gmail.com> <871tq9jepm.fsf@wmi.amu.edu.pl> <87d29sd63e.wl-n142857@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xef19-0001sx-UQ for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 02:58:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xef14-000833-8X for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 02:58:35 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:54540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xef14-00082i-0v for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 02:58:30 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 053545B87C for ; Thu, 16 Oct 2014 08:58:27 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wz6lZrQN932I for ; Thu, 16 Oct 2014 08:58:26 +0200 (CEST) Received: from localhost (99-229.echostar.pl [213.156.99.229]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 904FD5B874 for ; Thu, 16 Oct 2014 08:58:25 +0200 (CEST) In-reply-to: <87d29sd63e.wl-n142857@gmail.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: org-mode Mailinglist On 2014-10-16, at 05:52, Daniel Clemente wrote: >> > >> > **** currently clocking >> > :CLOCK: >> > CLOCK: [2014-10-15 Wed 16:06] >> > CLOCK: [2014-10-13 Mon 11:23]--[2014-10-13 Mon 11:54] =3D> 0:31 >> > :END: >> > >> > Now it's 16:26. If I put the cursor in 16:06 and press C-c C-y (org-= evaluate-time-range), it would be useful to see in the minibuffer that th= e difference until now is 20 minutes. >>=20 >> Saluton! >>=20 >> Are you aware that you can set org-clock-mode-line-total to 'current? >> (Personally, I only discovered it before a few hours, and set it to >> 'today.) > > Yes, but you may want to see the current clocking duration independentl= y of the settings of the current header. E.g. even if org-clock-mode-line= -total=3D=3Dall, I want to see that my unclosed clocking amounts for 20 m= inutes. Fair enough, I just wanted to make sure you knew about that variable. (As I told, I wasn't aware of it until recently. And the only reason I learned about it, btw, was the thought "something like this /should/ be possible", and it's Org-mode, after all, so obviously it was. Notice that your proposed solution (while reasonable from the point of view of how C-c C-y works) might be cumbersome =E2=80=93 you'd need to go= to the place where you have the :LOGBOOK: drawer, open it, move to the first line and hit C-c C-y. A faster way to get the same information might be C-c C-x C-o [the info you wanted gets displayed in the echo area] C-u C-c C-x C-i 1 if you don't mind splitting the clocking line in :LOGBOOK: into two. (AFAIU, you also run into the risk of dropping one minute of clocking time if you happen to do this at hh:mm:59 or something.) Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University