From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Slideshow using org-tree-to-indirect-buffer
Date: Tue, 3 Apr 2012 09:42:06 -0500 [thread overview]
Message-ID: <CAC=HedAfNxvLx15sxLJLB-LdFCBeunKjFq013RfPCpZNJ3=-1A@mail.gmail.com> (raw)
I'm using org-mode to keep my notes about a slideshow.
The slideshow is a separate PDF, which is fine with me.
I'd like to have a quick 1-button press in emacs that would go
to the next headline, and "open" the headline like the super-cool
org-tree-to-indirect-buffer
so I can see my notes quickly.
I've thought about using the many html export and slideshow options,
but the key thing
is that I want to modify my slideshow notes while presenting, as well
as type in student questions
that happen on a particular slide into org-mode.
So, I thought about writing a small function that would do something like this:
1) Go to the next headline
2) Run org-tree-to-indirect-buffer on the headline
This would get me going in the right direction and save me several key presses,
but I can already see problems if I switch to the indirect buffer to
write down another note. Then,
I'll have to jump back to the other window, and hope that the cursor
is in the right spot
when I run my function again.
A more elegant way would be to only show the indirect buffer, and have
a hotkey that
jumps to the next headline and runs org-tree-to-indirect-buffer.
So here's my question:
If I'm in an indirect buffer, is there a reference back to the location of
the headline in the *parent* document? For example, if I have
* One
* Two
* Three
and I'm zoomed into "Two", could I write a function that would know that I'm
on "Two" in the main document, and then run
org-tree-to-indirect-buffer on "Three"?
Thanks,
--Nate
next reply other threads:[~2012-04-03 14:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 14:42 Nathan Neff [this message]
2012-06-07 19:16 ` Slideshow using org-tree-to-indirect-buffer Nathan Neff
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC=HedAfNxvLx15sxLJLB-LdFCBeunKjFq013RfPCpZNJ3=-1A@mail.gmail.com' \
--to=nathan.neff@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.