emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: logging & PROPERTIES [6.36trans]
Date: Sun, 4 Jul 2010 08:22:52 +0200	[thread overview]
Message-ID: <A6A9B080-35C1-4F6F-AE2A-5BCB524655C0@gmail.com> (raw)
In-Reply-To: <83sk426o6w.fsf@yahoo.it>

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 <carsten.dominik@gmail.com>	
> 	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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

  reply	other threads:[~2010-07-04  6:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 12:52 Bug: logging & PROPERTIES [6.36trans] Giovanni Ridolfi
2010-07-04  6:22 ` Carsten Dominik [this message]
2010-07-05 10:52   ` Giovanni Ridolfi
2010-07-05 14:51     ` Carsten Dominik
2010-07-05 15:49       ` Giovanni Ridolfi
2010-07-06  7:10         ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A6A9B080-35C1-4F6F-AE2A-5BCB524655C0@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=giovanni.ridolfi@yahoo.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).