From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: [comp.emacs] new frame geometry Date: Tue, 15 Nov 2005 15:02:32 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132092853 9255 80.91.229.2 (15 Nov 2005 22:14:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2005 22:14:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 15 23:14:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ec90l-0001Lc-RR for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2005 23:10:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ec90k-0002TJ-55 for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2005 17:10:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ec90U-0002RE-41 for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 17:10:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ec90S-0002NI-Fj for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 17:10:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ec90S-0002Mn-7E for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 17:10:24 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Ec90R-0005uj-RM for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 17:10:24 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ec8vz-0007of-Bp for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 23:05:47 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Nov 2005 23:05:47 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Nov 2005 23:05:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: 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:31081 Archived-At: Mike Ballard wrote: > I specify emacs' geometry in ~/.Xdefaults. But using gnome (2.6) I > *think* (or misunderstand) it or its wm are screwing things up because for > one thing I have to specifically load ~/.Xdefaults when I start a session > so that my initial emacs has the geometry I want. > > The problem is using emacs' "new frame" and getting a position/size that > isn't at all what's in ~/.Xdefaults (and I don't set geo in ~/.emacs so I > don't know where this wierd geo is coming from). > > I know I can set geo in ~/.emacs and maybe/probably the new frames would > have the correct geo; but if I want to continue doing it the way I already > am, can someone tell me how/if I can set "new frame"-only geo in ~/.emacs? `C-h v default-frame-alist' states: | Alist of default values for frame creation. | These may be set in your init file, like this: | (setq default-frame-alist '((width . 80) (height . 55) (menu-bar-lines . 1)) | These override values given in window system configuration data, | including X Windows' defaults database. If you want your .Xdefaults geometry used for new frames as well, try this in your .emacs: (setq default-frame-alist initial-frame-alist) -- Kevin Rodgers