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?
Is there maybe a way to do it?

PS. sorry for the crossposting but here is more appropriate I guess



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to