From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Thu, 04 Jul 2013 22:41:56 +0200 Message-ID: <51D5DE14.4090507@alice.it> References: <51C5AA68.4000204@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CCA7DC.8060605@gmx.at> <83fvw2g44j.fsf@gnu.org> <51CE9B05.1090202@gmx.at> <51CFFBED.7090400@gmx.at> <51D02AB0.5070103@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372970918 8910 80.91.229.3 (4 Jul 2013 20:48:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2013 20:48:38 +0000 (UTC) Cc: Emacs developers , martin rudalics , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 04 22:48:37 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UuqSC-0001WO-3n for ged-emacs-devel@m.gmane.org; Thu, 04 Jul 2013 22:48:36 +0200 Original-Received: from localhost ([::1]:43217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuqSB-0007VN-GN for ged-emacs-devel@m.gmane.org; Thu, 04 Jul 2013 16:48:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuqLw-0005w6-Fi for emacs-devel@gnu.org; Thu, 04 Jul 2013 16:42:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuqLu-0002Uu-0r for emacs-devel@gnu.org; Thu, 04 Jul 2013 16:42:08 -0400 Original-Received: from smtp201.alice.it ([82.57.200.97]:35704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuqLt-0002Uh-LU; Thu, 04 Jul 2013 16:42:05 -0400 Original-Received: from [192.168.1.101] (79.56.199.152) by smtp201.alice.it (8.6.060.26) (authenticated as angelo.graziosi@alice.it) id 51D3EAF90022628B; Thu, 4 Jul 2013 22:42:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.97 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161537 Archived-At: 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! Ciao Angelo. --- [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