From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Release 5.22 Date: Wed, 20 Feb 2008 22:48:14 +0100 Message-ID: <399B44CF-DECF-41A1-BEED-169A075AB32A@science.uva.nl> References: <5D652E6F-D590-4899-B5AA-4C56E96C4AA3@science.uva.nl> <87ejb7btvh.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: multipart/mixed; boundary="===============0742740705==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRwng-0001e5-AL for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 16:48:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRwnf-0001de-LT for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 16:48:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRwnf-0001da-Ez for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 16:48:23 -0500 Received: from fg-out-1718.google.com ([72.14.220.154]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRwne-0005gQ-NY for emacs-orgmode@gnu.org; Wed, 20 Feb 2008 16:48:23 -0500 Received: by fg-out-1718.google.com with SMTP id d23so2178479fga.30 for ; Wed, 20 Feb 2008 13:48:21 -0800 (PST) In-Reply-To: <87ejb7btvh.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: org-mode mailing list --===============0742740705== Content-Type: multipart/alternative; boundary=Apple-Mail-5--248888229 --Apple-Mail-5--248888229 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Bernt, thanks. Please try the following patch: - Carsten --- org.el.orig 2008-02-20 22:45:38.000000000 +0100 +++ org.el 2008-02-20 22:45:59.000000000 +0100 @@ -4670,7 +4670,7 @@ (defun org-remove-keyword-keys (list) (mapcar (lambda (x) - (if (string-match "(..?)$" x) + (if (string-match "(.+)$" x) (substring x 0 (match-beginning 0)) x)) list)) On Feb 20, 2008, at 3:11 PM, Bernt Hansen wrote: > Carsten Dominik writes: > >> Changes to logging progress >> --------------------------- >> >> There is now more control over which state changes are being >> logged in what way. Please read carefully the corresponding >> sections in the manual. Basically: >> >> - The variable `org-log-done' has been simplified, it no >> longer influences logging state changes and clocking out. >> - There is a new variable for triggering note-taking when >> clocking out an item: `org-log-note-clock-out'. >> - Logging of state changes now has to be configured on a >> pre-keyword basis, either in `org-todo-keywords' or in the >> #+TODO in-buffer setting. >> - These per-keyword settings allow more control. For example >> >> WAIT(w@) Record a note when entering this state. >> WAIT(w!) Record a timestamp when entering this state. >> WAIT(w@/!) Recore a note when entering and timestamp >> when leaving this state. This is great for >> getting a record when switching *back* from >> WAIT to TODO. >> WAIT(/!) Record a timestamp when leaving this state. >> Here we not even define a fast access >> character, but just the logging stuff. >> >> This was triggered by requests from Wanrong Lin and Bernt Hansen. >> > > I tried setting my TODO keywords to > > (setq org-todo-keywords > '((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)") > (sequence "WAITING(w@/!)" "|" "CANCELLED(c!/!)") > (sequence "SOMEDAY(s!/!)" "|"))) > > But that messes up the agenda view. Old DONE tasks appear again > (things > with due dates -446 days ago for instance) > > Removing the /! and restarting emacs fixes it. > > Sorry :( > > Bernt --Apple-Mail-5--248888229 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Bernt,

thanks.  Please try = the following patch:

- Carsten

--- org.el.orig = 2008-02-20 22:45:38.000000000 +0100
+++ org.el     =  2008-02-20 22:45:59.000000000 +0100
@@ -4670,7 +4670,7 = @@
 
 (defun org-remove-keyword-keys = (list)
   (mapcar (lambda (x)
-   =         (if (string-match "(..?)$" x)
+ =           (if (string-match "(.+)$" = x)
               =  (substring x 0 (match-beginning 0))
     =          x))
     =      list))

On Feb 20, 2008, at = 3:11 PM, Bernt Hansen wrote:

Carsten = Dominik <dominik@science.uva.nl> = writes:

Changes to logging = progress
---------------------------

=    There is now more control over which state changes are = being
=    logged in what way.  Please read carefully the = corresponding
=    sections in the manual.  Basically: =

   - The variable `org-log-done' has been = simplified, it no
=      longer influences logging state changes = and clocking out.
=    - There is a new variable for triggering note-taking = when
=      clocking out an item: = `org-log-note-clock-out'.
=    - Logging of state changes now has to be configured on = a
=      pre-keyword basis, either in = `org-todo-keywords' or in the
=      #+TODO in-buffer = setting.
   - = These per-keyword settings allow more control.  For = example

=       WAIT(w@)    Record a = note when entering this state.
=       WAIT(w!)    Record a = timestamp when entering this state.
      WAIT(w@/!) =  Recore a note when entering and = timestamp
=             &n= bsp;     when leaving this state.  This is = great for
=             &n= bsp;     getting a record when switching *back* = from
=             &n= bsp;      WAIT to = TODO.
=       WAIT(/!)    Record a = timestamp when leaving this state.
=             &n= bsp;     Here we not even define a fast = access
=             &n= bsp;     character, but just the logging = stuff.

=    This was triggered by requests from Wanrong Lin and = Bernt Hansen.


I tried setting my TODO keywords = to

(setq org-todo-keywords
=      '((sequence "TODO(t)" "NEXT(n)" "|" = "DONE(d!/!)")
= (sequence "WAITING(w@/!)" "|" "CANCELLED(c!/!)")
(sequence = "SOMEDAY(s!/!)" "|")))

But that messes up the agenda view. =  Old DONE tasks appear again (things
with due dates -446 days = ago for instance)

Removing the /! and restarting emacs fixes = it.

Sorry = :(

Bernt

= --Apple-Mail-5--248888229-- --===============0742740705== 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 --===============0742740705==--