From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: Re: Bug: [bisected] note from clocking out is above :LOGBOOK: drawer [8.3.3 (release_8.3.3-469-g2e7716 @ /home/grfz/src/org-mode/lisp/)] Date: Thu, 21 Jan 2016 02:38:51 +0100 Message-ID: <20160121013851.GE8498@len.workgroup> References: <87bn8hmv6n.fsf@len.workgroup> <87io2ogyw6.fsf@nicolasgoaziou.fr> <20160120145853.GB8498@len.workgroup> <87egdcgs6e.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aM4Dn-0006JI-OM for emacs-orgmode@gnu.org; Wed, 20 Jan 2016 20:39:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aM4Dk-0003hV-IP for emacs-orgmode@gnu.org; Wed, 20 Jan 2016 20:39:35 -0500 Received: from mout.gmx.net ([212.227.17.20]:55006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aM4Dk-0003gD-9C for emacs-orgmode@gnu.org; Wed, 20 Jan 2016 20:39:32 -0500 Received: from boo.workgroup ([87.185.137.15]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MOSNd-1aRoyi2Se5-005mIC for ; Thu, 21 Jan 2016 02:39:29 +0100 Content-Disposition: inline In-Reply-To: <87egdcgs6e.fsf@nicolasgoaziou.fr> 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: emacs-orgmode Hi Nicolas, * Nicolas Goaziou [20. Jan. 2016]: > Gregor Zattler writes: >> It would be great when notes taken when clocking out would come >> next to their respective clock lines. > > This is already possible: just make sure notes and clocks are stored at > the same location (e.g., set `org-log-into-drawer' to t in your ECM). Actually this keeps all notes in the :LOGBOOK: drawer but notes taken while clocking out appear above instead of below the clock line. I would have to shuffle all existing clock-out-notes above their respective clock line in order to have consistent documents. This is doable. This way notes taken while clocked in are mixed with the ones taken when clocking out and are even nearer to the clock line. But... > However, by default, they aren't. > > I see no reason to force notes taken upon clocking out to be always > located next to the clock line, as long as you can get that behaviour > somehow. Thus, I think the documentation could be improved as it sort of > implies clock notes are always next to the closed clock. > > IIUC, you are suggesting to implement two types of notes, but that never > was the case in Org, AFAICT. You could, however, use a hook (e.g., > `org-clock-out-hook') in order to put data relative to clocks in > a specific drawer and keep general notes in LOGBOOK at the same time. ... I guess this hook will be run before actually clocking out? Thus I would change the notes drawer to the clock line drawer, clock out and set it back again? Thanks for your help, Gregor -- -... --- .-. . -.. ..--.. ...-.-