[ESS] add TODOs into source code?

Rainer M Krug r.m.krug at gmail.com
Wed Jul 9 12:27:23 CEST 2008


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

Rainer

>
>
> David
>
> --
> David Whiting, Ph.D.
> Advancing Research in Chronic Disease Epidemiology (ARCHEPI) programme
> Institute of Health and Society, The Medical School,
> Newcastle University, Framlington Place, Newcastle upon Tyne, NE2 4HH.
> Tel: +44 191 222 7045;  Extn: 7375; Fax: +44 191 222 8211.
> http://research.ncl.ac.uk/archepi
> www.ncl.ac.uk/ihs
>
>
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Plant Conservation Unit
Department of Botany
University of Cape Town
Rondebosch 7701
South Africa




More information about the ESS-help mailing list