Org-mode mailing list
 help / color / mirror / Atom feed
From: Juri Linkov <>
To: Leo <>
Subject: Re: S-RET
Date: Mon, 16 Nov 2020 11:49:53 +0200
Message-ID: <> (raw)
In-Reply-To: <87eekt7l4l.fsf@leo-B85-HD3.i-did-not-set--mail-host-address--so-tickle-me> ('s message of "Mon, 16 Nov 2020 09:37:30 +0100")

>> What I miss in Org Babel is an equivalent of 'S-RET' that in Jupyter
>> creates a new code block relative to the current code block.
> 'C-c C-v C-d' (org-babel-demarcate-block) splits current code block into
> two with the same settings. It might be what you want. Just bind it to
> something easier to access maybe :P

Thanks, I tried 'C-c C-v C-d', but it's not exactly what is needed,
just an approximation.

When #+RESULTS: already exists after the #+END_SRC line,
'C-c C-v C-d' doesn't add a new #+BEGIN_SRC after #+RESULTS:,
it adds before it (however, this could be mitigated by evaluating
both blocks after splitting.)

      reply	other threads:[~2020-11-16  9:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-14 20:15 S-RET Juri Linkov
2020-11-14 22:27 ` S-RET John Kitchin
2020-11-15  9:31   ` S-RET Juri Linkov
2020-11-16 18:37     ` S-RET John Kitchin
2020-11-16  8:37 ` S-RET Leo
2020-11-16  9:49   ` Juri Linkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ \
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone