unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ispell misalignment error
@ 2002-08-06 17:10 Glenn Morris
  2002-08-17  0:15 ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2002-08-06 17:10 UTC (permalink / raw)



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. 

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

* Re: ispell misalignment error
  2002-08-06 17:10 ispell misalignment error Glenn Morris
@ 2002-08-17  0:15 ` Glenn Morris
  2002-08-17 20:08   ` Richard Stallman
  2002-08-17 20:08   ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Glenn Morris @ 2002-08-17  0:15 UTC (permalink / raw)


Glenn Morris wrote:

[A stirring tale of an ispell error that captured the hearts of millions]

Alrighty, in the absence of any comments I made a fairly restrained
addition to etc/PROBLEMS on this. Shout at me and/or remove it if you
disagree. I'm sorry that I don't have time at present to look into _why_
this is happening, but it does happen consistently for me on two systems.

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

* Re: ispell misalignment error
  2002-08-17  0:15 ` Glenn Morris
@ 2002-08-17 20:08   ` Richard Stallman
  2002-08-17 20:22     ` Glenn Morris
  2002-08-17 20:08   ` Richard Stallman
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2002-08-17 20:08 UTC (permalink / raw)
  Cc: emacs-devel

Have we asked the maintainer of ispell.el to look at the problem?
etc/PROBLEMS is not the best way to communicate with him.

I will send him the message now.

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

* Re: ispell misalignment error
  2002-08-17  0:15 ` Glenn Morris
  2002-08-17 20:08   ` Richard Stallman
@ 2002-08-17 20:08   ` Richard Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2002-08-17 20:08 UTC (permalink / raw)
  Cc: gmorris+mail

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 <gmorris@ast.cam.ac.uk>
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: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Post: <mailto:emacs-devel@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
List-Id: Emacs development discussions. <emacs-devel.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/emacs-devel/>
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

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

* Re: ispell misalignment error
  2002-08-17 20:08   ` Richard Stallman
@ 2002-08-17 20:22     ` Glenn Morris
  2002-08-18 19:36       ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2002-08-17 20:22 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman wrote:

> Have we asked the maintainer of ispell.el to look at the problem?
> etc/PROBLEMS is not the best way to communicate with him.

Oh, sorry - I assumed that posting to emacs-devel was the way to
communicate about such matters.

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

* Re: ispell misalignment error
  2002-08-17 20:22     ` Glenn Morris
@ 2002-08-18 19:36       ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2002-08-18 19:36 UTC (permalink / raw)
  Cc: emacs-devel

> From: Glenn Morris <gmorris+mail@ast.cam.ac.uk>
> Date: Sat, 17 Aug 2002 21:22:53 +0100
> 
> Richard Stallman wrote:
> 
> > Have we asked the maintainer of ispell.el to look at the problem?
> > etc/PROBLEMS is not the best way to communicate with him.
> 
> Oh, sorry - I assumed that posting to emacs-devel was the way to
> communicate about such matters.

No, maintainers of individual packages not necessarily subscribe to
emacs-devel.  So it's always a good idea to CC: them explicitly.

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

end of thread, other threads:[~2002-08-18 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06 17:10 ispell misalignment error Glenn Morris
2002-08-17  0:15 ` Glenn Morris
2002-08-17 20:08   ` Richard Stallman
2002-08-17 20:22     ` Glenn Morris
2002-08-18 19:36       ` Eli Zaretskii
2002-08-17 20:08   ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).