jkitchin / scimax

An emacs starterkit for scientists and engineers
Other
1.03k stars 123 forks source link

Linux: Ispell not working correctly? #12

Closed jboes closed 8 years ago

jboes commented 8 years ago

Loading scimax on a Linux machine gives the following message

Starting new Ispell process nil with en_US dictionary...
Error enabling Flyspell mode:
(stringp nil)

Selecting a misspelled word gives:

Starting new Ispell process nil with en_US dictionary...
ispell-check-version: Wrong type argument: stringp, nil

I can't verify whether this occurs on Windows at the moment.

jboes commented 8 years ago

This is a result of scimax using hunspell rather than aspell.

If a global installation of hunspell is possible on Gilgamesh, it would probably be a good idea.

jboes commented 8 years ago

Also, when correcting typo links, after being asked if I want to delete the link the space directly after the link is deleted as well. This causes the following word to be mashed together with the corrected word.

jkitchin commented 8 years ago

/usr/bin/hunspell installed now.

jkitchin commented 8 years ago

Probably fixed the space issue too.

jboes commented 8 years ago

SciMax Ispell works on Gilgamesh out of the box now.

Removing the typo link leaves a single "]" after the corrected word now.

jkitchin commented 8 years ago

Weird. I can not reproduce the "]" issue on gilgamesh.

Jacob Boes writes:

SciMax Ispell works on Gilgamesh out of the box now.

Removing the typo link leaves a single "]" after the corrected word now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

jboes commented 8 years ago

The SciMax motto should be: "when in doubt, do a fresh installation."

Everything seems to be working fine for me now.

jkitchin commented 8 years ago

hehe... good to know.

Jacob Boes writes:

The SciMax motto should be: "when in doubt, do a fresh installation."

Everything seems to be working fine for me now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

prtkm commented 8 years ago

@jkitchin Do you use hunspell on Mac too? I get the same error as Jake was with ispell on mac. Ispell works fine with jmax though

jkitchin commented 8 years ago

Yes I use it on my Mac too.

On Tuesday, August 23, 2016, Prateek Mehta notifications@github.com wrote:

@jkitchin https://github.com/jkitchin Do you use hunspell on Mac too? I get the same error as Jake was with ispell on mac

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jkitchin/scimax/issues/12#issuecomment-241776260, or mute the thread https://github.com/notifications/unsubscribe-auth/ABiRVgjRyQPz73IxEUQTMWbJt8Z4golDks5qixSegaJpZM4JZs-b .

John


Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

prtkm commented 8 years ago

Did you have to do brew install hunspell and get dictionaries from http://extensions.openoffice.org/en/project/english-dictionaries-apache-openoffice ? Or is there an easier way to set it up?

prtkm commented 8 years ago

Ok the above seems to work!