emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: org-babel - utility to ease chopping src chunks into s


From: Eric Schulte
Subject: Re: [Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries
Date: Tue, 21 Sep 2010 06:44:56 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Seb,

Thanks for pointing this out, I've pushed up a fix to this spacing
issue.

Best -- Eric

Sébastien Vauban <address@hidden> writes:

> 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 =cmd1= and
> ending after =cmd3= (in other words, a full block of 3 lines):
>
> Text before
>
> cmd1
> cmd2
> cmd3
>
> Text after
>
> After invoking your function, I get this:
>
> Text before
>
> #+begin_src sh
> cmd1
> cmd2
> cmd3
>
> #+end_src
> Text after
>
> Very good, except that I would expect the space line out of the code block, as
> it was not in my selected text:
>
> Text before
>
> #+begin_src sh
> cmd1
> cmd2
> cmd3
> #+end_src
>
> Text after
>
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]