From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: More problems with flyspell
Date: Mon, 09 Jan 2006 16:53:31 -0500 [thread overview]
Message-ID: <jwv8xtp5ax7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20060109182611.GA4925@agmartin.aq.upm.es> (Agustin Martin's message of "Mon, 9 Jan 2006 19:26:11 +0100")
> @@ -2630,8 +2639,13 @@
> (let ((dict (or ispell-local-dictionary ispell-dictionary)))
> (unless (equal ispell-current-dictionary dict)
> (ispell-kill-ispell t)
> - (setq ispell-current-dictionary dict))))
> -
> + (setq ispell-current-dictionary dict)
> + ;; If needed, start ispell process and clear out flyspell word cache
> + (when (featurep 'flyspell)
> + (setq flyspell-last-buffer nil) ;; re-read buffer-local-defs
> + (when flyspell-mode
> + (ispell-init-process)
> + (setq flyspell-word-cache-word nil))))))
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 someone could do that for me, that'd be swell,
Stefan
PS: Maybe the same should be done with flyspell-word-cache-word, of course,
but I'm not familiar enough with it.
next prev parent reply other threads:[~2006-01-09 21:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 13:37 More problems with flyspell Piet van Oostrum
2006-01-05 21:52 ` Stefan Monnier
2006-01-06 0:11 ` Agustin Martin
2006-01-08 14:47 ` Richard M. Stallman
2006-01-09 12:53 ` Agustin Martin
2006-01-09 18:26 ` Agustin Martin
2006-01-09 21:53 ` Stefan Monnier [this message]
2006-01-09 22:56 ` Agustin Martin
2006-01-10 4:16 ` Stefan Monnier
2006-01-10 14:46 ` Agustin Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8xtp5ax7.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.