From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rory Newsgroups: gmane.emacs.help Subject: newbie: window layout Date: Wed, 5 Mar 2008 11:30:50 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204756137 15384 80.91.229.12 (5 Mar 2008 22:28:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2008 22:28:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 05 23:29:24 2008 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 1JX26u-0004pb-Eb for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2008 23:29:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX26M-0007tJ-V1 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2008 17:28:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s37g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 74 Original-NNTP-Posting-Host: 78.16.190.63 Original-X-Trace: posting.google.com 1204745450 7273 127.0.0.1 (5 Mar 2008 19:30:50 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 5 Mar 2008 19:30:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s37g2000prg.googlegroups.com; posting-host=78.16.190.63; posting-account=VHvavwoAAABOJEZx5m1OXQIv6df3qVhv User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:156697 X-Mailman-Approved-At: Wed, 05 Mar 2008 17:28:25 -0500 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:52069 Archived-At: Hi everyone, pardon my emacs ignorance but I am having some difficulty in doing the following: editting my .emacs file so that emacs open with two windows but the bottom window is shorter than the top. I am using (split-window-vertically) which seems to split the window up but after that I can' seem to change their sizes. I would also like to have the first windo black with white writing and the second one white with black writing. I though I could use defualt-frame-alist and initial-frame-alist for this but I'm obviously getting some thing. These may seem like a ridiculous layout but it's the one I'm used to and I would love to recreate it in emacs so I can do away with all my other editors for once and for all. Here is my .emacs file, it's hacked from lots of stuff I found on the net: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(cua-mode t nil (cua-base)) '(default-frame-alist (quote ((tool-bar-lines . 0) (menu-bar-lines . 1) (top . 0) (left . 0) (cursor-color . "white") (cursor-type . box) (foreground-color . "yellow") (background-color . "black") (font . "-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1")))) '(scroll-step 10) '(scroll-up-aggressively 0.5) '(transient-mark-mode t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (fset 'yes-or-no-p 'y-or-n-p) (setq initial-frame-alist '((cursor-color . "white") (width . 300) (height . 600) (cursor-type . box) (foreground-color . "white") (background-color . "black") (font . "-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1"))) (setq default-frame-alist '((cursor-color . "white") (width . 4) (height . 4) (cursor-type . box) (foreground-color . "yellow") (background-color . "black") (font . "-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1"))) (split-window-vertically) (other-window 0) (set-frame-height (selected-frame) 40) (progn (if (fboundp 'tool-bar-mode) (tool-bar-mode -1)) ;; no toolbar (menu-bar-mode 1) ;;no menubar (scroll-bar-mode -1) ;; no scroll bar ) (set-fringe-mode 10) (add-hook 'term-setup-hook #'(lambda () (w32-send-sys-command ? \xF030))) Any ideas? Rory.