Re: [Orgmode] Lock CLOSED tag

2009-07-17 Thread Alan Boudreault
That will not work... because I have all those todo keyword that also means "fixed": Done, Delegated, deferred, wont fix, fixed, canceled. That's why I said that I should pass through a list that contain all keywords. But... that wont work properly if I want to set my item to the "BUG" keyword

Re: [Orgmode] Lock CLOSED tag

2009-07-17 Thread Bastien
Alan Boudreault writes: > 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 > ba

Re: [Orgmode] Lock CLOSED tag

2009-07-17 Thread Alan Boudreault
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

Re: [Orgmode] Lock CLOSED tag

2009-07-17 Thread Bastien
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

Re: [Orgmode] Lock CLOSED tag

2009-07-17 Thread Alan Boudreault
Hi Bastien, 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: - If a similar hook exist for the property update when

Re: [Orgmode] Lock CLOSED tag

2009-07-16 Thread Bastien
Alan Boudreault writes: > Is it possible to lock the CLOSED tag ? Yes, try this: --8<---cut here---start->8--- (add-hook 'org-blocker-hook 'my-blocker-function) (defun my-blocker-function (change-plist) "Prevent TODO changes if CLOSED." (not (equal (pli

Re: [Orgmode] Lock CLOSED tag

2009-07-10 Thread Alan Boudreault
Hello, I didn't know that I could log things like that. Thanks for that hint! Unfortunately, I would prefer to have only one entry and be sure that it wont be overwrited by mistake. Alan On July 10, 2009 01:36:45 pm Nicolas Goaziou wrote: > Alan Boudreault writes: > > > Hello, > > It's maybe

Re: [Orgmode] Lock CLOSED tag

2009-07-10 Thread Nicolas Goaziou
Alan Boudreault writes: Hello, It's maybe not what you're looking for, but you can leave org-log-done to nil and simply define org-todo-keywords with something like : (setq org-todo-keywords '(sequence "TODO(t)" "|" "FIXED(f!)")) Nothing should be overwritten then. HTH, -- Nicolas Goaziou

[Orgmode] Lock CLOSED tag

2009-07-10 Thread Alan Boudreault
Hi, Is it possible to lock the CLOSED tag ? It may happen that I set back a FIXED tag to TODO by mistake, The problem is that when I re-set it to FIXED, the closed tag is overwrited. I would like to lock the closed tag as soon as it is set to a done tag. Best regards, Alan -- Alan Boudreaul