emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lex Fridman <lexfridman@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Open an org-mode file from C++ source code and automatically create an item
Date: Tue, 7 Jun 2011 15:10:38 -0400	[thread overview]
Message-ID: <BANLkTi=1-UsYx2a6ZB+zciVbv6zWQPP6rw@mail.gmail.com> (raw)

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!

             reply	other threads:[~2011-06-07 19:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 19:10 Lex Fridman [this message]
2011-06-07 19:45 ` Open an org-mode file from C++ source code and automatically create an item Jambunathan K

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to='BANLkTi=1-UsYx2a6ZB+zciVbv6zWQPP6rw@mail.gmail.com' \
    --to=lexfridman@gmail.com \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).