On Wed, Aug 01, 2007 at 03:56:37PM +0200, Vincent Lefevre wrote:
> Package: dictionaries-common
> Version: 0.82.0
> Severity: normal
> 
> In Emacs, I can type:
> 
>   M-x ispell-change-dictionary
> 
> then select the "english" dictionary. But M-x ispell-buffer says:
> 
> Starting new Ispell process...
> ispell-init-process: Can't open /usr/lib/ispell/en.hash

Hi, Vincent

I will soon upload a new package that should take care of this. This took
longer than expected, and still needs some extra checks, but it should
handle better ispell and aspell dicts list. Thanks for your patience,

On Sat, Aug 11, 2007 at 04:34:45PM +0200, Vincent Lefevre wrote:
> 
> (defun ispell-region-en (reg-start reg-end)
>   "Interactively check a region for spelling errors, in English."
>   (interactive "r")
>   (ispell-change-dictionary "en")
>   (ispell-region reg-start reg-end))

One additional thing wrt this code, apart from the en->english change.
It seems to change dictionary for the whole buffer when you only want
it changed for the given region. Something like

(defun ispell-region-en (reg-start reg-end)
  "Interactively check a region for spelling errors, in English."
  (interactive "r")
  (let ((ispell-local-dictionary "english"))
    (ispell-region reg-start reg-end)))

might work better.

-- 
Agustin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to