help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hunspell problems


From: Sébastien Vauban
Subject: Hunspell problems
Date: Thu, 19 Nov 2009 16:19:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hello,

I tried using hunspell as it seems better for compound words, maybe faster,
and used anyway in other Linux tools such as OpenOffice.org.

Though, it's not really working well nor worse. It does correct words
depending on my language, but it also:

- generates an error when opening my .emacs file in en_US:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "@(#) International Ispell Version 3.2.06 
(but really Hunspell 1.2.8)
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.2.8)")
  signal(error ("@(#) International Ispell Version 3.2.06 (but really Hunspell 
1.2.8)\n@(#) International Ispell Version 3.2.06 (but really Hunspell 1.2.8)"))
  error("%s" "@(#) International Ispell Version 3.2.06 (but really Hunspell 
1.2.8)\n@(#) International Ispell Version 3.2.06 (but really Hunspell 1.2.8)")
  (cond ((null ispell-filter) (error "%s did not output version line" 
ispell-program-name)) ((and ... ... ...) nil) (t (sleep-for 1) 
(ispell-accept-output 3) (error "%s" ...)))
  (if (and ispell-process (eq ... ...) (or ... ...)) (setq ispell-filter nil 
ispell-filter-continue nil) (ispell-kill-ispell t) (message "Starting new 
Ispell process [%s] ..." (or ispell-local-dictionary ispell-dictionary 
"default")) (sit-for 0) (setq ispell-library-directory (ispell-check-version) 
ispell-process-directory default-directory ispell-process 
(ispell-start-process) ispell-filter nil ispell-filter-continue nil) (if 
ispell-async-processp (set-process-filter ispell-process ...)) (if (and ... 
...) (set-process-coding-system ispell-process ... ...)) (ispell-accept-output 
3) (if (null ispell-filter) (ispell-accept-output 3)) (cond (... ...) (... nil) 
(t ... ... ...)) (setq ispell-filter nil) (let (...) (if extended-char-mode 
...)) (if ispell-async-processp (if ... ... ...)))
  ispell-init-process()
  ispell-buffer-local-words()
  ispell-accept-buffer-local-defs()
  (save-current-buffer (ispell-accept-buffer-local-defs))
  (progn (setq flyspell-last-buffer (current-buffer)) (save-current-buffer 
(ispell-accept-buffer-local-defs)) (unless (and ... ...) (setq 
flyspell-dash-dictionary ispell-dictionary) (setq 
flyspell-dash-local-dictionary ispell-local-dictionary) (setq 
flyspell-consider-dash-as-word-delimiter-flag ...)))
  (if (or force (not ...)) (progn (setq flyspell-last-buffer ...) 
(save-current-buffer ...) (unless ... ... ... ...)))
  (when (or force (not ...)) (setq flyspell-last-buffer (current-buffer)) 
(save-current-buffer (ispell-accept-buffer-local-defs)) (unless (and ... ...) 
(setq flyspell-dash-dictionary ispell-dictionary) (setq 
flyspell-dash-local-dictionary ispell-local-dictionary) (setq 
flyspell-consider-dash-as-word-delimiter-flag ...)))
  flyspell-accept-buffer-local-defs(force)
  flyspell-hack-local-variables-hook()
  run-hooks(hack-local-variables-hook)
  hack-local-variables()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer .emacs> "~/.emacs" nil nil "~/.emacs" (984 
2052))
  find-file-noselect("~/.emacs" nil nil nil)
  find-file("~/.emacs")
  my-open-dot-emacs()
  call-interactively(my-open-dot-emacs nil nil)
--8<---------------cut here---------------end--------------->8---

  I don't understand what's the problem, and thus its correction... Can you
  enlighten me?


- takes sometimes 100% of CPU...


Can you share your experience so that I can use it successfully?

Best regards,
  Seb

-- 
Sébastien Vauban


reply via email to

[Prev in Thread] Current Thread [Next in Thread]