From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Newsgroups: gmane.emacs.help Subject: Re: customizing emacs windows Date: Fri, 25 May 2007 13:09:07 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: References: <4654BF17.1040009@gmail.com> <87odk95vuk.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1180089640 30514 80.91.229.12 (25 May 2007 10:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 May 2007 10:40:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 25 12:40:39 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 1HrXDr-00010T-Dl for geh-help-gnu-emacs@m.gmane.org; Fri, 25 May 2007 12:40:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrXDq-0003ai-HT for geh-help-gnu-emacs@m.gmane.org; Fri, 25 May 2007 06:40:38 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.germany.com!news.banetele.no!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (windows-nt) Cancel-Lock: sha1:MPUTgVLBagPkcFHzhckSCiHlqC4= Original-Lines: 49 Original-NNTP-Posting-Host: 88.80.135.102 Original-X-Trace: news.sunsite.dk DXC=VCXdEoQESWiJfJcgG; Q1FaYSB=nbEKnkkV`^KZl[Dm9l4La5I_Zi\^n]Z1k]4VTiQcIJ`JaB=N:agloO[k44ViDhMoPiHji4^nf Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:148834 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:44423 Archived-At: On петък, Май 25 2007, Tim X wrote: > Ivan writes: > >> On четвъртък, Май 24 2007, Eli Zaretskii wrote: >> >>>> Date: Thu, 24 May 2007 00:24:23 +0200 >>>> From: "Lennart Borgman (gmail)" >>>> Cc: help-gnu-emacs@gnu.org >>>> >>>> > How can I customize Emacs so that my windows customization is >>>> > persisted (so that the customization is put in the .emacs >>>> > file)? I'd like to divide my Emacs frame to several windows >>>> > with particular sizes and to set-up some of the windows open >>>> > particular buffers. Generally I'd like to do somthing like ECB, >>>> > but not exactly that. >>>> >>>> You can try winsav.el from here >>>> >>>> http://ourcomments.org/Emacs/DL/elisp/ >> >> Thanks but, I refuse to beleive that the functionality I'm loooking >> for does not exist in Emacs. >> >>> Rather than introduce a new and unbundled package, isn't it better >>> to enhance the bundled winner.el? >> >> I read about winner-mode but I don't understand how to use it. > > AFAIK and understand what you are requesting, the functionality you > want does not exist 'out of the box'. All the low level > functionality exists, but not all put together in a nice high level > package for end users. There are a number of such packages available > which may or may not meet your needs, but as far as I know, none of > them are yet bundled with emacs. First, thanks for your messages. Sorry if I wasn't quite clear in my request. I almost managed to achieve what I needed with simple Emacs-commands. I defined a function in .emacs that opens buffers and splits windows and I called that function on Emacs start. I used commands such as split-window-vertically, find-file, other-window and so on. It is not perfect because I have problems controlling which window which buffer to display as one of the things I start is - run Slime and Slime does some strange things with the windows. I also have problems controlling windows's sizes. My requirements are very simple for now - I need the Emacs frame devided into several windows with particular sizes. Each window should display a particular buffer.