Re: Task list like Eclipse's that can keep track of TODOs in multiple source files
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: Task list like Eclipse's that can keep track of TODOs in multiple source files         


Author: Oleksandr Gavenko
Date: Feb 14, 2008 13:01

> Is there a task list mode that will find tags like TODO/XXX/FIXME in
> source files in a directory, make them into tasks and allow me to edit
> them/reorder them in the task list?
>
> I understand that Eclipse and Visual Studio can provide at least some of
> the functionality listed above. The best I can do thus far is the use of
> M-x multi-occur, which is useful but does not allow me to simply
> reorder/sort/edit.
>

Put in .emacs
(setq grep-find-command "find . -type f ! -path '*.svn*' ! -path
'*CVS*' ! -path '*.hg*' -name '*' -print0 | xargs -0 -e grep -nH ")

and type
C-x grep-find XXX\|TODO\|FIXME

It find in all file and subdirectories from current dir of buffer.
5 Comments
Re: Task list like Eclipse's that can keep track of TODOs in multiple source files         


Author: Michael Hoffman
Date: Feb 14, 2008 15:18

Oleksandr Gavenko wrote:
> (setq grep-find-command "find . -type f ! -path '*.svn*' ! -path
> '*CVS*' ! -path '*.hg*' -name '*' -print0 | xargs -0 -e grep -nH ")
>
> and type
> C-x grep-find XXX\|TODO\|FIXME

Should be M-x I think. A very useful suggestion!

What I ended up doing was using org-mode. To keep links with places in
the original file, I made a keyboard macro that replaced the old TODOs
with #1, #2, #3, etc. and copied them to the org file with a link back
to the location of #1 in the original file.
no comments
Re: Task list like Eclipse's that can keep track of TODOs in multiple source files         


Author: Thierry Volpiatto
Date: Feb 14, 2008 22:44

Michael Hoffman sneakemail.com> writes:
Show full article (0.82Kb)
no comments
Re: Task list like Eclipse's that can keep track of TODOs in multiple source files         


Author: Bastien Guerry
Date: Feb 15, 2008 04:39

Michael Hoffman sneakemail.com> writes:
> Thierry Volpiatto wrote:
>> Michael Hoffman sneakemail.com> writes:
>>
>>> What I ended up doing was using org-mode. To keep links with places in
>>> the original file, I made a keyboard macro that replaced the old TODOs
>>> with #1, #2, #3, etc. and copied them to the org file with a link back
>>> to the location of #1 in the original file.
>>>
>> Planner and remember do that without writing anything in the file:
>> when you are in your file you just C-x C-n to be able to take a note
>> linked to that point in the file.
>
> Thanks, but I want a method that will be robust to changes in the linked
> file. I do not understand how this is possible without adding anchors in
> the linked file somehow.

If I understand correctly, what you want is some kind of multi-remember:
you want to be able to create multiple links from the current buffer and
store those links somewhere in an Org file.
Show full article (1.73Kb)
no comments
Re: Task list like Eclipse's that can keep track of TODOs in multiple source files         


Author: Thierry Volpiatto
Date: Feb 15, 2008 10:58

Michael Hoffman sneakemail.com> writes:
> Thierry Volpiatto wrote:
>> Michael Hoffman sneakemail.com> writes:
>>
>>> What I ended up doing was using org-mode. To keep links with places in
>>> the original file, I made a keyboard macro that replaced the old TODOs
>>> with #1, #2, #3, etc. and copied them to the org file with a link back
>>> to the location of #1 in the original file.
>>>
>> Planner and remember do that without writing anything in the file:
>> when you are in your file you just C-x C-n to be able to take a note
>> linked to that point in the file.
>
> Thanks, but I want a method that will be robust to changes in the
> linked file. I do not understand how this is possible without adding
> anchors in the linked file somehow.

It is robust. And you can also create tasks from your file that are
linked to the exact line where you want to work .
Without adding any anchors!
Show full article (1.10Kb)
no comments
Re: Task list like Eclipse's that can keep track of TODOs in multiple source files         


Author: Thierry Volpiatto
Date: Feb 15, 2008 13:02

Michael Hoffman sneakemail.com> writes:
> Thierry Volpiatto wrote:
>> Michael Hoffman sneakemail.com> writes:
>>
>>> Thierry Volpiatto wrote:
>>>> Michael Hoffman sneakemail.com> writes:
>>>>
>>>>> What I ended up doing...
Show full article (1.63Kb)
no comments