From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [PATCH] Re: org-edit-src-code : same window? Date: Wed, 01 Sep 2010 21:20:37 -0700 Message-ID: <87aao06aju.fsf@stats.ox.ac.uk> References: <4C7EA62B.7020001@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=35665 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or1I4-0000Ir-Oq for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 00:20:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or1I3-0003GP-KJ for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 00:20:44 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:48098) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or1I3-0003Fs-CP for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 00:20:43 -0400 In-Reply-To: (Richard Riley's message of "Wed, 01 Sep 2010 21:22:37 +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: Richard Riley Cc: emacs-orgmode@gnu.org Richard Riley writes: > 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 :- Thanks Richard, I've added that. Dan > > 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))) > > >> >> 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 >> >>