emacs-devel
[Top][All Lists]
Advanced

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

Re: Wrong frame with recent trunk [MSYS2-MinGW64]


From: Angelo Graziosi
Subject: Re: Wrong frame with recent trunk [MSYS2-MinGW64]
Date: Mon, 28 Jul 2014 12:26:47 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

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




reply via email to

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