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: Mon, 28 Jul 2014 12:26:47 +0200 Message-ID: <53D62567.1030801@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> 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 1406543257 22092 80.91.229.3 (28 Jul 2014 10:27:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2014 10:27:37 +0000 (UTC) Cc: rudalics@gmx.at, dmantipov@yandex.ru, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 12:27:28 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 1XBi9M-0005Pq-KM for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2014 12:27:24 +0200 Original-Received: from localhost ([::1]:38731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBi9M-0001kH-2S for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2014 06:27:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBi9E-0001k9-4f for emacs-devel@gnu.org; Mon, 28 Jul 2014 06:27:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBi98-0003b2-03 for emacs-devel@gnu.org; Mon, 28 Jul 2014 06:27:16 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:62060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBi90-0003Yk-8d; Mon, 28 Jul 2014 06:27:02 -0400 Original-Received: from [192.168.1.103] (82.61.91.62) by smtp204.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 52E53D4F1F3F6FAB; Mon, 28 Jul 2014 12:27:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <83r416gga3.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.100 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:173205 Archived-At: Il 28/07/2014 08:15, Eli Zaretskii ha scritto: >> >>> >>> With the rev. 117589, restarting Emacs produces a frame with the same >>> position and width but the height increases od about 2 line, so after >>> one restarts 2, 3... times, Emacs frame is too long, out the screen.. >> >> Not reproducible here with a native w32 build of r117589. > > Sorry, that was inaccurate. > First, you didn't say what you mean by "restarting Emacs". I > originally thought just "emacs -Q" will do, but that comes up with the > same size every time. My current guess is that you have > desktop-save-mode enabled, and you invoke Emacs without -Q, is that > correct? > > Second, even with desktop-save-mode, I get a 2-line increment only one > time, the first time I start Emacs after saving the desktop. All the > subsequent invocations keep that two-line-larger size. > There are still issues with trunk rev. 117599. Now restarting Emacs (with a link pointing to runemacs), the frame conserve the position of previous session BUT NOT the WIDTH nor the HEIGHT. Suppose to have $ cat /c/Users/pippo/AppData/Roaming/.emacs.d/init.el ;; Instead to save in ~/.emacs.desktop (setq desktop-base-file-name "~/.emacs.d/desktop") ;; Instead to save in ~/.emacs.desktop.lock (setq desktop-base-lock-name "~/.emacs.d/desktop.lock") ;; Save desktop (desktop-save-mode t) and $ ls -lrta /c/Users/pippo/AppData/Roaming/.emacs.d/ totale 9 -rw-r--r-- 1 pippo None 230 28 lug 09.28 init.el drwxr-xr-x 1 pippo None 0 28 lug 11.54 .. drwxr-xr-x 1 pippo None 0 28 lug 12.02 . Now start Emacs with a link pointing to runemacs (the link created by addpm) Emacs opens with almost a square frame. Change its position (for example centered on Windows desktop) and resize it (for example, set it as a rectangular frame). Now close it (click on the 'x' in the upper right corner). It asks if you want to save the desktop. 'Yes' 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 occurs in rev. 117599. Just out of curiosity... How you build Emacs? I build always in a clean[*] tree with: configure --prefix=/Emacs.app --with-wide-int --build=x86_64-w64-mingw32 --without-imagemagick 'CFLAGS=-I/mingw64/include/noX -Ofast -g0 -pipe' LDFLAGS=-pipe make -j3 ... Ciao, Angelo. --- [*] I have a local repository created with: $ bzr checkout --lightweight http://bzr.savannah.gnu.org/r/emacs/trunk emacs-trunk I update it with 'bzr up'. I DO NOT use it to build but I use a copy: rsync -av --exclude=.bzr* --exclude=.git* --exclude=.gdb* --delete /c/cygwin64/home/pippo/work/emacs-trunk/ /tmp/emacs/ then in a mingw64_shell.bat shell: $ cd /tmp $ .... build-emacs.sh