all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arash Esbati <esbati@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: 24.5.; invoking hunspell with multiple dicts
Date: Fri, 1 May 2015 15:33:07 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150501T172004-844@post.gmane.org> (raw)
In-Reply-To: 83wq0sqqzu.fsf@gnu.org

Eli Zaretskii <eliz <at> gnu.org> writes:

[...]

> IOW, this feature of Hunspell is for using several dictionaries for
> the same language, like if you want to use a dictionary of medicinal
> terms in addition to the general vocabulary.

Thanks for your response and clarification.  I read this in hunspell's man page

    −d en_US,en_geo,en_med,de_DE,de_med

and just adapted it.  Obviously, I've been abusing that feature for a long
time now, but it worked quite well ;-)

> In any case, the correct the syntax for using several dictionaries is
> dict1,dict2,dict3,..., i.e. use commas.

Yes, I have that in 

>      ("deutsch8+american" 
>       "[a-zA-Z\304\326\334\344\366\337\374]" 
>       "[^a-zA-Z\304\326\334\344\366\337\374]" "[']" t
>       ("-d" "de_DE,en_US")
         ^^^^^^^^^^^^^^^^^^
> > Debugger entered--Lisp error: (error "ispell-phaf: No matching entry for
deutsch8+american.
> > ")
> 
> All of the above notwithstanding, this error message does indicate a
> bug, so please submit a bug report by "M-x report-emacs-bug RET".

Will do so.

While we're at it: I never managed to get the `OTHERCHARS' feature work with
hunspell.  I.e.,

> (setq
>    ispell-local-dictionary-alist
>    '((nil "[A-Za-z]" "[^A-Za-z]" "[']" nil
>       ("-d" "en_US")
>       nil iso-8859-1)
>      ("deutsch8" 
>       "[a-zA-Z\304\326\334\344\366\337\374]" 
>       "[^a-zA-Z\304\326\334\344\366\337\374]"
>       "[-'=~\"]" t
         ^^^^^^^^
>       ("-d" "de_DE")
>       nil iso-8859-1)))

This is very useful when writing German text with LaTeX.  Any idea?

Thanks!  Best, Arash

  reply	other threads:[~2015-05-01 15:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-01  9:58 24.5.; invoking hunspell with multiple dicts Arash Esbati
2015-05-01 15:03 ` Eli Zaretskii
2015-05-01 15:33   ` Arash Esbati [this message]
2015-05-01 17:42     ` Eli Zaretskii
2015-05-02 20:25       ` Arash Esbati
2015-05-03 14:40         ` Eli Zaretskii
2015-05-04 19:57           ` Arash Esbati
2015-05-05  2:33             ` 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=loom.20150501T172004-844@post.gmane.org \
    --to=esbati@gmx.de \
    --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.