From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Lowis" Subject: Consolidation of file-based TODOs Date: Thu, 24 Aug 2006 09:06:17 +0100 Message-ID: <6d92fa980608240106g31a1a501rad651b8ac8209cb4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGAEI-0006Ny-12 for emacs-orgmode@gnu.org; Thu, 24 Aug 2006 04:06:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGAEF-0006N7-5o for emacs-orgmode@gnu.org; Thu, 24 Aug 2006 04:06:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGAEF-0006Mh-18 for emacs-orgmode@gnu.org; Thu, 24 Aug 2006 04:06:19 -0400 Received: from [64.233.166.177] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGAMF-0003GN-PS for emacs-orgmode@gnu.org; Thu, 24 Aug 2006 04:14:35 -0400 Received: by py-out-1112.google.com with SMTP id d42so468161pyd for ; Thu, 24 Aug 2006 01:06:18 -0700 (PDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I am a happy user of Org-mode. Recently I was thinking of an improvement to the way I work with it, and wondered if any other users have tried this, or have thoughts. I like to add "TODO" and "FIXME" type comments throughout the code and LaTeX documents I am working on. What would be nice is if these could automatically be added to my .org file. Ideally the "*" Project Heading could be derived either from the file name, or the directory (for multiple files that constitute a single "project" ) . Something like * ~/work/writing/Thesis.tex ** TODO - work on this section ** TODO - fix this caption * ~work/source_code/project1/ ** TODO - source_file1.c - verify this works ** TODO - source_file2.c - add new algorithm here ..etc. I thought about writing a shell-type script to do this, but a native elisp extension to org-mode would be much cleaner, and perhaps of use to other people. I'm not quite sure how to begin though. Thank you, Chris -- Chris Lowis http://www.chrislowis.co.uk/