From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Bach Subject: Re: org-edit-src-code window setup Date: Sun, 09 Feb 2014 19:32:06 +0100 Message-ID: <52F7C9A6.60703@gmail.com> References: Reply-To: phaebz@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCZB6-0002pT-PE for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 13:32:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCZAy-0000tQ-Bu for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 13:32:28 -0500 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:52210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCZAy-0000tH-4o for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 13:32:20 -0500 Received: by mail-ea0-f177.google.com with SMTP id n15so2557694ead.22 for ; Sun, 09 Feb 2014 10:32:19 -0800 (PST) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode On 2/7/14 6:01 PM, John Hendy wrote: > On Fri, Feb 7, 2014 at 5:29 AM, Michael Bach wrote: >> Dear org-mode Developers and Users, >> >> (Org-mode version 8.2.5g from git) >> >> I want to change the behaviour of C-c ' when inside a source block. >> What I am after is best described in a schematic: >> >> +---------------+---------------+ >> | | | >> | | 2 | >> | | | >> | | | >> + 1 +---------------+ >> | | | >> | | 3 | >> | | | >> | | | >> +---------------+---------------+ >> >> I am editing the .org file in window 1 ('org'). I want C-c ' to display >> the code block contents in window 2 ('source'). In window 3 I want to >> have the interpreter for the language I am editing ('interpreter'). > > Can you clarify whether you simply want to obtain this view in Emacs > and are not sure how, or if you are asking for a way to automate the > process via a keyboard binding/macros/function in order to do this > automatically on every use of =C-c '=? > I set this view up myself and also remember that there is a way to automate this. My problem is not with the setup per se, but with the behaviour that if I repeatedly press =C-c '= in the mentioned window setup, the org src buffer is alternatingly displayed in window 2 and 3, which is annoying (distracting) I would like the interpreter buffer to stay in window 3 and the org src buffer always be displayed in window 2 if I press =C-c '=.