Re: [PATCH] spell re-working

2003-02-16 Thread John Levon
On Sun, Feb 16, 2003 at 08:30:12PM +0100, Kornel Benko wrote: > Now, I tried to trace it down. This is the relevant part ... > > (fd=14 --> pipe from aspell, fd=13 --> pipe to aspell) Well, it's quite simple what's happening: we only read from stdout, but aspell is complaining to stderr. S

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 19:57, John Levon wrote: > On Sun, Feb 16, 2003 at 07:51:38PM +0100, Kornel Benko wrote: > > What are the parameters to call aspell from within LyX? > > check the top of ispell.C (near the top anyway) Now, I tried to trace it down. T

Re: [PATCH] spell re-working

2003-02-16 Thread John Levon
On Sun, Feb 16, 2003 at 07:51:38PM +0100, Kornel Benko wrote: > What are the parameters to call aspell from within LyX? check the top of ispell.C (near the top anyway) john

Re: [PATCH] spell re-working

2003-02-16 Thread John Levon
On Sun, Feb 16, 2003 at 07:45:18PM +0100, Kornel Benko wrote: > Moreover, when trying aspell from the command line (like "aspell -c "), all >works perfectly. > It is lyx waitin for some input. Killing with > kill -HUP Yes. My forthcoming patch will change this behaviour to give an alert i

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 19:45, Kornel Benko wrote: ... > > I did not find where this message came from. ( ... may not appear ...) > Ok, it is comming from "/usr/lib/libaspell.so.10". strings -a /usr/lib/libaspell.so.10| grep may - --> ' may not appear at

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 19:16, John Levon wrote: > I click Add and nothing happens. I tried the non-patched version of lyx, but same behaviour. > Note that -w (your escape chars) is ignored completely for aspell > according > to aspell --help Moreover, wh

Re: [PATCH] spell re-working

2003-02-16 Thread John Levon
On Sun, Feb 16, 2003 at 07:06:39PM +0100, Kornel Benko wrote: > > Nope, still can't reproduce. I get "W_repair" as unknown just fine. > > Oh yes, it is unknown. But try the "add" botton please, (insert int personal >dictionary) I click Add and nothing happens. Note that -w (your escape chars)

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 18:50, John Levon wrote: > Nope, still can't reproduce. I get "W_repair" as unknown just fine. Oh yes, it is unknown. But try the "add" botton please, (insert int personal dictionary) Kornel - -- Kornel Benko [EMAIL PROTEC

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 18:50, John Levon wrote: > On Sun, Feb 16, 2003 at 06:41:58PM +0100, Kornel Benko wrote: > > Escape characters "_" > > Accept compound words > > Use input encoding > > Nope, still can't reproduce. I get "W_repair" as unkno

Re: [PATCH] spell re-working

2003-02-16 Thread John Levon
On Sun, Feb 16, 2003 at 06:41:58PM +0100, Kornel Benko wrote: > Escape characters "_" > Accept compound words > Use input encoding Nope, still can't reproduce. I get "W_repair" as unknown just fine. john

Re: [PATCH] spell re-working

2003-02-16 Thread Angus Leeming
John Levon wrote: > On Sun, Feb 16, 2003 at 02:46:35AM +, John Levon wrote: > >> I'm still testing this, but it works for old pspell at least a little. >> >> +Alert::alert("Spellchecking is complete", message); >> + >> +// the session might have completed with out any errors at all >

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 18:30, John Levon wrote: > Well, I'm using aspell-0.33.7.1-16 (in fact not sure it matters) and I > can't see what you're describing. W_repair is correctly split into two > separate words for spellchecking. Oh, I see. Then my laguage

Re: [PATCH] spell re-working

2003-02-16 Thread John Levon
On Sun, Feb 16, 2003 at 06:25:52PM +0100, Kornel Benko wrote: > > You didn't tell me what spellchecker you're using and version. > > Sorry. From rpm: aspell-0.33.7.1-207. > aspell -v > @(#) International Ispell Version 3.1.20 (but really Aspell .33.7.1 alpha) > > Kornel Well, I'

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 17:29, John Levon wrote: ... > You didn't tell me what spellchecker you're using and version. Sorry. From rpm: aspell-0.33.7.1-207. aspell -v @(#) International Ispell Version 3.1.20 (but really Aspell .33.7.1 alpha)

Re: [PATCH] spell re-working

2003-02-16 Thread John Levon
On Sun, Feb 16, 2003 at 01:37:06PM +0100, Kornel Benko wrote: > Invalid word "W_repair": The characteexpose r '_' may not appear at the middle >of a word.6 > 74x22+0+752 You didn't tell me what spellchecker you're using and version. > stopps lyx. (LyX does not react anymore). The

Re: [PATCH] spell re-working

2003-02-16 Thread Moritz Moeller-Herrmann
John Levon wrote: > On Sun, Feb 16, 2003 at 03:37:19AM +, John Levon wrote: > Here's Qt and the rest. I have tested this version on 1.4 CVS with the old and obsolete aspell/pspell-0.33. It works fine and better than the buggy old version AFAICS. Skipping foreign language words works fine.

Re: [PATCH] spell re-working

2003-02-16 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 16. Februar 2003 05:54, John Levon wrote: > On Sun, Feb 16, 2003 at 03:37:19AM +, John Levon wrote: > > I'll post the Qt side of things soon too > > Here's Qt and the rest. > > > There's still the bug I mentioned wrt completely-error-free document

Re: [PATCH] spell re-working

2003-02-15 Thread John Levon
On Sun, Feb 16, 2003 at 03:37:19AM +, John Levon wrote: > I'll post the Qt side of things soon too Here's Qt and the rest. > There's still the bug I mentioned wrt completely-error-free document. Looking deeper it seems that we really need to make some serious controller changes to make this

Re: [PATCH] spell re-working

2003-02-15 Thread John Levon
On Sun, Feb 16, 2003 at 02:46:35AM +, John Levon wrote: > I'm still testing this, but it works for old pspell at least a little. Here's another version with a couple of more fixes and improvements. That stupid 15 second timeout died, so now when the user has mis-configured their aspell, they

Re: [PATCH] spell re-working

2003-02-15 Thread John Levon
On Sun, Feb 16, 2003 at 02:46:35AM +, John Levon wrote: > I'm still testing this, but it works for old pspell at least a little. > > + Alert::alert("Spellchecking is complete", message); > + > + // the session might have completed with out any errors at all > + emergency_exit_ = t

[PATCH] spell re-working

2003-02-15 Thread John Levon
I'm still testing this, but it works for old pspell at least a little. This fixes a number of problems and cleans up some stuff. o we start spell automatically on opening the dialog o remove all the weirdo xforms stop/start stuff - it never worked o save the word lists under all circumstances o