From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nicolas FRANCOIS (AKA El Bofo) Newsgroups: gmane.emacs.bugs Subject: Emacs problem with aspell on tex files Date: Wed, 15 May 2002 03:01:11 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <20020515030111.4c0b6ed6.nicolas.francois@free.fr> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1021424045 3281 127.0.0.1 (15 May 2002 00:54:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 00:54:05 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177n3L-0000qo-00 for ; Wed, 15 May 2002 02:54:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177n3d-0008Ke-00; Tue, 14 May 2002 20:54:21 -0400 Original-Received: from postfix2-1.free.fr ([213.228.0.9]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177n2S-0008IE-00 for ; Tue, 14 May 2002 20:53:08 -0400 Original-Received: from lfs (strasbourg-1-a7-62-147-10-170.dial.proxad.net [62.147.10.170]) by postfix2-1.free.fr (Postfix) with SMTP id 41A5F15E for ; Wed, 15 May 2002 02:53:06 +0200 (CEST) Original-To: bug-gnu-emacs@gnu.org X-Mailer: Sylpheed version 0.7.6 (GTK+ 1.2.10; i686-pc-linux-gnu) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1367 In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-05-04 on lfs configured using `configure --with-gcc --with-x --localstatedir=/var/lib/emacs' Important settings: value of $LC_ALL: fr_FR value of $LC_COLLATE: nil value of $LC_CTYPE: ISO-8859-1 value of $LC_MESSAGES: fr_FR value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_FR locale-coding-system: iso-latin-1 default-enable-multibyte-characters: nil This is the problem : I use two different versions of Linux From Scratch. The main difference is the libc, a 2.2.3 on LFS-3.0, and a 2.2.4 on a LFS-3.1. On those two LFS is emacs, 21.1.1 on the old one and 21.2.1 on the new one, but the version number is not relevant as I allready checked. On those two LFS is also Aspell, a replacement for Ispell 3.1.20, .33.7.1alpha versions (last one), with a french dictionnary. I also have AUCTeX, but this is also not relevant as I disabled it for my tests. All this run under XFree, a 4.1.0 version compiled from sources. This is the result of "ldd emacs" for the old emacs : libXaw3d.so.7 => /usr/X11R6/lib/libXaw3d.so.7 (0x40018000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40073000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40089000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400db000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400e5000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fd000) libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x40110000) libpng.so.2 => /usr/local/lib/libpng.so.2 (0x40131000) libz.so.1 => /usr/lib/libz.so.1 (0x4015c000) libm.so.6 => /lib/libm.so.6 (0x4016c000) libungif.so.4 => /usr/local/lib/libungif.so.4 (0x4018f000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40197000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401a7000) libncurses.so.5 => /lib/libncurses.so.5 (0x40291000) libc.so.6 => /lib/libc.so.6 (0x402d5000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) and for the new one : libXaw3d.so.7 => /usr/X11R6/lib/libXaw3d.so.7 (0x40017000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40073000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4008b000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400e5000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400f0000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40109000) libtiff.so.3 => /usr/local/lib/libtiff.so.3 (0x4012b000) libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x4016c000) libpng.so.3 => /usr/local/lib/libpng.so.3 (0x40194000) libz.so.1 => /usr/lib/libz.so.1 (0x401c1000) libm.so.6 => /lib/libm.so.6 (0x401d2000) libungif.so.4 => /usr/local/lib/libungif.so.4 (0x401f5000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x401fe000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40212000) libncurses.so.5 => /lib/libncurses.so.5 (0x40310000) libc.so.6 => /lib/libc.so.6 (0x40359000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) On the old LFS, when I run M-x ispell (or any other ispell command), on a tex file, everything goes allright, even if the "ispell-program-name" is not set to aspell, even under AUCTeX, even with ISO8859-1 font with accents and all those tricky things. Saying it short : It works. On the new LFS, when I run ispell on a tex file, even after starting emacs with -q flag (and mind you, I tried a lot of different options, I've been on this for a week now :-P), emacs hangs, takes all the ressources of my computer. I can stop the deadly loop with a C-g, but I get no special messages. This is what I get on a "debug-on-error" : Debugger entered--Lisp error: (quit) accept-process-output(# nil nil) ispell-accept-output() ispell-word(nil nil nil) call-interactively(ispell-word) I tried to debug ispell function interactively. What I noticed is that emacs hangs on the (sit-for 0) command on line 2223 of ispell.el. I tried to flip ispell files from both versions, nothing good happened. The really tricky thing is that Aspell works perfectly, even on a tex file, from outside emacs ! I checked the news on deja.com, found some other messages strongly related to this problem, called their authors, who never got any solution. I have for you a log of a strace -o emacs.log emacs emacs.tex which is about 200k (I "couicked" it from alot of identical lines, reducing it by 1M). Really, I'm getting mad with this problem. You are my last chance. After this, I throw emacs away and go back to Word. (just kidding). I hope this is the right place to post, and that I don't bother you with a problem NOT related to Emacs development. If that is the case, please accept my apologies by advance. Thanks for reading anyway. \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code