Latest snapshot

Angelo Graziosi angelo.graziosi@alice.it
Fri Aug 22 22:10:00 GMT 2014


Corinna Vinschen wrote:
> Still, do you have a simple init.el file I can use for testing

OK, the attached tar-ball contains all you need, I think.

I am using my build of trunk Emacs enabling --with-w32, i.e. what in 
Cygwin is emacs-w32 package. Here is on Cygwin64 (Win7U).

To reproduce the issue I created a simple init.el-test file (see 
tar-ball) in my HOME,

$ cd
$ ls -lrt
...
-rw-r--r--  1 angelo None     122 22 ago 23.21 init.el-test

It sets as default font Consolas instead of Courier.

Then I have done the following steps

$ mv .emacs.d .emacs.d-save
$ mkdir .emacs.d
$ cd .emacs.d
$ ln -sf ../init.el-test init.el
$ cd

Now, with the snapshot

$ strace -o cygsnap-20140822-emacs.trace 
/usr/local/emacs/bin/emacs-24.4.50.exe

'Segment' faults and produces the cygsnap-20140822-emacs.trace trace 
(see tar-ball)

With Cygwin 1.7.32-1,

$ strace -o cygwin-1.7.32-emacs.trace /usr/local/emacs/bin/emacs-24.4.50.exe

starts Emacs correctly, after some time. No segment fault!

You can verify that Emacs is correctly initialized because with Consolas 
font its window is rectangular (height > width). Instead if not 
initialized, Emacs starts with its default font which is Courier and the 
windows is almost squared.

With the snapshot one need to have the real file in .emacs.d not the 
symbolic link.

Notice that in my build I install Emacs using as prefix /us/local/emacs 
and that /usr/local/emacs/bin/emacs.exe is a symbolic link to 
emacs-24.4.50.exe, so I have to use the last in strace command 
(otherwise, strace gives an error, 5 if I remember..).


Ciao,
Angelo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygsnap_test.tar.xz
Type: application/octet-stream
Size: 237556 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140822/d859cf0d/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list