From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: LOGGING property does not stop asking for a note Date: Fri, 15 Feb 2008 11:05:18 +0100 Message-ID: References: <87d4qzl68p.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: multipart/mixed; boundary="===============1337621636==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPxRg-0001kU-JM for emacs-orgmode@gnu.org; Fri, 15 Feb 2008 05:05:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPxRd-0001jf-0U for emacs-orgmode@gnu.org; Fri, 15 Feb 2008 05:05:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPxRc-0001jX-CW for emacs-orgmode@gnu.org; Fri, 15 Feb 2008 05:05:24 -0500 Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPxRb-00064e-Mg for emacs-orgmode@gnu.org; Fri, 15 Feb 2008 05:05:24 -0500 Received: by wa-out-1112.google.com with SMTP id k34so1135646wah.10 for ; Fri, 15 Feb 2008 02:05:22 -0800 (PST) In-Reply-To: <87d4qzl68p.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org --===============1337621636== Content-Type: multipart/alternative; boundary=Apple-Mail-1--723064746 --Apple-Mail-1--723064746 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Bernt, I have now fixed this, just pushed it into the git repo. Here is the setup that you would need. Please note: (1) Starting from 5.22, in fact starting with the current git master, you should be using org-log-progress instead of org-log-done which is now obsolete and only an alias for org-log-progress. (2) For the repeating entry you need to turn off with both nologging and nologrepeat. (3) Use nologging here. If you have the time, maybe you'd enjoy summarizing this again in a message, and then linking to it from the Worg FAQ? - Carsten ,----[ minimal.emacs ] | (setq org-log-progress '(state)) ;(1) | (setq inhibit-splash-screen t) | (global-font-lock-mode t) | (add-to-list 'load-path (expand-file-name "~/git/org-mode")) | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) | (require 'org-install) | (define-key global-map "\C-ca" 'org-agenda) | (custom-set-variables | '(org-agenda-files (quote ("~/org/test.org")))) | (org-agenda-list) `---- ,----[ test.org ] | * TODO one | SCHEDULED: <2008-02-14 Thu> | - State "TODO" [2008-02-14 Thu 13:46] | - State "DONE" [2008-02-14 Thu 13:45] | * TODO two | SCHEDULED: <2008-02-28 Thu +1w> | - State "DONE" [2008-02-14 Thu 13:46] | - State "DONE" [2008-02-14 Thu 13:45] | :PROPERTIES: | :LOGGING: nologging nologrepeat ;(2) | :END: | * TODO three | SCHEDULED: <2008-02-14 Thu> | - State "TODO" [2008-02-14 Thu 13:46] | - State "DONE" [2008-02-14 Thu 13:45] | :PROPERTIES: | :LOGGING: nologging ;(3) | :END: | *** TODO One Two Three | On Feb 14, 2008, at 7:53 PM, Bernt Hansen wrote: > Hi Carsten, > > I've been trying to get org-mode to stop prompting for a note for some > of my repeated tasks when they are marked as DONE and rescheduled. > > Either I'm doing something wrong or this is a bug. > > ,----[ minimal.emacs ] > | (setq org-log-done '(state)) > | (setq inhibit-splash-screen t) > | (global-font-lock-mode t) > | (add-to-list 'load-path (expand-file-name "~/git/org-mode")) > | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) > | (require 'org-install) > | (define-key global-map "\C-ca" 'org-agenda) > | (custom-set-variables > | '(org-agenda-files (quote ("~/org/test.org")))) > | (org-agenda-list) > `---- > > ,----[ test.org ] > | * TODO one > | SCHEDULED: <2008-02-14 Thu> > | - State "TODO" [2008-02-14 Thu 13:46] > | - State "DONE" [2008-02-14 Thu 13:45] > | * TODO two > | SCHEDULED: <2008-02-28 Thu +1w> > | - State "DONE" [2008-02-14 Thu 13:46] > | - State "DONE" [2008-02-14 Thu 13:45] > | :PROPERTIES: > | :LOGGING: off > | :END: > | * TODO three > | SCHEDULED: <2008-02-14 Thu> > | - State "TODO" [2008-02-14 Thu 13:46] > | - State "DONE" [2008-02-14 Thu 13:45] > | :PROPERTIES: > | :LOGGING: off > | :END: > | *** TODO One Two Three > | > `---- > > I have org-log-done set to state globally and I want to override this > for the repeated task (two) and for another normal task (three). > > It always prompts for a note when I change the state of the TODO > item on > any of these tasks. > > Am I missing something? > > I'm running from the git development tree - currently on commit > 45f1d176da18453bf2fa7f099c486f98351bcab4 > > Org-mode version 5.21 > GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2007-11-03 on pacem, modified by Debian > > Regards, > Bernt > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-1--723064746 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Bernt,

I have now fixed this, = just pushed it into the git repo.

Here is the setup that you = would need.  Please note:

(1) Starting from 5.22, in = fact starting with the current git master,
   =  you should be using org-log-progress instead of org-log-done = which
    is now obsolete and only an alias for = org-log-progress.
(2) For the repeating entry you need to turn = off with both
    nologging and = nologrepeat.
(3) Use nologging here.

If you have the time, = maybe you'd enjoy summarizing this again in a
message, and = then linking to it from the Worg FAQ?

- = Carsten

,----[ minimal.emacs ]
| (setq = org-log-progress '(state))             = ;(1)
| (setq inhibit-splash-screen t)
| (global-font-lock-mode = t)
| (add-to-list 'load-path (expand-file-name = "~/git/org-mode"))
| (add-to-list 'auto-mode-alist '("\\.org$" . = org-mode))
| (require 'org-install)
| (define-key global-map = "\C-ca" 'org-agenda)
| (custom-set-variables
| =  '(org-agenda-files (quote ("~/org/test.org"))))
| = (org-agenda-list)
`----

,----[ test.org ]
| * TODO one
| =   SCHEDULED: <2008-02-14 Thu>
|   - State = "TODO"       [2008-02-14 Thu 13:46]
| =   - State "DONE" =       [2008-02-14 Thu 13:45]
| * TODO = two
|   SCHEDULED: <2008-02-28 Thu +1w>
| =   - State "DONE" =       [2008-02-14 Thu 13:46]
| =   - State "DONE" =       [2008-02-14 Thu 13:45]
| =   :PROPERTIES:
|   :LOGGING: nologging = nologrepeat             ;(2)
| =   :END:  
| * TODO three
|   SCHEDULED: = <2008-02-14 Thu>
|   - State "TODO" =       [2008-02-14 Thu 13:46]
| =   - State "DONE" =       [2008-02-14 Thu 13:45]
| =   :PROPERTIES:
|   :LOGGING: nologging   =                     =   ;(3)
|   :END:
| *** TODO One Two Three
| =     
On Feb 14, 2008, at 7:53 PM, Bernt Hansen = wrote:

Hi Carsten,

I've been trying to get org-mode to = stop prompting for a note for some
of my repeated tasks when they are = marked as DONE and rescheduled.

Either I'm doing something wrong = or this is a bug.

,----[ minimal.emacs ]
| (setq org-log-done = '(state))
| (setq inhibit-splash-screen t)
| = (global-font-lock-mode t)
| (add-to-list 'load-path (expand-file-name = "~/git/org-mode"))
| (add-to-list 'auto-mode-alist '("\\.org$" . = org-mode))
| (require 'org-install)
| (define-key global-map = "\C-ca" 'org-agenda)
| (custom-set-variables
| =  '(org-agenda-files (quote ("~/org/test.org"))))
| = (org-agenda-list)
`----

,----[ test.org ]
| * TODO one
| =   SCHEDULED: <2008-02-14 Thu>
|   - State = "TODO"       [2008-02-14 Thu 13:46]
| =   - State "DONE" =       [2008-02-14 Thu 13:45]
| * TODO = two
|   SCHEDULED: <2008-02-28 Thu +1w>
| =   - State "DONE" =       [2008-02-14 Thu 13:46]
| =   - State "DONE" =       [2008-02-14 Thu 13:45]
| =   :PROPERTIES:
|   :LOGGING: off
| =   :END:  
| * TODO three
|   SCHEDULED: = <2008-02-14 Thu>
|   - State "TODO" =       [2008-02-14 Thu 13:46]
| =   - State "DONE" =       [2008-02-14 Thu 13:45]
| =   :PROPERTIES:
|   :LOGGING: off
| =   :END:
| *** TODO One Two Three
| =     
`----

I have org-log-done set to = state globally and I want to override this
for the repeated task = (two) and for another normal task (three).

It always prompts for = a note when I change the state of the TODO item on
any of these = tasks.

Am I missing something?

I'm running from the git = development tree - currently on = commit
45f1d176da18453bf2fa7f099c486f98351bcab4

Org-mode = version 5.21
GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d = scroll bars) of 2007-11-03 on pacem, modified by = Debian

Regards,
Bernt




_______________________= ________________________
Emacs-orgmode mailing list
Remember: use = `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode

= --Apple-Mail-1--723064746-- --===============1337621636== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1337621636==--