GNU bug report logs -
#17890
24.4.50; flyspell highlights ``doesn't'' incorrect
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Tue, 1 Jul 2014 04:18:01 UTC
Severity: normal
Tags: moreinfo
Found in version 24.4.50
Done: Leo Liu <sdl.web <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17890 in the body.
You can then email your comments to 17890 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 04:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Liu <sdl.web <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 01 Jul 2014 04:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
As in the subject line.
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 06:26:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 17890 <at> debbugs.gnu.org (full text, mbox):
Works for me.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 11:14:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 17890 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2014-07-01 02:25 -0400, Glenn Morris wrote:
> Works for me.
Odd. this is what I see in emacs -Q in CentOS 6.5:
[flyspell.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 13:04:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 17890 <at> debbugs.gnu.org (full text, mbox):
On Tue, Jul 01, 2014 at 12:16:22PM +0800, Leo Liu wrote:
>
> As in the subject line.
Which dictionary and spellchecker are you using?
There is a known problem with the typographically correct apostrophe
(“right single quotation mark” U+2019) (bug#17437). Does the problem
happen with the single quote or with that U+2019 apostrophe?
--
Agustin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 13:33:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 17890 <at> debbugs.gnu.org (full text, mbox):
On 2014-07-01 15:03 +0200, Agustin Martin wrote:
> There is a known problem with the typographically correct apostrophe
> (“right single quotation mark” U+2019) (bug#17437). Does the problem
> happen with the single quote or with that U+2019 apostrophe?
They both give me the highlight. I am using emacs -Q and there is no
settings for dictionary unless it is based on locale. Mine is
en_GB.UTF-8.
CentOS with /usr/bin/hunspell
- 24.3.1 compiled on 2013-12-09 doesn't have this bug
- 24.3.92 compiled on 2014-06-30 and 24.4.50 (2014-06-29) both have this
bug.
MacOSX with /usr/bin/aspell
24.3.92.1 doesn't have this bug.
Thanks,
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 15:44:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 17890 <at> debbugs.gnu.org (full text, mbox):
> From: Leo Liu <sdl.web <at> gmail.com>
> Date: Tue, 01 Jul 2014 21:32:21 +0800
> Cc: 17890 <at> debbugs.gnu.org
>
> On 2014-07-01 15:03 +0200, Agustin Martin wrote:
> > There is a known problem with the typographically correct apostrophe
> > (“right single quotation mark” U+2019) (bug#17437). Does the problem
> > happen with the single quote or with that U+2019 apostrophe?
>
> They both give me the highlight. I am using emacs -Q and there is no
> settings for dictionary unless it is based on locale. Mine is
> en_GB.UTF-8.
>
> CentOS with /usr/bin/hunspell
> - 24.3.1 compiled on 2013-12-09 doesn't have this bug
> - 24.3.92 compiled on 2014-06-30 and 24.4.50 (2014-06-29) both have this
> bug.
I don't see this problem with Hunspell and today's trunk and emacs-24
branch.
If you invoke Hunspell outside of Emacs, does it accept "doesn't" as
correct spelling? Here's what I get when I type "doesn't" into
Hunspell and hit RET:
hunspell -a
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
doesn't
*
The asterisk response means the word is correct.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 16:24:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 17890 <at> debbugs.gnu.org (full text, mbox):
On 2014-07-01 18:43 +0300, Eli Zaretskii wrote:
> hunspell -a
> @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
> doesn't
> *
I have
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.2.8)
doesn't
& doesn 7 0: does, doest, does n, domes, dominoes, doe, doyen
*
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Tue, 01 Jul 2014 16:50:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 17890 <at> debbugs.gnu.org (full text, mbox):
On Wed, Jul 02, 2014 at 12:23:42AM +0800, Leo Liu wrote:
> On 2014-07-01 18:43 +0300, Eli Zaretskii wrote:
> > hunspell -a
> > @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
> > doesn't
> > *
>
> I have
>
> @(#) International Ispell Version 3.2.06 (but really Hunspell 1.2.8)
> doesn't
> & doesn 7 0: does, doest, does n, domes, dominoes, doe, doyen
> *
Does your dict .aff file contain a WORDCHARS section? Is apostrophe in it?
For instance, in my box (Sorry for the unixisms)
$ grep -i wordchars /usr/share/hunspell/en_{AU,GB,US}.aff
/usr/share/hunspell/en_GB.aff:WORDCHARS 0123456789'-.’
/usr/share/hunspell/en_US.aff:WORDCHARS 0123456789'
That is, australian dict does not have it, so I get
$ echo doesn\'t | hunspell -a -d en_GB
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.3)
*
$ echo doesn\'t | hunspell -a -d en_US
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.3)
*
But if I use the australian dict
$ echo doesn\'t | hunspell -a -d en_AU
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.3)
& doesn 3 0: does, doest, does n
*
--
Agustin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Wed, 02 Jul 2014 07:35:02 GMT)
Full text and
rfc822 format available.
Message #29 received at submit <at> debbugs.gnu.org (full text, mbox):
On 2014-07-01 18:49 +0200, Agustin Martin wrote:
> Does your dict .aff file contain a WORDCHARS section? Is apostrophe in it?
> For instance, in my box (Sorry for the unixisms)
$ grep -i wordchars /usr/share/myspell/en_{AU,GB,US}.aff
/usr/share/myspell/en_US.aff:WORDCHARS 0123456789
i.e. en_GB.aff has no WORDCHARS.
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Wed, 02 Jul 2014 14:47:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 17890 <at> debbugs.gnu.org (full text, mbox):
> From: Leo Liu <sdl.web <at> gmail.com>
> Date: Wed, 02 Jul 2014 15:33:55 +0800
>
> On 2014-07-01 18:49 +0200, Agustin Martin wrote:
> > Does your dict .aff file contain a WORDCHARS section? Is apostrophe in it?
> > For instance, in my box (Sorry for the unixisms)
>
> $ grep -i wordchars /usr/share/myspell/en_{AU,GB,US}.aff
> /usr/share/myspell/en_US.aff:WORDCHARS 0123456789
>
> i.e. en_GB.aff has no WORDCHARS.
So I guess the problem is with the Hunspell dictionary, not with
Emacs. Perhaps try copying the WORDCHARS line from en_US.aff to
en_GB.aff, and see if that helps.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Wed, 02 Jul 2014 15:24:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 17890 <at> debbugs.gnu.org (full text, mbox):
On 2014-07-02 17:45 +0300, Eli Zaretskii wrote:
> So I guess the problem is with the Hunspell dictionary, not with
> Emacs. Perhaps try copying the WORDCHARS line from en_US.aff to
> en_GB.aff, and see if that helps.
Ineed. But what is odd is that emacs 24.3 on the same system doesn't
have this problem.
Leo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Wed, 02 Jul 2014 15:37:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 17890 <at> debbugs.gnu.org (full text, mbox):
>> So I guess the problem is with the Hunspell dictionary, not with
>> Emacs. Perhaps try copying the WORDCHARS line from en_US.aff to
>> en_GB.aff, and see if that helps.
> Ineed. But what is odd is that emacs 24.3 on the same system doesn't
> have this problem.
Are you sure it also uses Hunspell, and with the same dictionary?
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17890
; Package
emacs
.
(Wed, 02 Jul 2014 16:21:01 GMT)
Full text and
rfc822 format available.
Message #41 received at 17890 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 17890 <at> debbugs.gnu.org
> Date: Wed, 02 Jul 2014 11:36:26 -0400
>
> >> So I guess the problem is with the Hunspell dictionary, not with
> >> Emacs. Perhaps try copying the WORDCHARS line from en_US.aff to
> >> en_GB.aff, and see if that helps.
> > Ineed. But what is odd is that emacs 24.3 on the same system doesn't
> > have this problem.
>
> Are you sure it also uses Hunspell, and with the same dictionary?
Didn't we make a change in 24.4 in ispell.el to take more info from
Hunspell and its dictionaries, instead of from ispell-dictionary-alist
etc.? That could explain why it worked before.
Reply sent
to
Leo Liu <sdl.web <at> gmail.com>
:
You have taken responsibility.
(Wed, 02 Jul 2014 16:40:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Liu <sdl.web <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 02 Jul 2014 16:40:05 GMT)
Full text and
rfc822 format available.
Message #46 received at 17890-done <at> debbugs.gnu.org (full text, mbox):
On 2014-07-02 19:20 +0300, Eli Zaretskii wrote:
> Didn't we make a change in 24.4 in ispell.el to take more info from
> Hunspell and its dictionaries, instead of from ispell-dictionary-alist
> etc.? That could explain why it worked before.
OK, I didn't know about this. Closing for now. Thanks, Leo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 31 Jul 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.