From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: ispell misalignment error Date: Sat, 17 Aug 2002 14:08:20 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208172008.g7HK8KO08820@wijiji.santafe.edu> References: <15696.755.357732.754530@xpc21.ast.cam.ac.uk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029614936 28321 127.0.0.1 (17 Aug 2002 20:08:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 17 Aug 2002 20:08:56 +0000 (UTC) Cc: gmorris+mail@ast.cam.ac.uk Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17g9sT-0007Ma-00 for ; Sat, 17 Aug 2002 22:08:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17gAJ5-0004GK-00 for ; Sat, 17 Aug 2002 22:36:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17g9tV-0002Q7-00; Sat, 17 Aug 2002 16:09:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17g9sA-0001WJ-00 for emacs-devel@gnu.org; Sat, 17 Aug 2002 16:08:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17g9s0-0001QM-00 for emacs-devel@gnu.org; Sat, 17 Aug 2002 16:08:30 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17g9ry-0001Os-00; Sat, 17 Aug 2002 16:08:22 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7HK8e522180; Sat, 17 Aug 2002 14:08:40 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7HK8KO08820; Sat, 17 Aug 2002 14:08:20 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-to: k.stevens@ieee.org, Kevin Atkinson Original-CC: emacs-devel@gnu.org In-Reply-To: (message from Glenn Morris on Sat, 17 Aug 2002 01:15:00 +0100) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6605 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6605 Can you two possibly look at this bug? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15696.755.357732.754530@xpc21.ast.cam.ac.uk> From: Glenn Morris To: emacs-devel@gnu.org Subject: ispell misalignment error X-Mailer: VM 7.07 under Emacs 21.2.90.1 on i686-pc-linux-gnu X-Attribution: GM Sender: emacs-devel-admin@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Date: Tue, 6 Aug 2002 18:10:11 +0100 Content-Length: 2671 There is an entry in etc/PROBLEMS relating to the ispell "misalignment" error that can occur when running ispell from within Emacs. I seem to have found another cause of this error message, not amongst those listed in PROBLEMS. I guess at the very least, something should be added to PROBLEMS mentioning this as another possible cause of the "ispell misalignment" error? Assuming it's reproducible and not easily fixed, of course... Relevant info: aspell -v @(#) International Ispell Version 3.1.20 (but really Aspell .33.7.1 alpha) Bug occurs with Emacs compiled from CVS trunk and RC branch, as well as Emacs-21.2. i) Create a file foo.tex containing the following: \includegraphics[draft=false,angle=-90]{figures/foo.ps} deliberate miiistake ii) Execute the shell command `aspell dump config > ~/.aspell.conf' On my system (RedHat 7.3), part of the output of that command looks like the following (should be a long unbroken line). The leading "#" means aspell should ignore this line anyway. You can cut the ~/.aspell.conf file down just to this and the Emacs error is still present. # add|rem-tex-command descrip: TeX commands # tex-command default: addtocounter pp,addtolength pp,alpha p,arabic p,fnsymbol p,roman p,stepcounter p,setcounter pp,usecounter p,value p,newcounter po,refstepcounter p,label p,pageref p,ref p,newcommand poOP,renewcommand poOP,newenvironment poOPP,renewenvironment poOPP,newtheorem poPo,newfont pp,documentclass op,usepackage op,begin po,end p,setlength pp,addtolength pp,settowidth pp,settodepth pp,settoheight pp,enlargethispage p,hyphenation p,pagenumbering p,pagestyle p,addvspace p,framebox ooP,hspace p,vspace p,makebox ooP,parbox ooopP,raisebox pooP,rule opp,sbox pO,savebox pooP,usebox p,include p,includeonly p,input p,addcontentsline ppP,addtocontents pP,fontencoding p,fontfamily p,fontseries p,fontshape p,fontsize pp,usefont pppp,documentstyle op,cite p,nocite p,psfig p,selectlanguage p,includegraphics op,bibitem op,geometry p, iii) Try both `aspell -c foo.tex' and `ispell foo.tex' from the command line. Both work fine. iv) emacs -q --no-site-file foo.tex, M-x ispell-buffer. An error is produced: Ispell misalignment: word `phenation' point 78; probably incompatible versions' The string `phenation' is nowhere to be found in the buffer being spell- checked, of course, but is in ~/.aspell.conf. v) The error is not produced if one removes ~/.aspell.conf and either restarts Emacs or does `ispell-kill-ispell', followed by `ispell-buffer' again. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel