From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: org-babel - utility to ease chopping src chunks into smaller org entries Date: Mon, 20 Sep 2010 21:09:36 +0100 Message-ID: <87iq20p473.fsf@stats.ox.ac.uk> References: <878w2xfllt.fsf@gmail.com> <877hihdqtz.fsf@gmail.com> <87fwx4sco2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=52041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxmiP-0006vU-HM for emacs-orgmode@gnu.org; Mon, 20 Sep 2010 16:13:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxmgH-00057u-Jl for emacs-orgmode@gnu.org; Mon, 20 Sep 2010 16:09:42 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:59014) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxmgH-00057j-B7 for emacs-orgmode@gnu.org; Mon, 20 Sep 2010 16:09:41 -0400 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: Eric Schulte Cc: emacs-orgmode@gnu.org, Richard Riley [...] >>> I was just pulling up my email to share my next iteration when I saw >>> your next iteration. They look very similar. If my version covers all >>> of your use cases, then I'd like to add it to the Babel key map, >>> probably under "d" for demarcate or delimit, unless you can think of a >>> better mnemonic. > > I've just added this to the org-mode repo. > >> Not in the babel key map - in the org key map (I use it most in normal >> non src org entries to mark a block of elisp as src for samples/examples). > > For now it still lives in the babel keymap behind (C-c C-v d) since it > is fundamentally code-block related, For me, "fundamentally code-block related", in the absence of execution-related functionality, points to org-src.el rather than org-babel, so I suggest naming this function org-src-demarcate-block. The babel keymap is still a good place for a binding -- I think it's reasonable for the babel keymap to accomodate pure code block stuff in addition to execution/tangling stuff. Dan