Hello,

(Might be that this is a duplicate,since I had a mail problem)

I get a strange behaviour when cloking out and adding the notes.

The expected result should be:

** Task XYZ
   :LOGBOOK:
   CLOCK: [2017-02-09 Thu 11:34]--[2017-02-09 Thu 11:57] =>  0:23
   - Worked on task A
   CLOCK: [2017-02-07 Die 10:18]--[2017-02-07 Die 11:08] =>  0:50
   - Worked on task B
   CLOCK: [2017-02-06 Mon 13:22]--[2017-02-06 Mon 13:59] =>  0:37
   - Worked on task C
   :END:

The current out put is (see Task A)

** Task XYZ
   :LOGBOOK:
   - Worked on task A
   CLOCK: [2017-02-09 Thu 11:34]--[2017-02-09 Thu 11:57] =>  0:23
   CLOCK: [2017-02-07 Die 10:18]--[2017-02-07 Die 11:08] =>  0:50
   - Worked on task B
   CLOCK: [2017-02-06 Mon 13:22]--[2017-02-06 Mon 13:59] =>  0:37
   - Worked on task C
   :END:


Thanks for looking into it.

Best
Giammi
.........



Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-03-07 on trouble, modified by Debian
Package: Org mode version 9.0.4 (9.0.4-elpaplus @ 
/home/giammi/.emacs.d/elpa/org-plus-contrib-20170124/)

current state:
==============
(setq
 org-src-lang-modes '(("plantuml" . plantuml) ("ocaml" . tuareg)
                      ("elisp" . emacs-lisp) ("ditaa" . artist)
                      ("asymptote" . asy) ("dot" . fundamental)
                      ("sqlite" . sql) ("calc" . fundamental) ("C" . c)
                      ("cpp" . c++) ("C++" . c++) ("screen" . shell-script)
                      ("shell" . sh) ("bash" . sh))
 org-clocktable-defaults '(:maxlevel 3 :lang "en" :scope file :block nil
                           :wstart 1 :mstart 1 :tstart nil :tend nil :step nil
                           :stepskip0 nil :fileskip0 nil :tags nil :emphasize
                           nil :link nil :narrow 40! :indent t :formula nil
                           :timestamp nil :level nil :tcolumns nil :formatter
                           nil)
 org-clock-persist-query-save t
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
                      org-babel-header-arg-expand)
 org-log-note-clock-out t
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 5 :fileskip0 t
                                          :compact t)
 org-agenda-skip-deadline-prewarning-if-scheduled t
 org-icalendar-combined-agenda-file "~/org/ical.ics"
 org-time-clocksum-use-fractional t
 org-speed-command-hook '(org-speed-command-default-hook
                          org-babel-speed-command-hook)
 org-agenda-fontify-priorities t
 org-agenda-diary-file "~/org/cal.org"
 org-agenda-skip-timestamp-if-done t
 org-icalendar-combined-name "Calendar"
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-icalendar-include-todo t
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-log-done 'time
 org-latex-format-inlinetask-function 
'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-finalize-agenda-hook '(bh/org-agenda-to-appt)
 org-columns-default-format "%38ITEM(Details) %TAGS(Context) %7TODO(To Do) 
%PRIORITY %SCHEDULED %DEADLINE %5Effort(Effort){:} %6CLOCKSUM"
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-startup-align-all-tables t
 org-export-with-date nil
 org-icalendar-use-deadline '(event-if-not-todo event-if-todo todo-due)
 org-agenda-skip-scheduled-if-done t
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-default-notes-file "/home/giammi/org/notes.org"
 org-agenda-time-leading-zero t
 org-icalendar-use-scheduled '(event-if-not-todo event-if-todo todo-start)
 org-agenda-include-diary t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn ## CONTENTS)"]
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-from-is-user-regexp "\\<Gian-Maria Daffré\\>"
 org-icalendar-timezone "Europe/Zurich"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-tags-column -79
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-log-redeadline 'time
 org-global-properties '(("Effort_ALL" .
                          "0:30 1:00 2:00 3:00 4:00 5:00 6:00 8:00 12:00 0:00")
                         ("STYLE_ALL" . "habit"))
 org-mode-hook '(turn-on-font-lock evil-org-mode
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-show-block-all append
                    local]
                   5 "\n\n(fn)"]
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-babel-show-result-all
                    append local]
                   5 "\n\n(fn)"]
                 org-babel-result-hide-spec org-babel-hide-all-hashes
                 org-eldoc-load)
 org-refile-targets '((org-agenda-files :maxlevel . 10))
 org-stuck-projects '("+LEVEL=2/-DONE" ("TODO" "NEXT" "NEXTACTION")
                      ("appointment") "")
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-agenda-sorting-strategy '((agenda habit-down time-up priority-down
                                category-keep)
                               (todo todo-state-down category-keep priority-up
                                time-up)
                               (tags priority-down category-keep)
                               (search category-keep))
 org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS 
WIDTH)"]
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-clock-persist t
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-plantuml-jar-path "/home/giammi/bin/emacs_bin/plantuml.jar"
 org-archive-location "~/org/archive/archive.org::* From %s\""
 org-agenda-finalize-hook '(bh/org-agenda-to-appt)
 org-log-reschedule 'time
 org-todo-keywords '((sequence "TODO" "IN-PROGRESS" "PENDING" "|" "DONE"
                      "CANCELLED")
                     )
 org-deadline-warning-days 2
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-with-clocks t
 org-log-into-drawer t
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-agenda-insert-diary-strategy 'top-level
 org-icalendar-store-UID t
 org-tag-persistent-alist '(("errands" . 101) ("library" . 108) ("read" . 114)
                            ("computer" . 99) ("phone" . 116) ("home" . 104)
                            ("office" . 111) ("mail" . 109)
                            ("appointment" . 97) ("waiting" . 119))
 org-ditaa-jar-path "/usr/share/ditaa/ditaa.jar"
 org-icalendar-alarm-time 30
 org-agenda-skip-deadline-if-done t
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-link-parameters '(("id" :follow org-id-open)
                       ("rmail" :follow org-rmail-open :store
                        org-rmail-store-link)
                       ("mhe" :follow org-mhe-open :store org-mhe-store-link)
                       ("irc" :follow org-irc-visit :store org-irc-store-link)
                       ("info" :follow org-info-open :export org-info-export
                        :store org-info-store-link)
                       ("gnus" :follow org-gnus-open :store org-gnus-store-link)
                       ("docview" :follow org-docview-open :export
                        org-docview-export :store org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store
                        org-bibtex-store-link)
                       ("w3m" :store org-w3m-store-link)
                       ("bbdb" :follow org-bbdb-open :export org-bbdb-export
                        :complete org-bbdb-complete-link :store
                        org-bbdb-store-link)
                       ("file+sys") ("file+emacs")
                       ("doi" :follow org--open-doi-link)
                       ("elisp" :follow org--open-elisp-link)
                       ("file" :complete org-file-complete-link)
                       ("ftp" :follow
                        (lambda (path) (browse-url (concat "ftp:" path))))
                       ("help" :follow org--open-help-link)
                       ("http" :follow
                        (lambda (path) (browse-url (concat "http:" path))))
                       ("https" :follow
                        (lambda (path) (browse-url (concat "https:" path))))
                       ("mailto" :follow
                        (lambda (path) (browse-url (concat "mailto:"; path))))
                       ("message" :follow
                        (lambda (path) (browse-url (concat "message:" path))))
                       ("news" :follow
                        (lambda (path) (browse-url (concat "news:"; path))))
                       ("shell" :follow org--open-shell-link))
 org-babel-load-languages '((ditaa . t) (plantuml . t))
 org-clock-sound t
 org-html-format-inlinetask-function 
'org-html-format-inlinetask-default-function
 org-agenda-files '("~/org/cal.org" "~/org/gtd.org" "~/org/mobile.org")
 org-export-with-priority t
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-export-time-stamp-file nil
 org-tag-alist '(("errand" . 101) ("office" . 111) ("home" . 104)
                 ("computer" . 99) ("phone" . 116) ("mail" . 109))
 )

Attachment: signature.asc
Description: PGP signature

Reply via email to