Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-31 Thread Angelo Graziosi


Ken Brown wrote:

 I have a tex file that you can use for testing. It reliably produces a
 crash on my system when I compile it using auctex after starting
 emacs-22.1-3 from an xterm window. (I use auctex 11.84 and miktex 2.6,
 but I doubt if that matters.) Here are the detailed steps.

May you describe :

1) how you build auctex-11.84;
2) how you install auctex 11.84;
3) how you configure emacs/auctex to use MiKTeX-2.6.

Have you the Cygwin teTeX packages installed ? Or only MiKTeX ?



Cheers,

   Angelo.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-31 Thread Ken Brown

On 7/31/2007 9:37 AM, Angelo Graziosi wrote:


Ken Brown wrote:


I have a tex file that you can use for testing. It reliably produces a
crash on my system when I compile it using auctex after starting
emacs-22.1-3 from an xterm window. (I use auctex 11.84 and miktex 2.6,
but I doubt if that matters.) Here are the detailed steps.


May you describe :

1) how you build auctex-11.84;
2) how you install auctex 11.84;
3) how you configure emacs/auctex to use MiKTeX-2.6.

Have you the Cygwin teTeX packages installed ? Or only MiKTeX ?


I downloaded the unix-style version of auctex from

http://ftp.gnu.org/pub/gnu/auctex/auctex-11.84.tar.gz

and followed the installation instructions (configure, make, make 
install).  I did this as a user with administrator privileges.  No 
special configuration was needed to make auctex use miktex, since miktex 
is the only version of tex I have installed.  So auctex simply finds 
miktex's executables in my path.  I did have to do a little fiddling to 
make previewing work right.  Here are the relevant lines from my .emacs:


(load auctex.el nil t t)
(require 'tex-mik)
(setq TeX-output-view-style (quote ((^dvi$ 
^pstricks$\\|^pst-\\|^psfrag$ dvips %d -o  cygstart %f) (^dvi$ 
. yap -1 %dS %d) (^pdf$ . cygstart %o) (^html?$ . 
cygstart %o
(setq TeX-view-style (quote ((^epsf$ cygstart %f) (. yap -1 
%dS %d


If I remember correctly, the main thing was to take the default settings 
and replace start by cygstart in a few places.


Ken

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-31 Thread Ken Brown

On 7/31/2007 11:12 AM, Ken Brown wrote:

I did have to do a little fiddling to 
make previewing work right.


I meant to say viewing, not previewing.  (The issue was viewing pdf 
files produced by pdflatex.)  Auctex's preview feature worked OOTB.


Ken

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-30 Thread Ken Brown

On 7/28/2007 10:42 AM, Mark Harig wrote:


If you discover a repeatable set of steps that you can follow that will
cause Emacs to crash, would you please post those to this list?  They
could be used as a test to tell whether Emacs has been built correctly.


I have a tex file that you can use for testing.  It reliably produces a 
crash on my system when I compile it using auctex after starting 
emacs-22.1-3 from an xterm window.  (I use auctex 11.84 and miktex 2.6, 
but I doubt if that matters.)  Here are the detailed steps.


1. Download and unpack

   http://www.math.cornell.edu/~kbrown/forest.tar.gz

This will create a directory forest with a file forest.tex and some 
auxiliary files.


2. cd forest
   emacs -q 

3. M-x load-library RET auctex.el RET

4. C-x C-f forest.tex

5. C-c C-c [accept the default command LaTeX]

6. When the compilation finishes you will see a message You should run 
LaTeX again...  Repeat step 5.  The crash usually occurs before the 
second compilation finishes.  Sometimes the second compilation works OK 
but then it crashes if I try it a third time.  (This time the default 
command for C-c C-c will be View, and you have to enter LaTeX instead.)


If you want to repeat the whole experiment, delete the files forest.log, 
forest.dvi, and forest.aux that latex creates.  My own experience is 
that, after the first crash, I often get crashes at an earlier stage 
when I repeat the process.  For example, sometimes emacs crashes at step 
3 when I type M-x or at step 4 when I type C-x C-f.


Ken

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-29 Thread Steffen Sledz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Harig schrieb:
 If you discover a repeatable set of steps that you can follow that will
 cause Emacs to crash, would you please post those to this list?  They
 could be used as a test to tell whether Emacs has been built correctly.
 In addition, your steps might be tested with Emacs on another platform
 (most commonly, a UNIX-like system) to determine whether the problem is
 specific to the Cygwin implementation of Emacs.

Yes, that would be really helpfully.

 My guess is that the problem that you are seeing cannot be resolved
 easily.  Here are three approaches that might be taken, none of which
 is trivial:

I completely agree.

 1. Identify the C code in the Emacs 22 source that needs to be
   back-ported to gcc 3.4.4 so that the problem you are seeing
   does not occur.  A patch could then be applied to Emacs 22 so
   that it could run error free on Cygwin.

I'll try to setup a debug environment to go this way. But I cannot
guarantee for fast results. So if someone else is making gcc4 ready for
cygwin, I wouldn't be averse to it.  :)

Steffen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGrMYZlSfCk8EgCzgRAjSHAJ45IPIS0tHh6cMou2pwM+YZ8A9LvACfVy38
7eGqEwABwvTFRFjoVi9Yc+0=
=4bA6
-END PGP SIGNATURE-


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-28 Thread Mark Harig

Angelo Graziosi wrote:


(As I discussed some time on this list and others, I use GCC-4.0.4 to
build Emacs: with 3.4.4 the result is highly unstable (at least for me),
but this does not seem the case of 21-3)


OK.  It does not appear that gcc 4.x will be available for Cygwin soon,
according to the discussion that started with this message in May 2007:

   http://cygwin.com/ml/cygwin/2007-05/msg00184.html

If you discover a repeatable set of steps that you can follow that will
cause Emacs to crash, would you please post those to this list?  They
could be used as a test to tell whether Emacs has been built correctly.
In addition, your steps might be tested with Emacs on another platform
(most commonly, a UNIX-like system) to determine whether the problem is
specific to the Cygwin implementation of Emacs.

My guess is that the problem that you are seeing cannot be resolved
easily.  Here are three approaches that might be taken, none of which
is trivial:

1. Identify the C code in the Emacs 22 source that needs to be
  back-ported to gcc 3.4.4 so that the problem you are seeing
  does not occur.  A patch could then be applied to Emacs 22 so
  that it could run error free on Cygwin.

2. Make gcc 4.0.4 available for Cygwin.  Get it tested and past
  the experimental stage.

3. Wait until gcc 4.2.x (or a later gcc 4.4, etc.) has been ported
  to Cygwin.

---



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-27 Thread Angelo Graziosi


Mark Harig wrote:

 Provide a detailed list of the steps (Emacs commands)
 that you are running to reproduce the problem.

For example:

   M-x compile
   make mchps95.gfc clean

in which 'mchps95.gfc' is a F95 application linking with a Cernlib build
made with an old version of GFortran: this cause about 2000 link errors.


Beside this, I observe other core dumps, also starting (always from X)

   emacs -q 

or moving the mouse wheel to scroll!

It is not simple to give details, often the failures are at random.


 Provide a detailed list of the steps that you took
 to create your emacs binaries.

They are very simple and standard (from the build script):


LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-auto-image-base' \
../configure --prefix=${prefix_dir} || return 1

make LD='$(CC)' || return 1

make LD='$(CC)' install prefix=${dest_dir}/${prefix_dir_name} \
 || return 1


cd ${dest_dir}

find ${prefix_dir_name} \! -type d | \
   tar cjfT ${base_dir}/emacs-${rel}.${build}.tar.bz2 -


where ${prefix_dir} is /usr/local/emacs and I install the final package in
this way:

   tar -xjf emacs-${rel}.${build}.tar.bz2 -C /



Cheers,


   Angelo.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-27 Thread Mark Harig

Angelo Graziosi wrote:


Provide a detailed list of the steps that you took
to create your emacs binaries.


They are very simple and standard (from the build script):


   LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-auto-image-base' \
   ../configure --prefix=${prefix_dir} || return 1

   make LD='$(CC)' || return 1


These are (essentially) the same steps that are used in
the .cygport for creating the Cygwin version of Emacs.

Would you please do the following?

$ make distclean
$ LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-auto-image-base' \
 ../configure --prefix=${prefix_dir}  configure.log 21
$ bzip2 configure.log

and then include configure.log.bz2 as an attachment to an email
message to this mailing list.  This might provide enough information
to find out what is missing from the environment that is used to
build Emacs via cygport.

---




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-27 Thread Angelo Graziosi


Mark Harig wrote:

 Would you please do the following?

I send you the full log of the build I did on June 02.

(As I discussed some time on this list and others, I use GCC-4.0.4 to
build Emacs: with 3.4.4 the result is highly unstable (at least for me),
but this does not seem the case of 21-3)


Cheers,

   Angelo.

build-emacs-22.1.release.log.bz2
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-26 Thread Mark Harig

Angelo Graziosi:


Ken Brown wrote:


Emacs-22.1-3 aborts with a core dump when I try to compile a large latex
document


I observe a similar behaviour with a document of about 43 page.

The same thing happens using 'M-x compile' with a my application that
gives about 2000 line of link errors: emacs simply dies!


The problem doesn't occur with my cited build of emacs 22.1.


The following information might be helpful in investigating
this problem:

1. Provide a detailed list of the steps (Emacs commands)
   that you are running to reproduce the problem.  This
   should include a document file that is input into 
   Emacs, preferably included as an attachment to your

   message, and compressed using bzip2 or gzip.

2. Provide a detailed list of the steps that you took
   to create your emacs binaries.  This should include
   a copy of the output of 'configure' (again, included
   as a compressed text file attached to your message).
   Unfortunately, the Emacs documentation is opaque
   about what environment must be available during the
   configuration stage.

I, for one, will look at this information if you provide
it to help investigate what is causing the problem.  Others
might find it useful, too.  Once a solution has been found
it should be possible to include the proper steps in the
cygport for Emacs so that it can be used going forward with
later releases of Emacs.

---



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-24 Thread Angelo Graziosi

Ken Brown wrote:

 Emacs-22.1-3 aborts with a core dump when I try to compile a large latex
 document

I observe a similar behaviour with a document of about 43 page.

The same thing happens using 'M-x compile' with a my application that
gives about 2000 line of link errors: emacs simply dies!


The problem doesn't occur with my cited build of emacs 22.1.


Cheers,

   Angelo.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-23 Thread Steffen Sledz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hallo everyone

After a long time a new *TEST* version of 'emacs' has been uploaded to a
server near you.


DESCRIPTION:

Emacs is a powerful, customizable, self-documenting, modeless text
editor. Emacs contains special code editing features, a scripting
language (elisp), and the capability to read mail, news and more without
leaving the editor.

Some binaries normally part of the emacs distribution are separated
to avoid conflicts with other packages. If you need b2m or rcs-ckeckin
install xemacs-emacs-common package. If you need ctags or etags install
ctags package.

LEIM is now part of emacs package and no longer an own package. So
emacs-leim is obsolete now.


CYGWIN NEWS:

This is the first release after a long time and a maintainer change.


Emacs NEWS:
===
see http://lists.gnu.org/archive/html/info-gnu-emacs/2007-06/msg0.html


INSTALLATION:
=
To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Save it and run setup, answer the questions and pick up
the above mentioned package from the 'Editors' category.


DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

These mirrors already got the package, the others will probably have
the latest version of this package fairly soon:

In the US

   ftp://mirrors.rcn.net/pub/sourceware/cygwin/

has reliable high bandwidth connections.


QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
List-Unsubscribe:  tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]


Enjoy
  Steffen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGpQ+OlSfCk8EgCzgRAnVXAKDb5NbtKtoKslQRSqJL3e4kFqNlJACeLIio
UtmpEa9lo2TNjKAtrSjlMaQ=
=WfGN
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] [test-version] emacs-22.1-3/emacs-el-22.1-3/emacs-X11-22.1-3

2007-07-23 Thread Ken Brown

On 7/23/2007 4:29 PM, Steffen Sledz wrote:

After a long time a new *TEST* version of 'emacs' has been uploaded to a
server near you.


Emacs-22.1-3 aborts with a core dump when I try to compile a large latex 
document (a 750 page book, split into several input files) under auctex 
11.84.  It works OK with simpler latex documents.  I used the X11 
version of emacs, started from an xterm window, and I use miktex 2.6 for 
the latex compilation.


The problem doesn't occur with emacs-21.3.50-2 (the previous 
experimental version) or emacs-21.2-13.  The problem also doesn't occur 
with Angelo Graziosi's build of emacs 22.1:


   http://cygwin.com/ml/cygwin/2007-06/msg00049.html

I've tried this on 3 different machines and the results are the same.  
My cygcheck output from one of the machines is attached, although I 
suspect it's not relevant.


[I previously reported this problem to the cygwin-apps list and thought 
it had something to do with ctags.  But I no longer think this.  The 
problem occurs whether or not the ctags package is installed.]


Ken


Cygwin Configuration Diagnostics
Current System Time: Sat Jul 21 06:33:08 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   c:\texmf-2.6\miktex\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\texmf-2.6\miktex\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\PROGRA~1\COMMON~1\Odbc\FILEMA~1
c:\Program Files\QuickTime\QTSystem\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1008(Admin)GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1008(Admin)GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'Admin'
PWD = '/tmp'
CYGWIN = 'tty'
HOME = '/home/admin'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\Admin'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Admin\Application Data'
SYSTEXMF = '/c/texmf-2.6'
HOSTNAME = 'Desktop'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 9, GenuineIntel'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/home/admin'
USERDOMAIN = 'DESKTOP'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
!:: = '::\'
TEMP = '/c/DOCUME~1/Admin/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
TEXMFLOCAL = '/c/localtexmf'
QTJAVA = 'C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip'
USERNAME = 'Admin'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\Admin'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\DESKTOP'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/c/DOCUME~1/Admin/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'LaserJet1012'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0209'
CLASSPATH = '.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip'
INFOPATH = 
'/usr/local/share/info:/usr/local/emacs/share/info:/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'DESKTOP'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = 'c:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd N/AN/A
c:  hd  NTFS 76253Mb  33% CP CS UN PA FC 
d:  cd N/AN/A
e:  cd N/AN/A

C:\cygwin  /  system  binmode
c: /c system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe