all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien Guerry <bzg@altern.org>
To: Michael Hoffman <b3i4old02@sneakemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Task list like Eclipse's that can keep track of TODOs in multiple source files
Date: Fri, 15 Feb 2008 12:39:23 +0000	[thread overview]
Message-ID: <87k5l6bdhg.fsf@bzg.ath.cx> (raw)
In-Reply-To: <fp3vri$tq1$1@ger.gmane.org> (Michael Hoffman's message of "Fri,  15 Feb 2008 12:16:48 +0000")

Michael Hoffman <b3i4old02@sneakemail.com> writes:

> Thierry Volpiatto wrote:
>> Michael Hoffman <b3i4old02@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.

Maybe you can have something near by using a clever template:

(setq org-remember-templates 
      '(("Code" ?c"* %T%?\n\n%(my-list-of-todo-links)" 
         "~/org/annotation.org" "Code")

With `my-list-of-todo-links' creating a list of links to all the
locations where you have a TODO in the buffer, resulting in:

- TODO #1: [[~/buffre::(defun foo][My foo defun to debug]]
- TODO #2: [[~/buffre::(defun bar][My bar defun to debug]]
- ...

This is bit as if you replace the %a in the template by a %(sexp) 
doing the job of harvesting several links. 

The only problem with this is that remember this won't get rid of such
previously remembered items (hence the %T in the template.)  You would
have to delete/archive them by hand.

HTH

-- 
Bastien




  reply	other threads:[~2008-02-15 12:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6800.1201782916.18990.help-gnu-emacs@gnu.org>
2008-02-01  7:22 ` Task list like Eclipse's that can keep track of TODOs in multiple source files Tim X
2008-02-01 16:33   ` Michael Hoffman
     [not found]   ` <mailman.6845.1201883637.18990.help-gnu-emacs@gnu.org>
2008-02-04  8:13     ` Sébastien Vauban
2008-02-04 17:32       ` Michael Hoffman
2008-02-14 21:01 ` Oleksandr Gavenko
2008-02-14 23:18   ` Michael Hoffman
2008-02-15  6:44     ` Thierry Volpiatto
2008-02-15 12:16       ` Michael Hoffman
2008-02-15 12:39         ` Bastien Guerry [this message]
2008-02-15 18:58         ` Thierry Volpiatto
2008-02-15 19:32           ` Michael Hoffman
2008-02-15 21:02             ` Thierry Volpiatto
2008-01-31 12:30 Michael Hoffman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k5l6bdhg.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=b3i4old02@sneakemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.