Mike FABIAN <mfabian(a)suse.de> writes:
Fabrice Popineau <Fabrice.Popineau(a)supelec.fr> ~~~~~~~~:
> * Mike FABIAN <mfabian(a)suse.de> writes:
>
> > I see that the process id of ispell changes after each letter I
> > type.
>
> There is a bug in ispell : when you change the dictionary once ispell is
> killed and rerun everytime you invoke it. I debugged that once and I
> think the lines involved are these ones:
>
>
> (defun ispell-buffer-local-dict ()
> "Initializes local dictionary and local personal dictionary.
> ...
> ;; Reload if new dictionary defined.
> (if (and ispell-local-dictionary
> (not (equal ispell-local-dictionary ispell-dictionary)))
> (ispell-change-dictionary ispell-local-dictionary)))
>
> But I can't guarantee that this is the actual patch I came to. Try it.
Yes, you are right, thank you!
The patch below fixes the problem for me:
Hi Mike, is this still not commited to XEmacs CVS?
Should it be?
Best regards,
Adrian
(see also:
http://bugzilla.novell.com/show_bug.cgi?id=106703 )
packages/xemacs-packages/ispell/CVSã ãã«çºè¦: Base
packages/xemacs-packages/ispell/CVSã ãã«çºè¦: Baserev
diff -ru packages.orig/xemacs-packages/ispell/ispell.el
packages/xemacs-packages/ispell/ispell.el
--- packages.orig/xemacs-packages/ispell/ispell.el 2005-02-13 14:40:21.000000000 +0100
+++ packages/xemacs-packages/ispell/ispell.el 2005-08-23 16:10:03.000000000 +0200
@@ -3463,7 +3463,8 @@
(ispell-kill-ispell t)
(setq ispell-personal-dictionary ispell-local-pdict)))
;; Reload if new dictionary defined.
- (if (not (equal ispell-local-dictionary ispell-dictionary))
+ (if (and ispell-local-dictionary
+ (not (equal ispell-local-dictionary ispell-dictionary)))
(ispell-change-dictionary ispell-local-dictionary)))
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/