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: Sat, 16 Feb 2008 12:02:55 +0100 Message-ID: <1EA655B6-CF86-4879-B4C1-3B604C21E4A7@science.uva.nl> References: <87d4qzl68p.fsf@gollum.intra.norang.ca> <87ejbe6ysm.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQKp2-0006cA-Er for emacs-orgmode@gnu.org; Sat, 16 Feb 2008 06:03:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQKoy-0006Yt-D7 for emacs-orgmode@gnu.org; Sat, 16 Feb 2008 06:03:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQKoy-0006Yq-6T for emacs-orgmode@gnu.org; Sat, 16 Feb 2008 06:03:04 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQKox-00021f-HG for emacs-orgmode@gnu.org; Sat, 16 Feb 2008 06:03:03 -0500 Received: by fg-out-1718.google.com with SMTP id d23so725067fga.30 for ; Sat, 16 Feb 2008 03:03:01 -0800 (PST) In-Reply-To: <87ejbe6ysm.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 Yes, still some bugs in there, I am reconsidering how to do this, so please hang on for a while. - Carsten On Feb 15, 2008, at 4:10 PM, Bernt Hansen wrote: > Carsten Dominik writes: > >> 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? > > Thanks!! I'll add an org task to update the Worg FAQ after I get this > all straight in my head. :) > > How do you set both nologging and nologrepeat in properties? Like > this? > > :PROPERTIES: > :LOGGING: nologging > :LOGGING: nologrepeat > :END: > > I've removed my org-log-done setting and changed my todo tag > definitions > to > > (setq org-todo-keywords > '((sequence "TODO(t)" "NEXT(n)" "WAITING(w@)" "SOMEDAY(s!)" "|" > "DONE(d!)" "CANCELLED(c@)"))) > > and completing the repeated task still adds an entry for > > - State "DONE" [2008-02-15 Fri 09:49] > > So I must still be doing something wrong... > I thought nologging was supposed to turn that off. > > 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 > > ,----[ minimal.emacs ] > | (setq org-todo-keywords > | '((sequence "TODO(t)" "NEXT(n)" "WAITING(w@)" "SOMEDAY(s!)" > "|" "DONE(d!)" "CANCELLED(c@)"))) > | (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> > | * TODO two > | SCHEDULED: <2008-03-27 Thu +1w> > | :PROPERTIES: > | :LOGGING: nologging > | :LOGGING: nologrepeat > | :END: > | * TODO three > | SCHEDULED: <2008-02-14 Thu> > | :PROPERTIES: > | :LOGGING: nologging > | :END: > | *** TODO One Two Three > | > `---- > > Then if I change each task to DONE I get this > (no prompts for a closing note -- yay!) > > ,----[ test.org ] > | * DONE one > | SCHEDULED: <2008-02-14 Thu> CLOSED: [2008-02-15 Fri 09:58] > | - State "DONE" [2008-02-15 Fri 09:58] > | * TODO two > | SCHEDULED: <2008-04-03 Thu +1w> > | - State "DONE" [2008-02-15 Fri 09:58] > | :PROPERTIES: > | :LOGGING: nologging > | :LOGGING: nologrepeat > | :END: > | * DONE three > | SCHEDULED: <2008-02-14 Thu> CLOSED: [2008-02-15 Fri 09:58] > | - State "DONE" [2008-02-15 Fri 09:58] > | :PROPERTIES: > | :LOGGING: nologging > | :END: > | *** DONE One Two Three > | CLOSED: [2008-02-15 Fri 09:58] > | - State "DONE" [2008-02-15 Fri 09:58] > | > `---- > > ,----[ from org.texi ] > | nologging @r{don't record when items are marked DONE} > `---- > > So is that > > - don't record the CLOSED: [date goes here] line > - or don't record the - State "DONE" [date goes here] line > - or both? > > I'm still confused :) > > -Bernt