all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Nathaniel Cunningham" <nathaniel.cunningham@gmail.com>
To: emacs-pretest-bug@gnu.org, Manuel.Serrano@unice.fr
Cc: David Reitter <david.reitter@gmail.com>
Subject: flyspell functions don't initialize aspell dicts
Date: Mon, 12 May 2008 17:27:46 -0500	[thread overview]
Message-ID: <20ecf6c70805121527y505e6bd5qabad4e401eeaffef@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: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87y73lrc8c.fsf@stupidchicken.com>
2008-05-12 22:27 ` Nathaniel Cunningham [this message]
2008-05-13 10:19   ` flyspell functions don't initialize aspell dicts Agustin Martin
2008-07-28 20:25   ` bug#232: marked as done (flyspell functions don't initialize aspell dicts) Emacs bug Tracking System

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=20ecf6c70805121527y505e6bd5qabad4e401eeaffef@mail.gmail.com \
    --to=nathaniel.cunningham@gmail.com \
    --cc=Manuel.Serrano@unice.fr \
    --cc=david.reitter@gmail.com \
    --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 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.