all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Torben Knudsen <tk@es.aau.dk>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Size of emacs window can't exceed 59 in height
Date: Mon, 13 Oct 2008 08:33:25 +0200	[thread overview]
Message-ID: <87abd9t362.fsf@es.aau.dk> (raw)
In-Reply-To: <0006ECF6-2BED-4F29-960C-E768C47D8F69@Web.DE> (Peter Dyballa's message of "Fri\, 10 Oct 2008 15\:31\:01 +0200")

>>>>> "Peter" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:

Peter> Am 10.10.2008 um 13:14 schrieb Torben Knudsen:

>>>> default-frame-alist is a variable defined in `C source code'.
>>>> Its value is ((menu-bar-lines . 1) (tool-bar-lines . 0)
>>>> (vertical-scroll-bars) (width . 80) (height . 64))
>>>> 
>>>> Still the window is 80 x 59

Peter> For me the (X) window or GNU Emacs frame size does not change
Peter> instantaneously when I change default-frame-alist – but a new
Peter> frame (C-x 5 2) obeys the new values! Does this work for you?

Inspired by you question I think I learned something at least.

I have a two screen solution where my lap top is left and a external
screen is right it starts from 1440.

1. If I have my current emacs in the right screen and do 
(setq default-frame-alist '((width . 80) (height . 64)))
a new frame opens in the right screen but width size 80 x 50.  

2. If I do
(setq default-frame-alist '((top . 0) (left . 0) (width . 80) (height . 64)))
I get a frame in the left screen size 80 x 50.

Now 80 x 50 is the maximum size in the left window which I get there
with height >= 50.

3. If instead I do
(setq default-frame-alist '((top . 0) (left . 1440) (width . 80) (height . 64)))
the frame opens in the right window with the right size.

So it seems that if my current emacs is in the right screen a new
frame opens there but limited to the max size according to the screen
at left i.e.  (top . 0) (left . 0).

Now I think my problem is solved.  I don't now if you are satisfied.
Thanks for all the help.

-- 
Associate Prof. Ph.D Torben Knudsen	Mobile	: (+45) 2787 9826
Section of Automation and Control,	Direct	: 6 8694
Department of Electronic Systems,	Email	: tk@es.aau.dk   
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 




  reply	other threads:[~2008-10-13  6:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08  8:32 Size of emacs window can't exceed 59 in height Torben Knudsen
2008-10-08  9:03 ` Peter Dyballa
2008-10-08  9:23   ` Torben Knudsen
2008-10-08  9:57     ` Peter Dyballa
2008-10-08 10:18       ` Torben Knudsen
2008-10-08 14:41         ` Peter Dyballa
2008-10-10  6:49           ` Torben Knudsen
2008-10-10  9:25             ` Peter Dyballa
2008-10-10 11:14               ` Torben Knudsen
2008-10-10 13:31                 ` Peter Dyballa
2008-10-13  6:33                   ` Torben Knudsen [this message]
2008-10-13  8:31                     ` Peter Dyballa
     [not found]       ` <mailman.551.1223461110.25473.help-gnu-emacs@gnu.org>
2008-10-08 15:59         ` Chetan
2008-10-08 17:53           ` Peter Dyballa
     [not found]           ` <mailman.599.1223488487.25473.help-gnu-emacs@gnu.org>
2008-10-08 18:50             ` Chetan
2008-10-08 20:41               ` Peter Dyballa
     [not found]               ` <mailman.617.1223498497.25473.help-gnu-emacs@gnu.org>
2008-10-08 23:20                 ` Chetan
2008-10-09  9:03                   ` Peter Dyballa
     [not found]                   ` <mailman.669.1223543046.25473.help-gnu-emacs@gnu.org>
2008-10-09 12:16                     ` Chetan
2008-10-10  0:34                     ` Tim X
2008-10-10 14:16                       ` Chetan

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

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

  git send-email \
    --in-reply-to=87abd9t362.fsf@es.aau.dk \
    --to=tk@es.aau.dk \
    --cc=Peter_Dyballa@Web.DE \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.