From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.help 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 Message-ID: <87k5l6bdhg.fsf@bzg.ath.cx> References: <877ih6en16.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203079209 3444 80.91.229.12 (15 Feb 2008 12:40:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 12:40:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Hoffman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 13:40:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JPzra-0004Ol-UH for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2008 13:40:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPzr6-0002ah-QS for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2008 07:39:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPzqk-0002Xt-0O for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 07:39:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPzqi-0002VS-J4 for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 07:39:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPzqi-0002VE-BW for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 07:39:28 -0500 Original-Received: from mu-out-0910.google.com ([209.85.134.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPzqh-00031D-Vh for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 07:39:28 -0500 Original-Received: by mu-out-0910.google.com with SMTP id g7so498351muf.0 for ; Fri, 15 Feb 2008 04:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=SydSdzlcvZD/r4iv+nS7TXpzNiqCaSFkBAs5K/RMJKU=; b=doMix6myG2D+vqual0wg2Q0404Ge0DreBywDqPNw8qHAMWTBcorDcDMDvqpWBBPJok7286KzrSNZO5I6OHa/By9Hg1OmjOhJvfaiVMFMZY0Q2uFnuOCEzDxbuW6hoQJsKv/NvReFa8VUIhkdqdLSkUH0klitygYRHzuqSdP+/bE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=dY9ncLAPwmt+ut+l3EGFpvC/ae9ntw1jKZ3ZDOKgq8QQK4ZaRUHimwNv+cXgFucLs8PIspLhWr54FWB8yQOrJCQ7c+kdjQamFZSQUFjmm0yXDt3JB+m+OOakMBAT89NQGC6c7Y5Tw52NSxH2ZOy1AhYqOXPSYCJnc2OEU/biuyQ= Original-Received: by 10.78.45.13 with SMTP id s13mr3188549hus.55.1203079166693; Fri, 15 Feb 2008 04:39:26 -0800 (PST) Original-Received: from bzg.ath.cx ( [81.99.213.34]) by mx.google.com with ESMTPS id k5sm8192840nfd.23.2008.02.15.04.39.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Feb 2008 04:39:25 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 812011575BD; Fri, 15 Feb 2008 12:39:23 +0000 (GMT) In-Reply-To: (Michael Hoffman's message of "Fri, 15 Feb 2008 12:16:48 +0000") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51557 Archived-At: Michael Hoffman writes: > Thierry Volpiatto wrote: >> Michael Hoffman 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