From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: open a source code Date: Mon, 28 May 2012 17:06:22 +0000 (UTC) Message-ID: <87y5ockzvk.fsf@mean.albasani.net> References: <87mx4sflto.fsf@cica.cica> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ3P0-00031D-72 for emacs-orgmode@gnu.org; Mon, 28 May 2012 13:06:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ3Oy-000088-84 for emacs-orgmode@gnu.org; Mon, 28 May 2012 13:06:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:56470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ3Oy-00007I-1b for emacs-orgmode@gnu.org; Mon, 28 May 2012 13:06:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SZ3Ot-0001J9-HR for emacs-orgmode@gnu.org; Mon, 28 May 2012 19:06:35 +0200 Received: from e178210078.adsl.alicedsl.de ([85.178.210.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 May 2012 19:06:35 +0200 Received: from gegendosenfleisch by e178210078.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 May 2012 19:06:35 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Petro writes: > If I open a python code using "C-c '", emacs window splits into two. One > with with python mode and another with org mode. How can I prevent > splitting and make python window full screen? Good question, lets check the docs: F1 i, d, m "org" TAB RET. Working with source code, Editing source code ... Yep, what about this: ,----[ (info "(org)Editing source code") ] | `org-src-window-setup' | Controls the way Emacs windows are rearranged when the edit buffer | is created. `---- Okay, lets have a look, shall we? ,----[ F1-v "org-src-window-setup" ] | Documentation: | How the source code edit buffer should be displayed. | Possible values for this option are: | | current-window Show edit buffer in the current window, keeping all other | windows. | other-window Use `switch-to-buffer-other-window' to display edit buffer. | reorganize-frame Show only two windows on the current frame, the current | window and the edit buffer. When exiting the edit buffer, | return to one window. | other-frame Use `switch-to-buffer-other-frame' to display edit buffer. | Also, when exiting the edit buffer, kill that frame. `---- Default seems to be 'reorganize-frame, which is obviously not what you want. current-window would be a good choice if you usually start with one window in the beginning. Or try other-frame. Is this helpful? Or is this not what you want? If you missed it in the docs, where would you have expect it? How and where did you look for this info? hth Memnon