Hide Forgot
Description of problem: With a kde livecd derived installation, nano cannot spellcheck. This seems to be because it defaults to use aspell, when fedora has tried to converge on hunspell - http://fedoraproject.org/wiki/Releases/FeatureDictionary . Version-Release number of selected component (if applicable): nano-2.2.6-3.fc15.x86_64 Steps to Reproduce: 1. Launch 'nano' 2. Type some words or gibberish 3. ^T to spell-check Actual results: 'Spell checking failed. Error invoking "spell"' Expected results: Checked spelling Additional info: Spellchecking in nano works if I install aspell or configure the speller as "hunspell" in /etc/nanorc, as expected.
Thanks for the report. What should be the proper fix for that? Should I change the default /etc/nanorc? How exactly should such a change look like? Is there hunspell installed by default?
(In reply to comment #1) > Thanks for the report. What should be the proper fix for that? Should I > change the default /etc/nanorc? How exactly should such a change look like? Changing /etc/nanorc should work - perhaps something like - # set speller "aspell -x -c" + set speller "hunspell" But perhaps it would be better to change the default in nano itself - what do upstream think of this? If you do end up differing from upstream it's probably better to patch the config than to patch the source. > Is there hunspell installed by default? Yes, it should be. It's default in the "base" comps group.
(In reply to comment #2) > Changing /etc/nanorc should work - perhaps something like > - # set speller "aspell -x -c" > + set speller "hunspell" > > But perhaps it would be better to change the default in nano itself - what do We already provide our own /etc/nanorc because of other options, so I'd personally vote for just changing the config file. > upstream think of this? If you do end up differing from upstream it's probably > better to patch the config than to patch the source. I don't think there is a general consensus about a good default since this is pretty distro-specific option. The comment in nanorc says: ## Use this spelling checker instead of the internal one. This option ## does not properly have a default value. Additionally, the upstream mailing list is not much active at the moment. Some bug fixes are hanging on the list intact, so I would prefer to not burden upstream with this particular change.
Package nano-2.3.0-1.fc15: * should fix your issue, * was pushed to the Fedora 15 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nano-2.3.0-1.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/nano-2.3.0-1.fc15 then log in and leave karma (feedback).
No reboot should be necessary to run the updated nano :-)
nano-2.3.0-1.fc15 has been pushed to the Fedora 15 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nano'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nano-2.3.0-1.fc15
nano-2.3.0-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
Just confirmed this works on a recent kde nightly.
Thank you for testing it!