emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Org separates clock out note from the clock line [9.0.4 (9.0.4-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)]
@ 2017-01-31 18:52 Jorge Morais Neto
  2017-02-03 21:57 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Jorge Morais Neto @ 2017-01-31 18:52 UTC (permalink / raw)
  To: org mode

Hi.  I have started this instance of GNU Emacs 25.1.91.1 with an empty init
file and then I customized org-log-note-clock-out to t.  Then I created a
new Org buffer with a single level 1 headline, and set property
CLOCK_INTO_DRAWER to nil.  I then clocked in and then out, adding a note.
The note was stored outside any drawer (as requested) and above the clock
line.  Then I clocked in and out again, adding a second note.  The result
was:

      * Teste
        :PROPERTIES:
        :CLOCK_INTO_DRAWER: nil
        :END:
        - Teste 2.
        - Teste 1.
        CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:13] =>  0:01
        CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:12] =>  0:00

"teste" is Portuguese for "test".

I expected the "Teste 1" line to stay in its place above the corresponding
clock line, like this:

      * Teste
        :PROPERTIES:
        :CLOCK_INTO_DRAWER: nil
        :END:
        - Teste 2.
        CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:13] =>  0:01
        - Teste 1.
        CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:12] =>  0:00


This bug occurred in my config.  My workaround was to configure Org to add
logs and clock lines into the LOGBOOK drawer.  Then the bug does not
materialize and I get correct result (except that I cannot configure Org the
way I want).

Regards

Emacs  : GNU Emacs 25.1.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-12-31
Package: Org mode version 9.0.4 (9.0.4-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Org separates clock out note from the clock line [9.0.4 (9.0.4-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)]
  2017-01-31 18:52 Bug: Org separates clock out note from the clock line [9.0.4 (9.0.4-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)] Jorge Morais Neto
@ 2017-02-03 21:57 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-02-03 21:57 UTC (permalink / raw)
  To: Jorge Morais Neto; +Cc: org mode

Hello,

Jorge Morais Neto <jorge13515@gmail.com> writes:

> Hi.  I have started this instance of GNU Emacs 25.1.91.1 with an empty init
> file and then I customized org-log-note-clock-out to t.  Then I created a
> new Org buffer with a single level 1 headline, and set property
> CLOCK_INTO_DRAWER to nil.  I then clocked in and then out, adding a note.
> The note was stored outside any drawer (as requested) and above the clock
> line.  Then I clocked in and out again, adding a second note.  The result
> was:
>
>       * Teste
>         :PROPERTIES:
>         :CLOCK_INTO_DRAWER: nil
>         :END:
>         - Teste 2.
>         - Teste 1.
>         CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:13] =>  0:01
>         CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:12] =>  0:00
>
> "teste" is Portuguese for "test".
>
> I expected the "Teste 1" line to stay in its place above the corresponding
> clock line, like this:
>
>       * Teste
>         :PROPERTIES:
>         :CLOCK_INTO_DRAWER: nil
>         :END:
>         - Teste 2.
>         CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:13] =>  0:01
>         - Teste 1.
>         CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:12] =>  0:00

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-03 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-31 18:52 Bug: Org separates clock out note from the clock line [9.0.4 (9.0.4-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)] Jorge Morais Neto
2017-02-03 21:57 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).