From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: Emacs as a C Programming IDE Configuration? Date: Wed, 27 Apr 2011 19:26:32 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <4db85fa3$0$308$14726298@news.sunsite.dk> References: <430fcda1-6ad7-4078-baf8-58608a30c302@glegroupsg2000goo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306267892 13076 80.91.229.12 (24 May 2011 20:11:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:11:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:11:28 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOxwt-0007uI-Ep for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:11:27 +0200 Original-Received: from localhost ([::1]:59511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxws-0006gN-Uk for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:11:26 -0400 Original-Path: usenet.stanford.edu!news-transit.tcx.org.uk!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!news.szn.dk!pnx.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11 Original-Newsgroups: gnu.emacs.help In-Reply-To: <430fcda1-6ad7-4078-baf8-58608a30c302@glegroupsg2000goo.googlegroups.com> Original-Lines: 31 Original-NNTP-Posting-Host: 62.56.53.192 Original-X-Trace: news.sunsite.dk DXC=F\I\1cjYejfO3d^23S\Y2mYSB=nbEKnkk8Yb<8HMEIDhZ8nLSXC:i5c2m:[Q?X\TKd Original-X-Complaints-To: staff@sunsite.dk Original-Xref: usenet.stanford.edu gnu.emacs.help:186733 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81068 Archived-At: On 27/04/11 07:47, haziz wrote: > I also want separate buffers to allow shell commands and to M-x compile. > I want it to open into this multi-buffer form automatically when visiting a C source file, > rather than having to launch each buffer separately. Haziz, I think you are getting confused between a 'buffer', a 'window' and a 'frame'. In Emacs, When a file is opened it is read into a buffer; there is normally a one-to-one mapping between the file and the buffer. (make-indirect-buffer does violate this; but is not relevant here). A buffer can also have no file associated with it, such as *scratch*, *compilation* etc. A 'window' is what most other editors call a (non-tiling) MDI child window. A 'frame' is what most other editors call a top-level window. Each window displays the contents of one buffer; M-x displayer-buffer or M-x 4 C-o will buffer the current window is currently displaying. Each frame displays one or more windows, C-x 2 or C-x 3 will half the size of the current window, and create a new window to take the remaining space. Both the current and new windows will display the current buffer. I hope that is a bit clearer, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.