unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: August Karlstrom <fusionfive@comhem.se>
Subject: Re: Window size specification ignored
Date: Sun, 11 Sep 2005 22:48:13 GMT	[thread overview]
Message-ID: <Nu2Ve.33566$d5.188913@newsb.telia.net> (raw)
In-Reply-To: <mailman.6621.1126476194.20277.help-gnu-emacs@gnu.org>

Peter Dyballa wrote:
> 
> Am 11.09.2005 um 19:52 schrieb August Karlstrom:
> 
>> When I run emacs with
>>
>>    emacs -g <w>x<h>
>>
>> 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:

<shell-command>

$ cat /usr/share/emacs/21.3/lisp/site-init.elc
;ELC\x14
;;; 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\"\x10\301\207" [Info-default-directory-list append 
("/usr/share/info/emacs-21/")] 3)

</shell-command>

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

  parent reply	other threads:[~2005-09-11 22:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-11 15:14 Window size specification ignored August Karlstrom
2005-09-11 16:40 ` Peter Dyballa
     [not found] ` <mailman.6586.1126458402.20277.help-gnu-emacs@gnu.org>
2005-09-11 17:52   ` August Karlstrom
2005-09-11 21:54     ` Peter Dyballa
     [not found]     ` <mailman.6621.1126476194.20277.help-gnu-emacs@gnu.org>
2005-09-11 22:48       ` August Karlstrom [this message]
2005-09-11 23:35         ` Peter Dyballa
     [not found]         ` <mailman.6627.1126481765.20277.help-gnu-emacs@gnu.org>
2005-09-12  0:58           ` August Karlstrom
2005-09-12  8:57             ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Nu2Ve.33566$d5.188913@newsb.telia.net' \
    --to=fusionfive@comhem.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).