help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TODO in code and org mode


From: Ciss
Subject: Re: TODO in code and org mode
Date: Fri, 29 Jan 2010 09:25:57 -0800 (PST)
User-agent: G2/1.0

On Jan 14, 4:04 pm, andrea <andrea.crott...@gmail.com> wrote:
> I had an idea which would be really nice if I'm able to implement it.
> I write very often in code comments like
> // FIXME: infinite loop
> for example, now is a good thing they're in the code, but I also would
> like to centralize the error management per project in some way.
>
> So I thought something like, adding a hook in after-save-hook that
> checks all the FIXME|TODO... and adds it to an org-mode file.
>
> That org-mode should be like
>
> * FIXME [[file:error.c:20][error.c]] (don't remember the syntax)
>
> Maybe also including the date when this has been written the first time.
> Then if the error is corrected or the nice thing would be adding a
>  CLOSED at [date]
>
> line.
>
> The only problem I see is if you change the text but leave the FIXME,
> in that case maybe the other thing is not CLOSED but it's just changed,
> and we should remove the old and create a new entry.
>
> What do you think, could that be a good idea?
> Thanks

yes! this is very nice.
i will realise this in future for my ruby-code-editing :)
contact me if u want to talk about anythink -
pechorin.andrey@gmail.com (jabber)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]