From: "Jacek Chrząszcz" <chrzaszcz@mimuw.edu.pl>
To: 13639@debbugs.gnu.org
Subject: bug#13639: ispell.el: hunspell dicts autodetection under Emacs.
Date: Thu, 4 Apr 2013 16:41:44 +0200 [thread overview]
Message-ID: <CAJXkEjt9Z4C5qtOU5ktcScgtnqcHAaVV3pTzCHZvR+5pGV_Faw@mail.gmail.com> (raw)
In-Reply-To: <20130116122509.GA2209@omega.in.herr-schmitt.de>
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
Hi,
I'd like to post a small correction to ispell.el (hunspell dictionary decoding).
In case the initial ispell-args coordinate of ispell-dictionary-alist
entry is set to nil, the hunspell equiv lookup does not work. The
attached patch corrects this.
Unfortunately I have not been able to set up emacs spellchecking to
work with hunspell for the Polish language due to some encoding
problems.
"if: Ispell and its process have different character maps"
Even though flyspell works to some extent, I go back to aspell, which
works much better.
FYI, I am testing Fedora 18 with packaged GNU Emacs 24.2.1
(x86_64-redhat-linux-gnu, GTK+ Version 3.6.4).
Bests,
Jacek
[-- Attachment #2: emacs.24.2.hunspell.2.patch --]
[-- Type: application/octet-stream, Size: 475 bytes --]
--- ispell.el.orig 2013-04-04 16:06:20.292114823 +0200
+++ ispell.el 2013-04-04 15:49:34.819740110 +0200
@@ -1171,7 +1170,7 @@
;; Unless default dict, re-add "-d" option with the mapped value
(if dict-name
(if dict-equiv
- (nconc ispell-args (list "-d" dict-equiv))
+ (setq ispell-args (nconc ispell-args (list "-d" dict-equiv)))
(message
"ispell-set-spellchecker-params: Missing hunspell equiv for \"%s\". Skipping."
dict-name)
next prev parent reply other threads:[~2013-04-04 14:41 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 12:25 bug#13460: Issue to change dictionary when using hunspell on emacs Jochen Schmitt
2013-01-16 18:01 ` Eli Zaretskii
2013-01-16 23:23 ` Glenn Morris
2013-01-17 3:51 ` Eli Zaretskii
2013-01-17 6:37 ` Glenn Morris
2013-01-17 12:26 ` Agustin Martin
2013-01-17 15:24 ` Agustin Martin
2013-01-17 16:31 ` Stefan Monnier
2013-01-17 18:15 ` Agustin Martin
2013-01-17 16:41 ` Eli Zaretskii
2013-01-17 18:12 ` Agustin Martin
2013-01-17 18:42 ` Eli Zaretskii
[not found] ` <11624660.12538.1358448223517.JavaMail.root@mx1-new.spamfiltro.es>
2013-01-17 19:06 ` Agustin Martin
2013-01-17 19:36 ` Eli Zaretskii
2013-01-17 18:08 ` Glenn Morris
[not found] ` <7076415.12428.1358446115519.JavaMail.root@mx1-new.spamfiltro.es>
2013-01-17 18:44 ` Agustin Martin
2013-01-17 16:10 ` Eli Zaretskii
[not found] ` <20130117131733.GA20519@omega.in.herr-schmitt.de>
2013-01-17 18:19 ` Glenn Morris
2013-01-17 19:30 ` Agustin Martin
2013-01-18 17:05 ` Agustin Martin
2013-01-18 18:03 ` Jochen Schmitt
2013-01-18 19:03 ` Eli Zaretskii
2013-01-18 19:23 ` Agustin Martin
2013-01-18 19:05 ` Agustin Martin
2013-01-21 16:52 ` Agustin Martin
2013-01-21 9:43 ` Jochen Schmitt
2013-02-20 17:50 ` bug#13639: [emacs] ispell.el: hunspell dicts autodetection under Emacs Agustin Martin
2013-02-20 19:00 ` Eli Zaretskii
2013-02-28 19:23 ` Agustin Martin
2013-02-28 20:26 ` Eli Zaretskii
2013-04-15 10:18 ` Agustin Martin
2013-04-04 14:41 ` Jacek Chrząszcz [this message]
2013-04-05 15:57 ` bug#13639: " 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
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=CAJXkEjt9Z4C5qtOU5ktcScgtnqcHAaVV3pTzCHZvR+5pGV_Faw@mail.gmail.com \
--to=chrzaszcz@mimuw.edu.pl \
--cc=13639@debbugs.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).