From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Bach Newsgroups: gmane.emacs.help Subject: Re: org-edit-src-code window setup Date: Fri, 07 Feb 2014 12:27:00 +0100 Message-ID: <52F4C304.3020408@gmail.com> References: Reply-To: phaebz@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391772452 10014 80.91.229.3 (7 Feb 2014 11:27:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 11:27:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 12:27:40 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBjat-0002TF-4t for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 12:27:39 +0100 Original-Received: from localhost ([::1]:40921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBjas-0007Dn-Nt for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 06:27:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBjaX-00073a-1t for help-gnu-emacs@gnu.org; Fri, 07 Feb 2014 06:27:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBjaO-00024v-KL for help-gnu-emacs@gnu.org; Fri, 07 Feb 2014 06:27:16 -0500 Original-Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:34159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBjaO-00024m-EA for help-gnu-emacs@gnu.org; Fri, 07 Feb 2014 06:27:08 -0500 Original-Received: by mail-wg0-f54.google.com with SMTP id x13so2139146wgg.21 for ; Fri, 07 Feb 2014 03:27:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:newsgroups:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=LbApF9Adm2UPqqVZ/jYQMfhogBd05AhiAie0v+xmm7Y=; b=0ZbI+uIYH9FbxRkk/Y0h40tcYHChZEvpbbDdaCbHXcGMfm5LjfzPozOOKAnd99QSj3 xwZReepQEiJFpKcpDffOTnlOSsmZM6LYc1fYVGJUuHfBDhf32kySCOvni69iFX7Dw6Ax 1ynJKhgw9x/SOFbWL4pOsGvYk82th+CSodmWjZN8zgln2KhqbZQav8JrCIgramdqBSlj pccBh9+6VRQ9JtWxS56sK/cpZ7Ivo0em/quz6FTWRsiPSQFaInBDKtlzk7kEl+RbiN80 CfNejdsaxn6vOyi1tSNPhKo0bYPGrnS7dZnHZLAjhRkKu32wcGVQ9QKsfI0HaHrg2LHT Sszw== X-Received: by 10.195.13.17 with SMTP id eu17mr10263923wjd.24.1391772427087; Fri, 07 Feb 2014 03:27:07 -0800 (PST) Original-Received: from Fabios-MacBook-Air.local (83-64-142-10.zwischennetz.xdsl-line.inode.at. [83.64.142.10]) by mx.google.com with ESMTPSA id di9sm7343890wid.6.2014.02.07.03.27.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 03:27:05 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 Original-Newsgroups: gmane.emacs.help In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95962 Archived-At: On 2/7/14 12:24 PM, 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'). > > I read up on the internal documentation: > `org-edit-special' > `org-edit-src-code' > `org-src-window-setup' > > other-window (`switch-to-buffer-other-window') > > Now, when I do C-c ' multiple times, the source buffer changes from 2 to > 3 and back again and so on - effectively switching the 'source' and > 'interpreter' window contents on each C-c '. > > After reading the documentation for `switch-to-buffer-other-window', I > wanted to check out the NORECORD option that has the description: > > Optional second argument NORECORD non-nil means do not put this > buffer at the front of the list of recently selected ones. > > Now is there a way to control this option that I miss? Would it have > any effect? How would you handle this situation? > > Best Regards, > Michael Bach > > > argh, wrong list, sorry... but maybe someone here wants to answer anyways...