From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Help with window management Date: Sun, 30 Sep 2007 23:18:33 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87ve9s8f6e.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191159747 20293 80.91.229.12 (30 Sep 2007 13:42:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 13:42:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 30 15:42:23 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ibz3k-0007Je-LQ for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Sep 2007 15:42:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibz3g-0002aw-PK for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Sep 2007 09:42:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!news.glorb.com!sn-xt-sjc-05!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:Uv1PshnWbYAIZB7kgKQNRF2mJ+A= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 39 Original-Xref: shelby.stanford.edu gnu.emacs.help:152487 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47996 Archived-At: cleansing_flame writes: > How can I, while still in a an emacs file, cut myself a buffer/window so that > I can write in the command line and for example compile the program I'm > working on. > > Any help really appreciated > Not really clear what you mean/want. Are you running under X? What Window manager are you using? Have you had a look at the commands for splitting the current frame, creating new frames etc? There are also commands for opening buffers in 'other window', running commands in 'other window' etc. These generally split the current window into two and then do something in one of the windows, such as open a terminal, run a command and display output etc. Options also depend on what you are programming in. For example, if I'm doing C, I use M-x compile, which will run my make file, split the window into two and show me the errors, which I can vieew - hitting C-x ` will jump to the next error and put the cursor on the source line. There are additional enhancements available in other packages, such as mode-compile.el. Other modes provide varying levels of integration and interfaces - jde offers a bean shell, cperl offers interfaces to mode-complie, useful for syntax checking, running the debugger and profiling. The short answer to your question is that what you are after probably exists, but more information is required to give more precise/useful advice. Tim -- tcross (at) rapttech dot com dot au