From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: August Karlstrom Newsgroups: gmane.emacs.help Subject: Re: Window size specification ignored Date: Sun, 11 Sep 2005 22:48:13 GMT Organization: Telia Internet Message-ID: References: <%QXUe.146063$dP1.502629@newsc.telia.net> 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 1126479047 29984 80.91.229.2 (11 Sep 2005 22:50:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2005 22:50:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 00:50:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EEaeR-0006XS-D5 for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Sep 2005 00:50:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EEaeQ-0002MD-MN for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2005 18:50:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 67 Original-NNTP-Posting-Host: 83.250.200.113 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsb.telia.net 1126478893 83.250.200.113 (Mon, 12 Sep 2005 00:48:13 CEST) Original-NNTP-Posting-Date: Mon, 12 Sep 2005 00:48:13 CEST Original-Xref: shelby.stanford.edu gnu.emacs.help:133853 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:29404 Archived-At: Peter Dyballa wrote: > > Am 11.09.2005 um 19:52 schrieb August Karlstrom: > >> When I run emacs with >> >> emacs -g x >> >> I get a non-maximized window of size w x (h - 3) if h <= 32. If h > 32 >> the window is maximized. The setting in ~/.emacs is still ignored, >> even if I set height to e.g. 24. Strange indeed. >> > > There might be some bug in Ubuntu -- or in your .emacs file! To try to > find where this error comes from you can launch GNU Emacs with the -Q or > the -q options, together with -g WxH. With -q Emacs does not load .emacs > nor default.el, with -Q even the site-{start|init}.el files aren't > loaded and no splash screen is shown. So there is a difference and you > can get a glue where the error happens. There is no default.el or site-start.el and the site-init.elc file doesn't give any clues: $ cat /usr/share/emacs/21.3/lisp/site-init.elc ;ELC ;;; Compiled by root@terranova.warthogs.hbd.com on Sat Mar 5 01:41:49 2005 ;;; from file /build/buildd/emacs21-21.3+1/lisp/site-init.el ;;; in Emacs version 21.3 ;;; with bytecomp version 2.85.4.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.29"))) (error "`site-init.el' was compiled for Emacs 19.29 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\30\302\"\301\207" [Info-default-directory-list append ("/usr/share/info/emacs-21/")] 3) If I invoke $ /usr/bin/emacs when ~/.emacs contains only (setq default-frame-alist '((width . 80) (height . 24) (foreground-color . "wheat") (background-color . "darkslategrey"))) The display colors are changed, so obviously the file is read, but the window is (still) maximized. I will send a bug report to the Ubuntu team. Thanks for your help, August