[ESS] add TODOs into source code?
gerald.jean at dgag.ca
gerald.jean at dgag.ca
Wed Jul 9 15:27:50 CEST 2008
Hello there,
I'm a long time user of Emacs and ESS and this is new to me! I tried to
"grep" on a large Splus code file and miraculuously I got all the instances
of the grep expression returned in the shell buffer. I couldn't figure out
though how to jump to the selected piece of code in the source file, as
David suggest we can do? How do you do that? I'am on Linux as well and I
ran grep in an Emacs shell.
Thanks to all for these questions and answers that allow us, some of us at
least, to become better Emacs users.
Gérald Jean
Conseiller senior en statistiques, VP Planification et Développement des Marchés
télephone : (418) 835-4900 poste (7639)
télecopieur : (418) 835-6657
courrier électronique: gerald.jean at dgag.ca
"In God we trust, all others must bring data" W. Edwards Deming
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
>
More information about the ESS-help
mailing list