I like keeping TODOs inside my source code next to lines that need updating. Can I include these in Org-mode’s agenda?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would need to add those files to your
org-agenda-files. But this is going to clutter your agenda with all the stuff inside your source files and there is nothing like anorg-prog-modeI know of.It might be easier to invert the process by defining an appropriate
org-capture. You can just use the place from which you triggered the capture process and put it as a link in the entry you create. You can then navigate to the place by usingC-owhen the point is on top of the right entry. You probably also want to useorg-refileto get the TODO to the proper subtree for your project.Actually the default capture template is pretty close to what works for me: