[ESS] add TODOs into source code?
Sebastian P. Luque
spluque at gmail.com
Wed Jul 9 15:07:24 CEST 2008
On Wed, 9 Jul 2008 12:27:23 +0200,
"Rainer M Krug" <r.m.krug at gmail.com> wrote:
> On Wed, Jul 9, 2008 at 12:09 PM, David Whiting <david.whiting at ncl.ac.uk> wrote:
>> On Wed, Jul 09, 2008 at 11:07:39AM +0100, David Whiting wrote:
>> In emacs I use
>>> M-x occur RET TODO RET
>>> This gives you a buffer with all the TODOs. If you add a very short
>>> one-line description after the word TODO you see that as well, e.g.:
>>> 2 lines matching "TODO" in buffer incidence.Rnw. 340:## TODO:
>>> Optimise this wobbly code 423:## TODO: Using dodgey faked
>>> value. Need to replace with real one
>> I forgot to mention that you can then select one of these and it will
>> jump to that line in your code.
> Thanks a lot - I love emacs :-)
> needing a special tool to do TODO lists - time and effort thinking the
> emacs way - priceless
Another alternative is planner.el
(http://www.emacswiki.org/cgi-bin/wiki/PlannerMode), where you can set
up projects with corresponding tasks. As you work with your code, you
do planner-create-task-from-buffer, describe your task (your TODO), and
select what project to add it to. In your project's task list, each
item is hyperlinked to the line in the source file where you added it.
--
Seb
More information about the ESS-help
mailing list