all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Agustin Martin <agustin.martin@hispalinux.es>
To: 12768@debbugs.gnu.org, Reuben Thomas <rrt@sc3d.org>
Subject: bug#12768: 24.1; flyspell highlights words which ispell accepts
Date: Wed, 31 Oct 2012 15:53:18 +0100	[thread overview]
Message-ID: <20121031145318.GA16471@agmartin.aq.upm.es> (raw)
In-Reply-To: <CAOnWdoj8sTua55YCcFUupMhQV10ySNbNXLzSrJ1YCq4NEjP+JA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]

On Wed, Oct 31, 2012 at 12:35:20PM +0000, Reuben Thomas wrote:
> In that case, it seems my customizations are relevant:
> 
>  '(ispell-local-dictionary "british+accs")
>  '(ispell-program-name "/usr/bin/aspell")
> 
> and
> 
> (setq ispell-local-dictionary-alist
>       (append ispell-local-dictionary-alist
>               '(("british+accs"         ; British version
>                  "[[:alpha:]]"
>                  "[^[:alpha:]]"
>                  "[-'??]"
>                  nil
>                  ("-B" "-d" "en_GB")
>                  nil
>                  utf-8))))
> 
> Note that the only point of these customizations is to allow the use of
> accented letters and curly quotes in English words.

You no longer need to make this kind of things to use accented letters for
standard entries under aspell or hunspell, [:alpha:] will be used as
default for them (but not for stuff in `ispell-local-dictionary-alist' where
user choice is honoured).

On the other hand, aspell en.dat only contains ['] as allowed wordchars, 
adding other separators here (in .emacs) may trigger some errors about
different character maps when invoking ispell-word.

aspell seems to internally deal with the explicit acute accent similarly to
', so adding it seems to be OK here.

Apart from that, seems I still get similar results for ispell-buffer and
flyspell with your entry. Please find attached the file I used for tests,

-- 
Agustin

[-- Attachment #2: test-12768.txt --]
[-- Type: text/plain, Size: 159 bytes --]

executive's 
executable's 

auto-bahn

auto'bahn

fromá 

auto‘bahn auto’bahn 

; Local Variables:
; mode: flyspell
; coding: utf-8
; End:

  reply	other threads:[~2012-10-31 14:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 13:23 bug#12768: 24.1; flyspell highlights words which ispell accepts Reuben Thomas
2012-10-31 12:26 ` Agustin Martin
2012-10-31 12:31 ` Agustin Martin
2012-10-31 12:35   ` Reuben Thomas
2012-10-31 14:53     ` Agustin Martin [this message]
2012-10-31 15:20       ` Reuben Thomas
2012-10-31 20:17         ` Reuben Thomas
2012-10-31 21:31           ` Agustin Martin
2012-10-31 21:50             ` Reuben Thomas
2012-11-01  0:10               ` Agustin Martin
2012-11-01  0:55                 ` Reuben Thomas
2012-11-01 14:44                 ` Eli Zaretskii
2012-11-02  1:19                   ` Agustin Martin
     [not found]                 ` <24814310.2560.1351781107917.JavaMail.root@mx1-new.spamfiltro.es>
2012-11-06 17:48                   ` Agustin Martin
2012-10-31 16:01   ` Glenn Morris

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=20121031145318.GA16471@agmartin.aq.upm.es \
    --to=agustin.martin@hispalinux.es \
    --cc=12768@debbugs.gnu.org \
    --cc=rrt@sc3d.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.