* Open an org-mode file from C++ source code and automatically create an item
@ 2011-06-07 19:10 Lex Fridman
2011-06-07 19:45 ` Jambunathan K
0 siblings, 1 reply; 2+ messages in thread
From: Lex Fridman @ 2011-06-07 19:10 UTC (permalink / raw)
To: emacs-orgmode
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Open an org-mode file from C++ source code and automatically create an item
2011-06-07 19:10 Open an org-mode file from C++ source code and automatically create an item Lex Fridman
@ 2011-06-07 19:45 ` Jambunathan K
0 siblings, 0 replies; 2+ messages in thread
From: Jambunathan K @ 2011-06-07 19:45 UTC (permalink / raw)
To: Lex Fridman; +Cc: emacs-orgmode
> 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.
How about looking at the manual? org-store-link and org-insert-link are
pretty good starting point.
If the target file is going to be modified in non-trivial manner I
suggest one of the following:
1. Plain old bookmarks
2. Plain old TODO, FIXME or [YOUR INITIALS] markers
3. Collecting the function tags in the Org file as headlines and jumping
to it.
Summary: Your imagined workflow sounds cool but would suck very
soon. Don't ask me why
Jambunathan K.
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-07 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 19:10 Open an org-mode file from C++ source code and automatically create an item Lex Fridman
2011-06-07 19:45 ` Jambunathan K
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).