From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Arkell Subject: Re: [babel] key binding requests Date: Sat, 10 Jul 2010 13:17:02 -0400 Message-ID: <27A04203-1FB8-4F68-8868-5CDAB9AA01F7@criticalmass.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=53839 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXdg7-0004KX-DV for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:17:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXdg1-0004p5-Ad for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:17:27 -0400 Received: from brewer.cmass.criticalmass.com ([207.61.21.2]:39479) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXdg1-0004mv-0x for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:17:21 -0400 In-Reply-To: Content-Language: en-US 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" > 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. Agreed! Although I am coming from a completely different perspective (Deve= loper using it for literate programming), org-babel is, in fact, as the kid= s say, the bomb. > 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. One of the things you could do here is to search forward or backward for #+= BEGIN_SRC. You could even record a macro to make it. That would at least = hold you over till it was developed. I also agree about completion based on the name of the source block. That = would be very handy. If I may be so bold as to piggyback on Austins featur= e request, if the gathering of the candidates happened in a separate functi= on from the interactive function that does the completion, then it could be= used by packages like auto-complete. __________________________________ Jonathan Arkell Tech Lead Inspired By Drum & Bass, Scheme, Kawaii p. 403.206.4377 402 -- 11th Ave SE Calgary, AB, Canada T2G 0Y4 jonathana@criticalmass.com criticalmass.com On Jul 10, 2010, at 8:22 AM, Austin Frank wrote: > 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. > > 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... > > 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? > > 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. > > 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? > > > -- > Austin Frank > http://aufrank.net > GPG Public Key (D7398C2F): http://aufrank.net/personal.asc > The information contained in this message is confidential. It is intended t= o be read only by the individual or entity named above or their designee. I= f the reader of this message is not the intended recipient, you are hereby = notified that any distribution of this message, in any form, is strictly pr= ohibited. If you have received this message in error, please immediately no= tify the sender and delete or destroy any copy of this message.