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: Fri, 05 Jul 2013 15:41:48 +0200 Message-ID: <51D6CD1C.5050504@alice.it> References: <51C5AA68.4000204@alice.it> <51CCA7DC.8060605@gmx.at> <83fvw2g44j.fsf@gnu.org> <51CE9B05.1090202@gmx.at> <51CFFBED.7090400@gmx.at> <51D02AB0.5070103@gmx.at> <51D5DE14.4090507@alice.it> <51D600D8.90801@alice.it> <51D67985.7010806@gmx.at> <51D69AF8.2050606@alice.it> <51D6C2FA.7040708@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 1373031731 16485 80.91.229.3 (5 Jul 2013 13:42:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 13:42:11 +0000 (UTC) Cc: Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 05 15:42:11 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 1Uv6H3-00059o-G8 for ged-emacs-devel@m.gmane.org; Fri, 05 Jul 2013 15:42:09 +0200 Original-Received: from localhost ([::1]:49359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6H2-0006q9-V1 for ged-emacs-devel@m.gmane.org; Fri, 05 Jul 2013 09:42:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6Gw-0006pu-M0 for emacs-devel@gnu.org; Fri, 05 Jul 2013 09:42:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv6Gs-0002Xy-PL for emacs-devel@gnu.org; Fri, 05 Jul 2013 09:42:02 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:55954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6Gs-0002Wo-E7 for emacs-devel@gnu.org; Fri, 05 Jul 2013 09:41:58 -0400 Original-Received: from [192.168.1.100] (87.3.157.179) by smtp203.alice.it (8.6.060.15) (authenticated as angelo.graziosi@alice.it) id 5123A5970AB9BD46; Fri, 5 Jul 2013 15:41:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <51D6C2FA.7040708@gmx.at> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.99 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:161586 Archived-At: Il 05/07/2013 14.58, martin rudalics ha scritto: > > I have removed the desktop file. Then I started Emacs, maximized the > > frame and closed Emacs after saved the desktop. The resulting desktop > > (test bzipped) is attached. Which parameters do you suggest to remove? I > > notice only a "fullscreen", but I have only clicked on the maximize > > button... May you resend it as you think? > > The `fullscreen' parameter is nil. This is a bug on Windows, so the > first step is to set the fullscreen parameter after a maximize request. > Am I right that on X this is done in x_handle_net_wm_state and on NS in > setFSValue? IIUC on Windows this should be part of the SIZE_MAXIMIZED > case in w32_read_socket. Or am I missing something? > > Anyway, you could try changing (fullscreen) to (fullscreen . maximized) > and look what happens when you load the file then. In that case, Emacs starts as after "M-x toggle-frame-fullscreen", i.e. with the Windows status bar (or Windows aplications bar, if you prefer) partially covering the bottom of Emacs frame and, obviously, with the maximize button *NOT* selected. If I try (maximized), instead, Emacs starts with M columns and N-2 lines [*] and maximize button *NOT* selected. Ciao, Angelo. --- [*] Assuming the Windows Desktop dimensions of M columns and N+2 lines (+2 for the status bar)