From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: [PATCH] Re: org-edit-src-code : same window? Date: Wed, 01 Sep 2010 21:22:37 +0200 Message-ID: References: <4C7EA62B.7020001@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=46656 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oqsth-00020c-OG for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 15:23:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oqstg-0005q0-26 for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 15:23:01 -0400 Received: from lo.gmane.org ([80.91.229.12]:49253) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oqstf-0005pf-Lh for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 15:22:59 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oqsta-0000Xs-SQ for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 21:22:54 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Sep 2010 21:22:54 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Sep 2010 21:22:54 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Erik Iverson writes: > See the org-src-window-setup variable. > > I think you want it set to current-window. Well spotted. Thanks. Here is a small path to update the docs to mention this :- --8<---------------cut here---------------start------------->8--- diff --git a/lisp/org-src.el b/lisp/org-src.el index 7ed7606..920fa8a 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -200,7 +200,7 @@ The example is copied to a separate buffer, and that buffer is switched to the correct language mode. When done, exit with \\[org-edit-src-exit]. This will remove the original code in the Org buffer, and replace it with the edited version. Optional argument CONTEXT is used by -\\[org-edit-src-save] when calling this function." +\\[org-edit-src-save] when calling this function. See \\[org-src-window-setup] to configure the buffer open mode." (interactive) (unless (eq context 'save) (setq org-edit-src-saved-temp-window-config (current-window-configuration))) --8<---------------cut here---------------end--------------->8--- > > Richard Riley wrote: >> Is there a way to configure emacs/org so that C-c ' which calls >> org-edit-src-code for me opens the source in the same window rather >> than splitting the window and continuing to show the then redundant org >> babel source? >> >> cheers >> >> r. >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- ☘ http://www.shamrockirishbar.com, http://www.richardriley.net "Learning French is trivial: the word for horse is 'cheval' and everything follows thusly." : quotemaster, #emacs on irc.freenode.net