* Problem of binding aspell to Emacs @ 2009-10-15 6:07 Water Lin 2009-10-15 6:12 ` Water Lin 2009-10-15 6:34 ` Marc Tfardy 0 siblings, 2 replies; 10+ messages in thread From: Water Lin @ 2009-10-15 6:07 UTC (permalink / raw) To: help-gnu-emacs I am using Windows XP system and Emacs23. I want to use aspell as my spell checker. I installed aspell successfully and I can use it from cmd.exe. But after I add following line to .emacs file: When I trigger aspell inside Emacs by M-x flyspell-mode, Emacs will provide me with an error: --------- Starting new Ispell process [default] ... Enabling Flyspell mode gave an error --------- I can't get more error message. How can I solve it? Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 6:07 Problem of binding aspell to Emacs Water Lin @ 2009-10-15 6:12 ` Water Lin 2009-10-15 6:39 ` Marc Tfardy 2009-10-15 6:34 ` Marc Tfardy 1 sibling, 1 reply; 10+ messages in thread From: Water Lin @ 2009-10-15 6:12 UTC (permalink / raw) To: help-gnu-emacs Water Lin <WaterLin@ymail.invalid> writes: > I am using Windows XP system and Emacs23. I want to use aspell as my > spell checker. > > I installed aspell successfully and I can use it from cmd.exe. > > But after I add following line to .emacs file: > Sorry, I forget to put the code here which I put into .emacs file. The line is: ---------- (setq-default ispell-program-name "C:/Program Files/Aspell/bin/aspell.exe") > When I trigger aspell inside Emacs by M-x flyspell-mode, Emacs will > provide me with an error: > --------- > Starting new Ispell process [default] ... > Enabling Flyspell mode gave an error > --------- > > I can't get more error message. > > How can I solve it? > > Thanks > > Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 6:12 ` Water Lin @ 2009-10-15 6:39 ` Marc Tfardy 2009-10-15 7:30 ` Water Lin 2009-10-15 9:47 ` Water Lin 0 siblings, 2 replies; 10+ messages in thread From: Marc Tfardy @ 2009-10-15 6:39 UTC (permalink / raw) To: help-gnu-emacs Water Lin schrieb: > Water Lin <WaterLin@ymail.invalid> writes: > >> I am using Windows XP system and Emacs23. I want to use aspell as my >> spell checker. >> >> I installed aspell successfully and I can use it from cmd.exe. >> >> But after I add following line to .emacs file: >> > Sorry, I forget to put the code here which I put into .emacs file. The > line is: > ---------- > (setq-default ispell-program-name > "C:/Program Files/Aspell/bin/aspell.exe") And what value have ispell-dictionary? nil? Did you installed some dictionary for aspell and can aspell find it? regards Marc ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 6:39 ` Marc Tfardy @ 2009-10-15 7:30 ` Water Lin 2009-10-15 9:47 ` Water Lin 1 sibling, 0 replies; 10+ messages in thread From: Water Lin @ 2009-10-15 7:30 UTC (permalink / raw) To: help-gnu-emacs Marc Tfardy <no@email.net> writes: > Water Lin schrieb: >> Water Lin <WaterLin@ymail.invalid> writes: >> >>> I am using Windows XP system and Emacs23. I want to use aspell as my >>> spell checker. >>> >>> I installed aspell successfully and I can use it from cmd.exe. >>> >>> But after I add following line to .emacs file: >>> >> Sorry, I forget to put the code here which I put into .emacs file. The >> line is: >> ---------- >> (setq-default ispell-program-name >> "C:/Program Files/Aspell/bin/aspell.exe") > > And what value have ispell-dictionary? nil? > > Did you installed some dictionary for aspell and can aspell find it? > > > regards > Marc > Thanks for your reminder. I didn't install a dictionary of aspell. I didn't know I need to install dictionary separately. After I install the dictionary, it works. Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 6:39 ` Marc Tfardy 2009-10-15 7:30 ` Water Lin @ 2009-10-15 9:47 ` Water Lin 2009-10-15 10:26 ` Colin S. Miller 2009-10-15 14:30 ` Xah Lee 1 sibling, 2 replies; 10+ messages in thread From: Water Lin @ 2009-10-15 9:47 UTC (permalink / raw) To: help-gnu-emacs Marc Tfardy <no@email.net> writes: > Water Lin schrieb: >> Water Lin <WaterLin@ymail.invalid> writes: >> >>> I am using Windows XP system and Emacs23. I want to use aspell as my >>> spell checker. >>> >>> I installed aspell successfully and I can use it from cmd.exe. >>> >>> But after I add following line to .emacs file: >>> >> Sorry, I forget to put the code here which I put into .emacs file. The >> line is: >> ---------- >> (setq-default ispell-program-name >> "C:/Program Files/Aspell/bin/aspell.exe") > > And what value have ispell-dictionary? nil? > > Did you installed some dictionary for aspell and can aspell find it? > > > regards > Marc > Two more question about using Aspell with flyspell mode. The first question: When Aspell finds an incorrect word, it will mark the incorrect word with special underline and color. But there are also a lot of special words like Flyspell, Aspell etc. which are meaningful but incorrect. I want to let Flyspell to ignore these words. What's the command? The second question: After successfully installed Flyspell with Aspell, I find that the input speed of my keyboard is a little slow and panic. It seems that flyspeel will influence my input speed. What can I do with it? My solution is: ------- I disable Flyspell mode, but after I finish the email edition, I will use M-x ispell-region to check my spell. Is it a good way? Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 9:47 ` Water Lin @ 2009-10-15 10:26 ` Colin S. Miller 2009-10-18 3:15 ` Water Lin 2009-10-15 14:30 ` Xah Lee 1 sibling, 1 reply; 10+ messages in thread From: Colin S. Miller @ 2009-10-15 10:26 UTC (permalink / raw) To: help-gnu-emacs Water Lin wrote: <snip!> > > When Aspell finds an incorrect word, it will mark the incorrect word > with special underline and color. But there are also a lot of special > words like Flyspell, Aspell etc. which are meaningful but incorrect. > > I want to let Flyspell to ignore these words. What's the command? If you want to add a word to your dictionary, use 'i'. If you want to remove a word from aspell's dictionary, then consult aspell's documentation (outside emacs). You probably will have to rebuild the dictionary. > > The second question: > > After successfully installed Flyspell with Aspell, I find that the input > speed of my keyboard is a little slow and panic. It seems that flyspeel > will influence my input speed. What can I do with it? You can keep typing; emacs will eventually catch up. Although the lack of feedback on your typing can be disconcerting. > > My solution is: > ------- > I disable Flyspell mode, but after I finish the email edition, I > will use M-x ispell-region to check my spell. Is it a good way? Or ispell-buffer flyspell-buffer can also be used. It will highlight all the incorrect words, but is very slow. Go make a cup of tea when you run it. > > Thanks > > Water Lin > HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 10:26 ` Colin S. Miller @ 2009-10-18 3:15 ` Water Lin 0 siblings, 0 replies; 10+ messages in thread From: Water Lin @ 2009-10-18 3:15 UTC (permalink / raw) To: help-gnu-emacs "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes: > Water Lin wrote: > <snip!> >> >> When Aspell finds an incorrect word, it will mark the incorrect word >> with special underline and color. But there are also a lot of special >> words like Flyspell, Aspell etc. which are meaningful but incorrect. >> >> I want to let Flyspell to ignore these words. What's the command? > If you want to add a word to your dictionary, use 'i'. > If you want to remove a word from aspell's dictionary, then > consult aspell's documentation (outside emacs). > You probably will have to rebuild the dictionary. > The 'i' only works when I use M-x ispell-region or M-x ispell-buffer, is it irght? But if I am in a text mode buffer, the ispell marks one word as wrong word and I want to add this word to my dictionary, what can I do? >> >> The second question: >> >> After successfully installed Flyspell with Aspell, I find that the input >> speed of my keyboard is a little slow and panic. It seems that flyspeel >> will influence my input speed. What can I do with it? > You can keep typing; emacs will eventually catch up. Although the > lack of feedback on your typing can be disconcerting. >> >> My solution is: >> ------- >> I disable Flyspell mode, but after I finish the email edition, I >> will use M-x ispell-region to check my spell. Is it a good way? > Or ispell-buffer > > flyspell-buffer can also be used. It will highlight all the incorrect words, > but is very slow. Go make a cup of tea when you run it. >> >> Thanks >> >> Water Lin >> > > HTH, > Colin S. Miller -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 9:47 ` Water Lin 2009-10-15 10:26 ` Colin S. Miller @ 2009-10-15 14:30 ` Xah Lee 2009-10-18 3:22 ` Water Lin 1 sibling, 1 reply; 10+ messages in thread From: Xah Lee @ 2009-10-15 14:30 UTC (permalink / raw) To: help-gnu-emacs On Oct 15, 2:47 am, Water Lin <Water...@ymail.invalid> wrote: > Two more question about using Aspell with flyspell mode. > > The first question: > > When Aspell finds an incorrect word, it will mark the incorrect word > with special underline and color. But there are also a lot of special > words like Flyspell, Aspell etc. which are meaningful but incorrect. > > I want to let Flyspell to ignore these words. What's the command? right click on the word, and there's a menu command to add the word to your personal dict. aspell creates your personal words file by default at ~/.aspell.en.pws you can add or delete words there directly. to find out what keyboard shortcut or command is called when right click the menu item, you can use describe-key. > The second question: > > After successfully installed Flyspell with Aspell, I find that the input > speed of my keyboard is a little slow and panic. It seems that flyspeel > will influence my input speed. What can I do with it? > > My solution is: > ------- > I disable Flyspell mode, but after I finish the email edition, I > will use M-x ispell-region to check my spell. Is it a good way? this solution is what i use. In fact, i use speck-mode (look at emacswiki.org for it). In my experience, it's faster, more robust. It doesn't do spell checking as you type though. It's batch, but faster than flyspell-buffer... ------------ spell checking is a critical feature of text editors. Spell checking frustration with Emacs on the Windows OS is a frequently asked question here. (the installation, configuration, is a huge pain in the ass even for professional unix sys admins and longtime emacs users) The GNU Emacs people, for some political, social , philosophical, or technical reasons, do not or will not make emacs work out of box on the Windows platform (their perspective may differ than the way i expressed it here). This, in my opinion, is a major problem of advancing emacs. For issues related to this, see: • Emacs Does Not Support Viewing Images Files In Windows http://xahlee.org/emacs/modernization_image_support.html • Problems of Emacs Supporting Obsolete Systems http://xahlee.org/emacs/emacs_supporting_DOS.html Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 14:30 ` Xah Lee @ 2009-10-18 3:22 ` Water Lin 0 siblings, 0 replies; 10+ messages in thread From: Water Lin @ 2009-10-18 3:22 UTC (permalink / raw) To: help-gnu-emacs Xah Lee <xahlee@gmail.com> writes: > On Oct 15, 2:47 am, Water Lin <Water...@ymail.invalid> wrote: >> Two more question about using Aspell with flyspell mode. >> >> The first question: >> >> When Aspell finds an incorrect word, it will mark the incorrect word >> with special underline and color. But there are also a lot of special >> words like Flyspell, Aspell etc. which are meaningful but incorrect. >> >> I want to let Flyspell to ignore these words. What's the command? > > right click on the word, and there's a menu command to add the word to > your personal dict. > > aspell creates your personal words file by default at > ~/.aspell.en.pws One more question here: While I right click on the word, there is no menu. I don't know why. I am using Emacs23 under Windows, I don't know if it is the reason. After I used M-x ispell-buffer, I add some words into my personal dictionary. Emacs puts the default personal dictionary at ~/en.pws and ~/en.prepl I don't know what job file "en.prepl" does. I reset the default personal dictionary by (setq ispell-personal-dictionary "~/emacs/aspell/en.pws") But after restart the Emacs, I can't even use ispell. What's wrong with my last code? > > you can add or delete words there directly. > > to find out what keyboard shortcut or command is called when right > click the menu item, you can use describe-key. > > >> The second question: >> >> After successfully installed Flyspell with Aspell, I find that the input >> speed of my keyboard is a little slow and panic. It seems that flyspeel >> will influence my input speed. What can I do with it? >> >> My solution is: >> ------- >> I disable Flyspell mode, but after I finish the email edition, I >> will use M-x ispell-region to check my spell. Is it a good way? > > this solution is what i use. In fact, i use speck-mode (look at > emacswiki.org for it). In my experience, it's faster, more robust. It > doesn't do spell checking as you type though. It's batch, but faster > than flyspell-buffer... > > ------------ > > spell checking is a critical feature of text editors. Spell checking > frustration with Emacs on the Windows OS is a frequently asked > question here. (the installation, configuration, is a huge pain in the > ass even for professional unix sys admins and longtime emacs users) > The GNU Emacs people, for some political, social , philosophical, or > technical reasons, do not or will not make emacs work out of box on > the Windows platform (their perspective may differ than the way i > expressed it here). This, in my opinion, is a major problem of > advancing emacs. > > For issues related to this, see: > > • Emacs Does Not Support Viewing Images Files In Windows > http://xahlee.org/emacs/modernization_image_support.html > > • Problems of Emacs Supporting Obsolete Systems > http://xahlee.org/emacs/emacs_supporting_DOS.html > > Xah > ∑ http://xahlee.org/ > > ☄ > -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem of binding aspell to Emacs 2009-10-15 6:07 Problem of binding aspell to Emacs Water Lin 2009-10-15 6:12 ` Water Lin @ 2009-10-15 6:34 ` Marc Tfardy 1 sibling, 0 replies; 10+ messages in thread From: Marc Tfardy @ 2009-10-15 6:34 UTC (permalink / raw) To: help-gnu-emacs Water Lin schrieb: > I am using Windows XP system and Emacs23. I want to use aspell as my > spell checker. > > I installed aspell successfully and I can use it from cmd.exe. Can you use aspell from everywhere? Maybe this is only %PATH% problem? > But after I add following line to .emacs file: > > When I trigger aspell inside Emacs by M-x flyspell-mode, Emacs will > provide me with an error: > --------- > Starting new Ispell process [default] ... > Enabling Flyspell mode gave an error > --------- I use cygwin on my XP with aspell (no ispell) and when I start flyspell I see in *Messages* buffer following: Starting new Ispell process [deutsch8] ... This could point to a dictionary problem. regards Marc ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-10-18 3:22 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-10-15 6:07 Problem of binding aspell to Emacs Water Lin 2009-10-15 6:12 ` Water Lin 2009-10-15 6:39 ` Marc Tfardy 2009-10-15 7:30 ` Water Lin 2009-10-15 9:47 ` Water Lin 2009-10-15 10:26 ` Colin S. Miller 2009-10-18 3:15 ` Water Lin 2009-10-15 14:30 ` Xah Lee 2009-10-18 3:22 ` Water Lin 2009-10-15 6:34 ` Marc Tfardy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).