Bug 5439 - emacs "ispell-buffer" freezes
Summary: emacs "ispell-buffer" freezes
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: Mageia 5
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: MGA2TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-17 15:27 CEST by Chris Denice
Modified: 2016-09-28 11:11 CEST (History)
5 users (show)

See Also:
Source RPM: enchant-1.6.0-4.mga2.src.rpm
CVE:
Status comment:


Attachments
test file freezing enchant over a ispell-buffer command (330 bytes, text/x-tex)
2012-04-17 15:28 CEST, Chris Denice
Details

Description Chris Denice 2012-04-17 15:27:45 CEST
Description of problem:

Starting a check spelling for a Tex file under emacs with the "ispell-buffer" command freezes after a few words. The command boxes display the message:

"continuing spelling check using enchant with default dictionnary..."

and that's all. CTRL+G kills the spelling process. It looks like the freezing occurs on some words associated with Latex command like \author{blablabla}

Cheers.

Check out the test.tex file attached, and try a "ispell-buffer" command. It freezed just after the  \author{Charles Browson}.
Comment 1 Chris Denice 2012-04-17 15:28:23 CEST
Created attachment 2009 [details]
test file freezing enchant over a ispell-buffer command
Comment 2 Chris Denice 2012-04-17 15:48:17 CEST
I add the following pb into this bug. In addition to the above freezing, Enchant ends up being completely unusable over Tex files. I observe:

1) Pressing the "a" command, which is adding a word to the personal dictionary under emacs, crashes the spelling process.

2) The speller does not disambiguate latex commands from typeset words and therefore stops on each pure latex expression.

I think these pbs make it unusable for latex files, unless there is some Tex supporting option that we could swith on? None of these pbs were present with the aspell checker.

Cheers,
Chris.
Manuel Hiebel 2012-04-17 16:53:07 CEST

CC: (none) => anssi.hannula, malo, n54

Comment 3 Marja Van Waes 2012-05-26 13:10:33 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 4 Chris Denice 2012-05-26 15:21:57 CEST
Yes it is.

A fix would be to default the emacs speller on hunspell that has support for emacs; although I cannot test it due to that bug:

https://bugs.mageia.org/show_bug.cgi?id=5749

chris.
Comment 5 Chris Denice 2012-08-19 16:29:38 CEST
ping^2 for the 2 bugs mentioned above? Still there in mga3 :-/

Cheers,
Chris.
Marja Van Waes 2012-08-19 16:37:48 CEST

Keywords: NEEDINFO => (none)
CC: (none) => marja11
Whiteboard: (none) => MGA2TOO

Comment 6 Chris Denice 2014-11-25 19:52:10 CET
Unbelievable, this mess is still here...

Target Milestone: --- => Mageia 5

Comment 7 Chris Denice 2014-11-26 00:45:23 CET
Thierry, do you have any objection to switch default spell checker for emacs to hunspell (I can do it). In its current state, emacs will freeze on any latex file spelling.

This bug is tricky, by default enchant should use "myspell" which is supposed to be hunspell. So that's really an enchant bug. Unfortunately, enchant dev seems to have stopped since 2010 :-/ Unless Anssi has a fix, I guess there is not too uch options

let me know; but that bug should be closed now.

cheers,
chris.

CC: (none) => thierry.vignaud

Comment 8 Thierry Vignaud 2014-11-26 07:53:21 CET
go ahead
Comment 9 Chris Denice 2016-09-28 11:11:41 CEST
Close since 2 years, I am actually closing :)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.