emacs-devel
[Top][All Lists]
Advanced

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

Re: More problems with flyspell


From: Agustin Martin
Subject: Re: More problems with flyspell
Date: Mon, 9 Jan 2006 23:56:02 +0100
User-agent: Mutt/1.5.9i

On Mon, Jan 09, 2006 at 04:53:31PM -0500, Stefan Monnier wrote:
> Looking at this patch, I feel like my flyspell-last-buffer should probably
> be moved from flyspell.el to ispell.el (and renamed ispell-last-buffer).

If I am not wrong nothing in ispell.el really needs it, is (flyspell-word) in
a loop what needs it. If patch is correct, it will only be set if
flyspell.el is loaded, so flyspell.el seems not that a bad place.  And it
indeed shows name of last buffer accessed by a flyspell operation. Its
presence in ispell.el is a bit surprising, but harmless when flyspell.el is
not loaded.

> PS: Maybe the same should be done with flyspell-word-cache-word, of course,
> but I'm not familiar enough with it.

That is flyspell only, stores last word checked by (flyspell-word), so
flyspell-word is not called again unless cursor goes to a different word.
However is good to have it cleared when dict is changed to force re-checking
of current word, and the dict change is done from ispell.el. I think this
one should not be moved.

-- 
Agustin




reply via email to

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