From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] key binding requests Date: Sun, 11 Jul 2010 21:53:36 -0700 Message-ID: <8739vpmh9c.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48102 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYB2k-0004jw-Bt for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 00:55:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYB2i-0004WW-Vz for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 00:55:02 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:61017) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYB2i-0004WN-Mn for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 00:55:00 -0400 Received: by pvc30 with SMTP id 30so4138874pvc.0 for ; Sun, 11 Jul 2010 21:54:58 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Austin Frank Cc: emacs-orgmode@gnu.org Hi Austin, Austin Frank writes: > Hello! > > I'm loving the level of polish and sophistication that have been > achieved with org-babel. My entire PhD thesis is currently written in > org and org-babel, and it's the best authoring system I've ever used. > Fantastic! happy to hear your finding it useful > > That said, I have a couple of features that I regularly find myself > missing. I wonder whether other folks might also find them useful. > > First, in terms of navigation, I would love to have keybindings under > the C-c C-v prefix that would navigate to the next and previous babel > blocks. org-babel-goto-named-source-block[fn:1] is great, but a) not all my > blocks are named, and b) I don't always remember the name of the block > I'm looking for. On that note... > Done, C-c C-v n and C-c C-v p now navigate to the next and previous code blocks respectively. C-c C-v p used to be used for viewing the expanded body of a code block, this functionality is now behind C-c C-v v for "view" > > Currently, org-babel-goto-named-source-block doesn't currently offer > any completion facilities in my setup. Is there a way to hook it into > the rest of org's completion mechanisms so that I can hit tab to > complete the names of my source blocks? > Done, C-c C-v g for "goto code block" now has completing read. There is also now C-c C-v r for "goto result" which also has completing reads > > Finally, to go along with facilities to navigate from source block to > source block, I'd also make regular use of something like > org-execute-src-block-and-step, which would execute the current block > and then jump to the next (or previous) one. > There are already C-c C-v b and C-c C-v s for evaluating the current buffer, or the current subtree respectively. Also, with the new "goto next code block" functionality it should be easy to implement the behavior you describe in a short macro. > > Thanks again for these excellent tools, > /au > > Footnotes: > > [fn:1] This is the only function that uses "source" instead of "src" in > its name. Should this be changed for consistency? Thanks for pointing this out, I've made this change as well. Thanks for all the great suggestions! -- Eric