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: Wrong frame with recent trunk [MSYS2-MinGW64] Date: Fri, 01 Aug 2014 00:53:22 +0200 Message-ID: <53DAC8E2.8010909@alice.it> References: <53D02A85.1040402@alice.it> <53D09F37.5060109@yandex.ru> <53D0FEA4.2080007@alice.it> <53D132C6.6040506@yandex.ru> <53D137FD.6050204@alice.it> <53D57A57.20200@alice.it> <83silmggz5.fsf@gnu.org> <83r416gga3.fsf@gnu.org> <53D62567.1030801@alice.it> <53D687C3.3090102@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406847252 17146 80.91.229.3 (31 Jul 2014 22:54:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2014 22:54:12 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 01 00:54:01 2014 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 1XCzEW-0005OZ-SE for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2014 00:54:00 +0200 Original-Received: from localhost ([::1]:58818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCzEW-0005Jm-Cw for ged-emacs-devel@m.gmane.org; Thu, 31 Jul 2014 18:54:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCzEN-0005DZ-Hb for emacs-devel@gnu.org; Thu, 31 Jul 2014 18:53:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCzEH-0005pw-G5 for emacs-devel@gnu.org; Thu, 31 Jul 2014 18:53:51 -0400 Original-Received: from smtp202.alice.it ([82.57.200.98]:60488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCzEH-0005pW-5O for emacs-devel@gnu.org; Thu, 31 Jul 2014 18:53:45 -0400 Original-Received: from [192.168.1.103] (82.59.172.20) by smtp202.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 53A4813E0AFAAA7A; Fri, 1 Aug 2014 00:53:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53D687C3.3090102@gmx.at> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.98 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:173335 Archived-At: It seems the issue ha been reintroduced, at least in rev. 117616: the frame does not restore the size it had in the last session. I wonder it this has to do with 2014-07-31 Paul Eggert [...] * frame.c (x_set_frame_parameters): Don't use uninitialized locals. Without this change, the code can access the local variable 'width' even when it has not been initialized, and likewise for 'height'; in either case this leads to undefined behavior. Paul, any comment? Angelo Il 28/07/2014 19:26, martin rudalics ha scritto: > > Now restarting Emacs (with a link pointing to runemacs), the frame > conserve the position of previous session BUT NOT the WIDTH nor the HEIGHT. > [...] > > Now restart Emacs with the same link. The position is the same of > previous session (centered on Windows desktop) but the size is not > rectangular as you have left it but the same original square size. > > This was due to an undocumented change in revision 117591. I don't know > what Paul wanted to do there so I simply reverted it. Paul? > > Thanks, martin