From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: org-babel - utility to ease chopping src chunks into smaller org entries Date: Mon, 20 Sep 2010 17:15:34 +0200 Message-ID: <87fwx4jvjd.fsf@mundaneum.com> References: <878w2xfllt.fsf@gmail.com> <877hihdqtz.fsf@gmail.com> <87fwx4sco2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, "Eric Schulte" wrote: > I've just added [org-babel-demarcate-block] to the org-mode repo. A comment. Consider the following, with a region beginning at =3Dcmd1=3D and ending after =3Dcmd3=3D (in other words, a full block of 3 lines): --8<---------------cut here---------------start------------->8--- Text before cmd1 cmd2 cmd3 Text after --8<---------------cut here---------------end--------------->8--- After invoking your function, I get this: --8<---------------cut here---------------start------------->8--- Text before #+begin_src sh cmd1 cmd2 cmd3 #+end_src Text after --8<---------------cut here---------------end--------------->8--- Very good, except that I would expect the space line out of the code block,= as it was not in my selected text: --8<---------------cut here---------------start------------->8--- Text before #+begin_src sh cmd1 cmd2 cmd3 #+end_src Text after --8<---------------cut here---------------end--------------->8--- Is this possible? > For now it still lives in the babel keymap behind (C-c C-v d) since it > is fundamentally code-block related, however it can be called from > anywhere in an org-mode file, and could of course be bound to any other > key sequence in a personal config. I don't see any key binding (yet), after org-reload. Thanks for this... Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode