From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Boudreault Subject: Re: Lock CLOSED tag Date: Fri, 17 Jul 2009 11:16:37 -0400 Message-ID: <200907171116.37762.aboudreault@mapgears.com> References: <200907101024.33972.aboudreault@mapgears.com> <200907170854.03027.aboudreault@mapgears.com> <87eisfbd18.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRpAs-0001IV-CC for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:16:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRpAn-00017H-Ik for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:16:38 -0400 Received: from [199.232.76.173] (port=51798 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRpAn-00016s-AN for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:16:33 -0400 Received: from smtp171.iad.emailsrvr.com ([207.97.245.171]:50246) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRpAm-0000ha-7C for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:16:32 -0400 In-Reply-To: <87eisfbd18.fsf@bzg.ath.cx> Content-Disposition: inline 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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, When I said "todo tag"... I meant "todo keyword". Here's a example of what I'm trying to achieve: *** FIXED a bug CLOSED: [2009-07-08 Wed 16:49] By mistake, I can set the item to "Reopened" by example. And If I switch it back to the proper todo keywork "FIXED". The closed property is overwrited. I'm trying to block the update of the CLOSED Property IF it already exist. Thanks For your help, and sorry for my english: I'm a french canadian ;) Alan On July 17, 2009 10:27:15 am Bastien wrote: > Hi Alan, > > Alan Boudreault writes: > > I've take a look at the code you sugested to me. It didn't work. After > > further documentation reading... it's definitively normal. "CLOSED" is > > not a todo tag string... but a property (logdone). At this point, I have > > two choice: > > I assumed your original question was about locking a CLOSED todo > keywords... > > > - If a similar hook exist for the property update when a tag has changed > > No. For now `org-blocker-hook' can only handle todo changes. > > > - Make a string list with all my "closed/done/fixed ... tags" and block > > those changes. This way, I'll force a manual tag change when the current > > tag is a closed one. > > I don't understand... can you give an example? > > > But, I would prefer the first idea because I normally switch my todo tag > > with shift+(left|right)... so it pass through my 3 different todo > > sequences. > > What you mean by "todo tag" is a TODO keyword, right? "Tag" has as > special meaning in Org. I think what you try to achieve can be better > achieved wigth TODO keywords than with tags. > > Please do insist if I don't cleerly understand. -- Alan Boudreault Mapgears http://www.mapgears.com