emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [PATCH] Re: org-edit-src-code : same window?


From: Dan Davison
Subject: [Orgmode] Re: [PATCH] Re: org-edit-src-code : same window?
Date: Wed, 01 Sep 2010 21:20:37 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Richard Riley <address@hidden> writes:

> Erik Iverson <address@hidden> 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.
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]