From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yOViA8hLsl8GBgAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 09:52:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cLXROsdLsl+LOwAAbx9fmQ (envelope-from ) for ; Mon, 16 Nov 2020 09:52:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AE43D94011C for ; Mon, 16 Nov 2020 09:52:07 +0000 (UTC) Received: from localhost ([::1]:51244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kebB8-0003Zj-Nk for larch@yhetil.org; Mon, 16 Nov 2020 04:52:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kebAO-0003ZX-Do for emacs-orgmode@gnu.org; Mon, 16 Nov 2020 04:51:20 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:48633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kebAL-0006Ap-Jd for emacs-orgmode@gnu.org; Mon, 16 Nov 2020 04:51:20 -0500 X-Originating-IP: 91.129.97.46 Received: from mail.gandi.net (m91-129-97-46.cust.tele2.ee [91.129.97.46]) (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 7F62F1C0004; Mon, 16 Nov 2020 09:51:12 +0000 (UTC) From: Juri Linkov To: Leo Subject: Re: S-RET Organization: LINKOV.NET References: <87sg9bn19u.fsf@mail.linkov.net> <87eekt7l4l.fsf@leo-B85-HD3.i-did-not-set--mail-host-address--so-tickle-me> Date: Mon, 16 Nov 2020 11:49:53 +0200 In-Reply-To: <87eekt7l4l.fsf@leo-B85-HD3.i-did-not-set--mail-host-address--so-tickle-me> (leo@relevant-information.com's message of "Mon, 16 Nov 2020 09:37:30 +0100") Message-ID: <87h7ppeim6.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.197; envelope-from=juri@linkov.net; helo=relay5-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/16 04:37:19 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.64 X-TUID: WzEDJur4HPB0 >> 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.)