This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Latest snapshot

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..).


Attachment: cygsnap_test.tar.xz
Description: Binary data

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]