[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to restore the layout?

From: Angelo Graziosi
Subject: Re: How to restore the layout?
Date: Thu, 04 Jul 2013 22:41:56 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Some update..

With the GTK build of trunk on Cygwin [1] I notice the following.. [2]

Suppose I start Emacs without any desktop file. It starts with the default frame almost a square. Now I click on maximize button and the frame has the width of the Windows desktop (about 160 columns) and the height just a line above the Windows status bar [3].

After this I quit from Emacs, it asks to save desktop (Yes), I restart Emacs... It starts with a frame whose width is as that of Windows desktop (OK) but the height is N-4 lines and the maximized button is *not* selected. Maximizing, the frame gains another line (N-3).

I notice this only with the Cygwin build. On Ubuntu and Kubuntu the frame is restored always with the maximize button selected and takes always N-2 lines. It is really maximized!


[1] On XP the windows has on top right corner 3 buttons (from left to right): minimize, maximize and close

[2] To the init file I have added
(setq desktop-restore-frames t)

[3] If the Windows desktop has N+2 lines (+2 for the status bar) then the Emacs frame maximized has N-3 lines

reply via email to

[Prev in Thread] Current Thread [Next in Thread]