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

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

Re: todo list auto generation from code comments


From: Tim X
Subject: Re: todo list auto generation from code comments
Date: Wed, 30 Apr 2008 18:45:58 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

map7 <michael@dtcorp.com.au> writes:

> Is there a plugin out there which will allow me to gather all the '#TODO'
> comments from my ruby code and generate a todo list?
>
> I've seen this feature in other IDE's and think it would be useful.  If it
> doesn't exist does anyone know if lisp is capable of performing this?

eLisp is certainly capable of doing this. Lots of the bits are already
available, but you will probably need to 'glue' them together. I've
thought about something similar, but never had the time to do it.

What I currently do is use org-mode and planner-mode to do this (I'm
sort of between the two worlds just now - haven't decided which I like
better planner-mode or org-mode). In either case, both support
remember-mode (now bundled in CVS emacs, but also available as a
stand-alone). Essentially, I have a hot key (f6) setup so that it opens
a 'remember' buffer. I write the note/todo/fixme in the buffer and when
I save it with C-c C-c, it puts the text in a file and includes a
hyperlink to the spot in the buffer you werer working in when you called
up remember. In my case, the note goes into either a planner file or an
org-mode project file and is marked as a todo. In org-mode, you can get
a quick display of your todo items with akey press and clicking on the
yperlink takes you to the relevant file. It all works really well.

The only functionality I would like is for the remember note to be added
as a comment in the current working file e.g. C source code file as well
as the planner/org project file. I'm sure this could be done with only a
bit of elisp, its just never got high enough on my todo list (one of the
problems of having an effective todo system - you soon find you have
lots of todos!)

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

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