From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: Edit whole session with org-edit-src-edit Date: Mon, 9 Oct 2017 02:40:09 +0000 Message-ID: <793E22AA-A516-4DDC-A61C-067D9B4735E3@ucsd.edu> References: <87vajpl00m.fsf@urkud.name> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1NzP-0000kn-0B for emacs-orgmode@gnu.org; Sun, 08 Oct 2017 22:40:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1NzL-0006J8-KM for emacs-orgmode@gnu.org; Sun, 08 Oct 2017 22:40:18 -0400 Received: from iport-bcv3-out.ucsd.edu ([132.239.0.89]:12794) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1NzL-0006Bi-4d for emacs-orgmode@gnu.org; Sun, 08 Oct 2017 22:40:15 -0400 In-Reply-To: <87vajpl00m.fsf@urkud.name> Content-Language: en-US Content-ID: <196FB3FAB2B5D74FB230B733A1F492C7@AD.UCSD.EDU> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Yury G. Kudryashov" Cc: "emacs-orgmode@gnu.org" > On Oct 8, 2017, at 3:58 PM, Yury G. Kudryashov wrote: >=20 > Hello, >=20 > I want to use orgmode for literate programming with Coq. > I like the "edit in major mode" org-edit-src-edit feature, but it > exports only the current src block to the temprorary buffer, so it's > impossible to debug the file in the temporary buffer using coq-mode > (proofgeneral) "phrase by phrase" execution. >=20 > I think that some other languages may have similar problems. Say, > code completion works better, if the whole file is available. I used the babel jump facility proposed here: From: Andrew Kirkpatrick Subject: Jumping between source blocks in a file Message-ID: Archived-At: It is not `all blocks in one buffer', but by jumping from one to the next I= get much the same effect. Any changes in a block get written back to the = org buffer when you jump to the next block. Binding the `*-next' function = to meta-down and `*-previous' to `meta-up' makes navigation intuitive. HTH, Chuck