From: "Nathaniel Cunningham" <nathaniel.cunningham@gmail.com>
To: emacs-pretest-bug@gnu.org, Manuel.Serrano@unice.fr
Subject: bug#232: flyspell functions don't initialize aspell dicts
Date: Mon, 12 May 2008 17:27:46 -0500 [thread overview]
Message-ID: <20ecf6c70805121527y505e6bd5qabad4e401eeaffef__40033.3802834668$1210642400$gmane$org@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 689 bytes --]
Greetings,
I've found that (flyspell-buffer) doesn't go through the same dictionary
initialization steps as (ispell-buffer). Specifically, the flyspell
functions (flyspell-word) and (flyspell-large-region) don't call
(ispell-maybe-find-aspell-dictionaries), they way (ispell-region) and
(flyspell-mode) do. The result: user's aspell setup (if present) doesn't
get to inform `ispell-dictionary-alist', unless e.g. (ispell-buffer) or
(flyspell-mode) is called first.
I believe simply adding (ispell-maybe-find-aspell-dictionaries) near the top
of `flyspell-word' and `flyspell-large-region' definitions, as it already is
for `flyspell-mode-on', will take care of this.
Cheers,
Nathaniel
[-- Attachment #2: Type: text/html, Size: 759 bytes --]
reply other threads:[~2008-05-12 22:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='20ecf6c70805121527y505e6bd5qabad4e401eeaffef__40033.3802834668$1210642400$gmane$org@mail.gmail.com' \
--to=nathaniel.cunningham@gmail.com \
--cc=232@emacsbugs.donarmstrong.com \
--cc=Manuel.Serrano@unice.fr \
--cc=emacs-pretest-bug@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).