From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: logging & PROPERTIES [6.36trans] Date: Sun, 4 Jul 2010 08:22:52 +0200 Message-ID: References: <83sk426o6w.fsf@yahoo.it> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54324 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVIbT-0004Kn-O0 for emacs-orgmode@gnu.org; Sun, 04 Jul 2010 02:23:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVIbR-0008FH-Ls for emacs-orgmode@gnu.org; Sun, 04 Jul 2010 02:22:59 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:44438) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVIbR-0008F1-8w for emacs-orgmode@gnu.org; Sun, 04 Jul 2010 02:22:57 -0400 Received: by ewy28 with SMTP id 28so1588592ewy.0 for ; Sat, 03 Jul 2010 23:22:55 -0700 (PDT) In-Reply-To: <83sk426o6w.fsf@yahoo.it> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giovanni Ridolfi Cc: emacs-orgmode@gnu.org 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 > 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