all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs problem with aspell on tex files
@ 2002-05-15  1:01 Nicolas FRANCOIS
  2002-05-17 11:55 ` Nicolas FRANCOIS
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas FRANCOIS @ 2002-05-15  1:01 UTC (permalink / raw)


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(#<process ispell> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Emacs problem with aspell on tex files
  2002-05-15  1:01 Emacs problem with aspell on tex files Nicolas FRANCOIS
@ 2002-05-17 11:55 ` Nicolas FRANCOIS
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas FRANCOIS @ 2002-05-17 11:55 UTC (permalink / raw)


OK, I found the solution for this problem : a too much optimized aspell
programm. Sorry for this wrong bug. I'll write to Aspell author.

\bye

-- 

                   Nicolas FRANCOIS
            http://nicolas.francois.free.fr
 A TRUE Klingon programmer does NOT comment his code

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-17 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-15  1:01 Emacs problem with aspell on tex files Nicolas FRANCOIS
2002-05-17 11:55 ` Nicolas FRANCOIS

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.