emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Boudreault <aboudreault@mapgears.com>
To: Bastien <bastienguerry@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Lock CLOSED tag
Date: Fri, 17 Jul 2009 11:16:37 -0400	[thread overview]
Message-ID: <200907171116.37762.aboudreault@mapgears.com> (raw)
In-Reply-To: <87eisfbd18.fsf@bzg.ath.cx>

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 <aboudreault@mapgears.com> 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

  reply	other threads:[~2009-07-17 15:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 14:24 Lock CLOSED tag Alan Boudreault
2009-07-10 17:36 ` Nicolas Goaziou
2009-07-10 18:00   ` Alan Boudreault
2009-07-16 23:45 ` Bastien
2009-07-17 12:54   ` Alan Boudreault
2009-07-17 14:27     ` Bastien
2009-07-17 15:16       ` Alan Boudreault [this message]
2009-07-17 15:29         ` Bastien
2009-07-17 15:39           ` Alan Boudreault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200907171116.37762.aboudreault@mapgears.com \
    --to=aboudreault@mapgears.com \
    --cc=bastienguerry@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).