emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug: logging & PROPERTIES [6.36trans]


From: Carsten Dominik
Subject: Re: [Orgmode] Bug: logging & PROPERTIES [6.36trans]
Date: Sun, 4 Jul 2010 08:22:52 +0200

Hi Giovanni,

On Jul 2, 2010, at 2:52 PM, Giovanni Ridolfi wrote:


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See

    http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

Emacs  : GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)
of 2010-05-08 on G41R2F1
Org-version: org-latest.zip;  6.36trans,    last commit:
       committer        Carsten Dominik <address@hidden>  
        Fri, 2 Jul 2010 07:20:15 +0000 (09:20 +0200)
       commit   f693238dfe6472b650ad59d0044f2c2a00c9f08d
       Fix naming and docstring issues in `org-iswitchb

Hello everybody,

I have a problem with the logging feature in (sub)tree
defined via :PROPERTIES:

I set up a file according to the manual
-------------------------------------
   -*- mode: org; -*-
* TODO Log each state with only a time
      :PROPERTIES:
      :LOGGING: TODO(!) WAIT(!) DONE(!) CANCELED(!)
      :END:
* TODO Only log when switching to WAIT, and when repeating
      :PROPERTIES:
      :LOGGING: WAIT(@) logrepeat
      :END:
* TODO No logging at all
      :PROPERTIES:
      :LOGGING: nil
      :END:
------------------------------
Then I restarted Emacs and opened such file.

If I C--> 1 time on the first heading I have the following

What key is this supposed to be? Shift-right, maybe?
If yes, take a look at the variable

org-treat-S-cursor-todo-selection-as-state-change

The default is t, but maybe you have set it to nil?

result:
* DONE Log each state with only a time
 - State "DONE"       from "TODO"       [2010-07-02 ven 14:10]
      :PROPERTIES:
      :LOGGING: TODO(!) WAIT(!) DONE(!) CANCELED(!)
      :END:

Q: why I was not prompted for the WAIT & DONE & CANCELED todo- keywords?

If I C--> on the second heading I have this result:
* DONE Only log when switching to WAIT, and when repeating
      :PROPERTIES:
      :LOGGING: WAIT(@) logrepeat
      :END:
Q: why I was not prompted for the WAIT todo-keywords?

If I C--> on the 3rd heading I have this result:
* DONE No logging at all
 CLOSED: [2010-07-02 ven 14:11]
      :PROPERTIES:
      :LOGGING: nil
      :END:

Q: why a timestamp is added ? shulden't the default be overidden by the
  value in the :PROPERTY:?

Yes, this was a bug, fixed now.

- Carsten


Is this
+ a bug?
+ incomplete documentation?
+ my mistake: I didn't set-up some variable?

cheers,
Giovanni

current state:
==============
(setq
org-log-done 'time
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- vars)
org-agenda-files '()
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-remember-clock-out-on-exit nil
org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
org-export-latex-format-toc-function 'org-export-latex-format-toc- default
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide- result-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-export-first-hook '(org-beamer-initialize-open-trackers)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
org-export-preprocess-before-normalizing-links-hook '(org-remove- file-link-modifiers)
org-mode-hook '((lambda nil
(org-add-hook (quote change-major-mode-hook) (quote org-show- block-all) (quote append)
                   (quote local))
                  )
                 (lambda nil
(org-add-hook (quote change-major-mode-hook) (quote org-babel- show-result-all)
                   (quote append) (quote local))
                  )
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash- at-point
                          org-babel-execute-src-block-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org- babel-exp-inline-src-blocks))
org-enforce-todo-dependencies t
org-occur-hook '(org-first-headline-recenter)
org-export-preprocess-before-selecting-backend-code-hook '(org- beamer-select-beamer-code)
org-remember-templates '((  ))
org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix- toc org-beamer-auto-fragile-frames
                               org-beamer-place-default-actions-for-lists)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org- export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export- blocks-format-dot nil))
)

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]