From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Slideshow using org-tree-to-indirect-buffer Date: Tue, 3 Apr 2012 09:42:06 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF50l-0004xC-T6 for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 10:47:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SF50h-0005g5-5X for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 10:47:07 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:36438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF50g-0005fH-Qq for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 10:47:03 -0400 Received: by lagz14 with SMTP id z14so5744600lag.0 for ; Tue, 03 Apr 2012 07:46: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 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