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: Sat, 2 May 2015 20:25:19 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150502T221703-65@post.gmane.org> (raw)
In-Reply-To: 83twvwqjne.fsf@gnu.org

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

> You shouldn't need this with kind of customization with Emacs 24.4 and
> later.  That code which signals an error in your case figures
> OTHERCHARS automatically.  (It also figures out all the rest.)

Tried it with `ispell.el' shipped with 24.5. like this:

1.  emacs --eval '(setq debug-on-error t)' -Q &

2.  Open a simple LaTeX file:

\documentclass{article}
\usepackage[ngerman]{babel}
Schönheit, Schön"=heit.
\end{document}

3.  `M-x ispell-change-dictionary RET german8 RET', marking `Schön"=heit'
and `M-x ispell-region' gives me the following:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Ispell misalignment: word `heit' point
74; probably incompatible versions")
  signal(error ("Ispell misalignment: word `heit' point 74; probably
incompatible versions"))
  error("Ispell misalignment: word `%s' point %d; probably incompatible
versions" "heit" 74)
  ispell-process-line("^Schön\"=heit\n" nil)
  ispell-region(66 77)
  call-interactively(ispell-region record nil)
  command-execute(ispell-region record)
  execute-extended-command(nil "ispell-region")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
--8<---------------cut here---------------end--------------->8---

I'm not sure if I've got bitten by the bug discussed and fixed here:

http://sourceforge.net/p/hunspell/bugs/185/

I have Hunspell 1.3.3. installed.

Best, Arash

  reply	other threads:[~2015-05-02 20:25 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
2015-05-01 17:42     ` Eli Zaretskii
2015-05-02 20:25       ` Arash Esbati [this message]
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.20150502T221703-65@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.