From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baloff Newsgroups: gmane.emacs.help Subject: Re: using Xresources for geometry Date: 01 Sep 2005 23:48:47 +1000 Organization: iPrimus Customer - reports relating to abuse should be sent to abuse@iprimus.com.au Message-ID: <87oe7czyo0.fsf@wash.edu> References: <87wtm7n3hv.fsf@wash.edu> <87vf1nltsj.fsf@tiger.rapttech.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125581677 16339 80.91.229.2 (1 Sep 2005 13:34:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2005 13:34:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 01 15:34:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EApCm-0003Zz-Jt for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2005 15:34:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EApH0-0001jL-FH for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2005 09:38:34 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-Original-NNTP-Posting-Host: 210.50.52.196 X-Original-NNTP-Posting-Host: 127.0.0.1 Original-Lines: 65 Original-NNTP-Posting-Host: 203.134.67.67 Original-X-Trace: 1125581018 un-2park-reader-02.sydney.pipenetworks.com.au 15518 203.134.67.67:2363 Original-X-Complaints-To: Abuse, including message IDs to abuse@pipenetworks.com Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!news1.optus.net.au!optus!news.uwa.edu.au!nntp.waia.asn.au!203.16.214.244.MISMATCH!duster.adelaide.on.net!token.pipenetworks.com!218.100.2.58.MISMATCH!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:133613 Original-To: help-gnu-emacs@gnu.org 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:29153 Archived-At: Tim X writes: > Baloff writes: > > > Hello > > in my Xresources I have > > > > emacs*Background: Black > > emacs*Foreground: White > > emacs*pointerColor: White > > emacs*cursorColor: White > > emacs*bitmapIcon: on > > emacs*font: fixed > > emacs*geometry: 160x80 > > > > the last line I changed from 80x40 but no changes happened when I > > restarted emacs. > > > > isn't suppose to work? > > nothing in my .emacs which has to do with (setq initial-frame-alist > > What window manager are you using? some window managers will > "remember" the last size you had emacs set to and will restore that > and override any geometry setting. In particular, I've been bitten by > this in the past with (I think) gnome+sawfish and KDE. > > Tim > > > -- > Tim Cross > The e-mail address on this message is FALSE (obviously!). My real e-mail is > to a company in Australia called rapttech and my login is tcross - if you > really need to send mail, you should be able to work it out! gnome 2.6.1 I read this in the documentation C-h v initial-frame-alist **************************************** * Specify X resources to give the geometry you want. * Set `default-frame-alist' to override these options so that they don't affect subsequent frames. * Set `initial-frame-alist' in a way that matches the X resources, to override what you put in `default-frame-alist'. **************************************** well, I have the following .Xresources****************************** emacs*height: 70 emacs*width: 180 emacs*top: 1 emacs*left: 1 the last lines in my .emacs are **************************************** ;;these lines should be at the end of this file (setq initial-frame-alist '((top . 1)(left . 1) (width . 180)(height . 70))) (setq default-frame-alist '((width . 180)(height . 70))) > LocalWords: alist setq