From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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: Wed, 20 Jan 2016 14:32:09 +0100 Message-ID: <87io2ogyw6.fsf@nicolasgoaziou.fr> References: <87bn8hmv6n.fsf@len.workgroup> 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]:45374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLsq0-0001W4-QN for emacs-orgmode@gnu.org; Wed, 20 Jan 2016 08:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLspw-0004sC-1w for emacs-orgmode@gnu.org; Wed, 20 Jan 2016 08:30:16 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLspv-0004s8-RY for emacs-orgmode@gnu.org; Wed, 20 Jan 2016 08:30:11 -0500 Received: from selenimh (unknown [IPv6:2a03:a0a0:0:4301::2de]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A8FD2A815A for ; Wed, 20 Jan 2016 14:30:09 +0100 (CET) In-Reply-To: <87bn8hmv6n.fsf@len.workgroup> (Gregor Zattler's message of "Tue, 19 Jan 2016 16:43:28 +0100") 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@gnu.org Hello, Gregor Zattler writes: > Notes produced when clocking out with org-log-note-clock-out set > will be placed above the clock line instead below the clock line. > In my heavily customized sessions the notes show up on the > previos line respective to the clock line. Without > customizations (see below) they end up above the :LOGBOOK: > drawer. > > ECM: > emacs24 -Q -nw -L /home/grfz/src/org-mode/lisp/ --eval "(require 'org)" = --eval '(setq org-log-note-clock-out t)' /tmp/test.org > > now add a heading, clock in, clock out, write something as a note, > do C-c C-c to finish note taking. Result: > > * heading > - note > :LOGBOOK: > CLOCK: [2016-01-19 Di 16:22]--[2016-01-19 Di 16:22] =3D> 0:00 > :END: I can reproduce it. However, I don't think it is a bug. It looks like the expected default behaviour. By default, clocks and notes are not stored at the same location. See `org-log-into-drawer' and `org-clock-into-drawer'. So, there's no reason to put them together here.=20 Moreover, I cannot see anything in the code that would make "clock notes" special in any way. This is basically the same as calling `org-add-note' right after clocking out, and, as this function's docstring points out: This is done in the same way as adding a state change note. OTOH, the manual says See the variable =E2=80=98org-log-note-clock-out=E2=80=99 for the possibi= lity to record an additional note together with the clock-out timestamp. In particular, the term "together" is ambiguous, as it can indeed be understood as "at the same place". However, I doubt the intent is to create a new type of note that would purposely ignore global logging settings. So I lean towards a documentation bug here. WDYT? Regards, --=20 Nicolas Goaziou