From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Speck (Spell checker for Emacs)
Date: Sat, 18 Apr 2015 20:34:37 +0300 [thread overview]
Message-ID: <83a8y5732q.fsf@gnu.org> (raw)
In-Reply-To: <CAKu-7WwnhOhBzstGpdaxH1_Xon+SJFWv=ejvqc2f+i_dZ_eBcg@mail.gmail.com>
> Date: Sat, 18 Apr 2015 19:20:14 +0200
> From: Alexander Shukaev <haroogan@gmail.com>
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
>
> It might sound weird, but here is where I've got so far. First of all, it was
> important to change
>
> (expand-file-name "share/hunspell" ...
>
> to
>
>
> (expand-file-name "share/hunspell/" ...
I did that without even thinking; it's always safe to have a trailing
slash.
> Secondly, even after that, it still reported the same error.
Not here, it didn't.
> Lastly, when I said that it works I only meant that there are no more errors
> and I see [en] in green color in the mode line, but nothing is actually
> highlighted in the buffer, while clearly there are wrongly spelled words. When
> it works for you, does speck automatically highlight misspelled words?
Of course. How else would I know it "worked"?
Anyway, here's the full recipe that works for me in Emacs 24.5:
. emacs -Q
. Insert this into *scratch*:
(setq speck-hunspell-program (executable-find "hunspell"))
(setq speck-hunspell-coding-system (quote utf-8))
(setq speck-hunspell-dictionary-alist
(quote (("en" . "en_US")
("ru" . "ru_RU"))))
(setq speck-hunspell-default-dictionary-name "en")
. Mark all of the above and type "M-x eval-region RET"
. Type "M-x set-variable RET speck-hunspell-library-directory RET"
and type the correct directory, with the trailing slash, in quotes,
at the prompt.
. M-x speck-mode RET
Now type some mis-spelled word followed by a blank, and wait for a
second: the mis-spelled word will be marked with a red underline.
next prev parent reply other threads:[~2015-04-18 17:34 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 22:55 Speck (Spell checker for Emacs) Alexander Shukaev
2015-04-18 11:10 ` tomas
2015-04-18 12:24 ` Alexander Shukaev
2015-04-18 13:15 ` tomas
2015-04-18 13:56 ` Alexander Shukaev
2015-04-18 14:13 ` tomas
2015-04-18 14:46 ` Eli Zaretskii
2015-04-18 15:19 ` Eli Zaretskii
2015-04-18 16:16 ` Alexander Shukaev
2015-04-18 16:33 ` Eli Zaretskii
2015-04-18 16:36 ` Alexander Shukaev
2015-04-18 16:41 ` Eli Zaretskii
2015-04-18 16:56 ` Eli Zaretskii
2015-04-18 17:20 ` Alexander Shukaev
2015-04-18 17:34 ` Eli Zaretskii [this message]
2015-04-18 19:44 ` Alexander Shukaev
2015-04-18 20:22 ` Alexander Shukaev
-- strict thread matches above, loose matches on Subject: below --
2015-04-21 10:34 martin rudalics
2015-04-21 12:18 ` Alexander Shukaev
2015-04-21 15:19 ` Eli Zaretskii
2015-04-21 15:26 ` Alexander Shukaev
2015-04-22 9:33 ` martin rudalics
2015-04-22 10:50 ` Alexander Shukaev
[not found] ` <mailman.1265.1429618691.904.help-gnu-emacs@gnu.org>
2015-04-21 12:57 ` Sebastien Vauban
2015-04-21 15:10 ` Eli Zaretskii
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=83a8y5732q.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.