From: Agustin Martin <agustimartin@gmail.com>
To: Vladimir Lomov <lomov.vl@gmail.com>
Cc: 15903@debbugs.gnu.org
Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil)
Date: Sat, 16 Nov 2013 12:43:02 +0100 [thread overview]
Message-ID: <CAKy3oZq2HLboWBTf6tQfXZ7r1N1qi+Kn9hynBuzqn9AMypQuaA@mail.gmail.com> (raw)
In-Reply-To: <87wqk9k96w.fsf@smoon.org>
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
2013/11/15 Vladimir Lomov <lomov.vl@gmail.com>
> --text follows this line--
>
> Hello,
> according to variable 'ispell-dictionary-base-alist' defined in
> 'ispell.el' if 'ispell-dictionary' is nil then it is considered as
> default value for dictionary. Unfortunately, when hunspell is used as
> ispell program function 'ispell-parse-hunspell-affix-file' fails because
> it doesn't expect nil as argument.
>
> I propose small and simple patch. I checked it starting emacs as:
> emacs -Q
> and evaluating in *scratch*:
> (setq ispell-program-name "hunspell")
> (setq ispell-really-hunspell t)
> after that I run 'M-$' while point is on first 's' of
> (message)
>
> In minibuffer I see
> MESSAGE is correct
>
> Without this patch the same steps lead to message
> ispell-phaf: No matching entry for nil.
>
Hi,
Cannot reproduce it here. By the way, once initialized for hunspell
ispell.el provides a match for default (nil) value, here
(nil [[:alpha:]] [^[:alpha:]] ['] nil (-B) nil utf-8)
Regards,
--
Agustin
[-- Attachment #2: Type: text/html, Size: 1584 bytes --]
next prev parent reply other threads:[~2013-11-16 11:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-15 15:16 bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Vladimir Lomov
2013-11-15 17:00 ` bug#15904: " Glenn Morris
2013-11-16 11:43 ` Agustin Martin [this message]
2013-11-18 6:33 ` bug#15903: " Vladimir Lomov
2013-11-18 12:11 ` Agustin Martin
2013-11-18 12:48 ` Vladimir Lomov
2013-11-19 10:29 ` Agustin Martin
2013-11-19 12:08 ` Vladimir Lomov
2013-11-19 13:43 ` 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=CAKy3oZq2HLboWBTf6tQfXZ7r1N1qi+Kn9hynBuzqn9AMypQuaA@mail.gmail.com \
--to=agustimartin@gmail.com \
--cc=15903@debbugs.gnu.org \
--cc=lomov.vl@gmail.com \
/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.