From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lex Fridman Subject: Open an org-mode file from C++ source code and automatically create an item Date: Tue, 7 Jun 2011 15:10:38 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU1g7-0001SK-B5 for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 15:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QU1g5-0006Y9-Iw for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 15:11:03 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:64264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU1g5-0006Xx-04 for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 15:11:01 -0400 Received: by iyl8 with SMTP id 8so5345966iyl.0 for ; Tue, 07 Jun 2011 12:10:59 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I'm working on a C++ project. Suppose I have the following directory structure: project/ project/src And I have the following files: project/ChangeLog project/todo.org project/src/foo.cpp I can work on the C++ source code in `foo.cpp` and then add a line into the ChangeLog file just with `C-x 4 a` as the following describes: http://bit.ly/kpcDSp How can I achieve that same kind of functionality with org-mode on the file `todo.org`. I would like to keep a to do list relative to the source code. So if in `foo.cpp` I need to finish a function `void Foo::bla()` I would like an entry to be added to `todo.org` that mentions this function and the file it resides in much like `C-x 4 a` does for ChangeLog. I would also like to be able to have the backward link from the org file to the `foo.cpp` file in which the to-do task is. There is so much documentation, tutorials, information available on org-mode, so I'm sorry if I'm asking a dumb question that's already been covered extensively elsewhere. I tried searching Google and this mailing list, but found nothing that addresses this. Thanks!