unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rudalics@gmx.at, dmantipov@yandex.ru, emacs-devel@gnu.org
Subject: Re: Wrong frame with recent trunk [MSYS2-MinGW64]
Date: Mon, 28 Jul 2014 12:26:47 +0200	[thread overview]
Message-ID: <53D62567.1030801@alice.it> (raw)
In-Reply-To: <83r416gga3.fsf@gnu.org>

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	other threads:[~2014-07-28 10:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 21:35 Wrong frame with recent trunk [MSYS2-MinGW64] Angelo Graziosi
2014-07-24  5:52 ` Dmitry Antipov
2014-07-24 12:40   ` Angelo Graziosi
2014-07-24 16:22     ` Dmitry Antipov
2014-07-24 16:44       ` Angelo Graziosi
2014-07-27 22:16         ` Angelo Graziosi
2014-07-28  6:00           ` Eli Zaretskii
2014-07-28  6:15             ` Eli Zaretskii
2014-07-28 10:26               ` Angelo Graziosi [this message]
2014-07-28 12:22                 ` Eli Zaretskii
2014-07-28 17:26                 ` martin rudalics
2014-07-31 22:53                   ` Angelo Graziosi
2014-07-31 23:05                     ` chad
2014-07-31 23:16                       ` Angelo Graziosi
2014-08-01  0:02                     ` Paul Eggert
2014-07-28 17:26           ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D62567.1030801@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).