From: Michael Bach <phaebz@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-edit-src-code window setup
Date: Sun, 09 Feb 2014 19:32:06 +0100 [thread overview]
Message-ID: <52F7C9A6.60703@gmail.com> (raw)
In-Reply-To: <CA+M2ft-PhqBNpVNdgbvBLRthbebTxKr90PyGqPO-pUn7HxKm=g@mail.gmail.com>
On 2/7/14 6:01 PM, John Hendy wrote:
> On Fri, Feb 7, 2014 at 5:29 AM, Michael Bach <phaebz@gmail.com> 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 '=.
prev parent reply other threads:[~2014-02-09 18:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 11:29 org-edit-src-code window setup Michael Bach
2014-02-07 17:01 ` John Hendy
2014-02-09 18:32 ` Michael Bach [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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52F7C9A6.60703@gmail.com \
--to=phaebz@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).