[OS X Emacs] Re: How to make spelling correction work with French?

Marc Shapiro -- at work marc.shapiro at acm.org
Fri Apr 9 17:01:21 EDT 2010


John,

Thanks for the response but I would rather get some actual help...

Out of curiosity I added the directory containing aspell's french dictionary to Emacs's search path. No difference, same error message.

								Marc

> Date: Fri, 9 Apr 2010 16:55:26 +0100
> From: John Mark Swafford <johnmarksuave at gmail.com>
> Subject: Re: [OS X Emacs] How to make spelling correction work with
> 	French?
> To: Emacs on Mac OS X Mailing List <macosx-emacs at email.esm.psu.edu>
> Message-ID:
> 	<i2zed88e4471004090855k7d41051ax168623f5800d016d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> It sounds like you just need to add the path to your French libraries to the
> Emacs path. You can do this a couple ways, so I'll leave it to you to figure
> out which one will be the most appropriate for you.
> 
> On Fri, Apr 9, 2010 at 3:36 PM, Marc Shapiro -- at work <
> marc.shapiro at acm.org> wrote:
> 
>> Does anyone know how to make spelling correction for languages other than
>> English work in Emacs on the Mac?
>> 
>> I am using Carbon Emacs sur MacOS "GNU Emacs 22.3.1
>> (i386-apple-darwin9.7.0, Carbon Version 1.6.0) of 2009-07-26 on
>> gs674-seijiz.local". I do my spelling correction using flyspell-mode.
>> 
>> There is an interactive function for changing languages, and it offers
>> French as one of its options:
>>       (ispell-change-dictionary "francais" nil)
>> but this brings up an error:
>>       Error in post-command-hook: (error Error: The file
>> "/LOCAL/Applications/Emacs.app/Contents/Resources/lib/aspell-i386/francais"
>> can not be opened for reading.)
>> 
>> Indeed this file does not exist.  At this location there are various files
>> for English.
>> 
>> /sw/aspell running as an independent program has support for French.
>> 
>> I looked around the web. I found French dictionaries and instructions about
>> adding a dictionary to aspell, but nothing that seemed relevant to Emacs on
>> the Mac.
>> 
>> 
>> _____________________________________________________________
>> MacOSX-Emacs mailing list
>> MacOSX-Emacs at email.esm.psu.edu
>> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
>> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>> 
>> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20100409/339e95e3/attachment-0001.html
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 9 Apr 2010 11:18:46 -0400
> From: David Reitter <david.reitter at gmail.com>
> Subject: Re: [OS X Emacs] Re: problem C-x C-f 'ing a file in two
> 	windows
> To: Emacs on Mac OS X Mailing List <macosx-emacs at email.esm.psu.edu>
> Message-ID: <106CA13D-C5AC-48EB-A369-4184B34BC8CC at gmail.com>
> Content-Type: text/plain; charset=us-ascii
> 
> On Apr 9, 2010, at 2:53 AM, xioni wrote:
>> however, recently it changed and instead C-x C-f brings into focus the file in the previous frame rather than opening it in the new frame. 
> 
> Can you determine when it changed, i.e. between which Aquamacs versions exactly?
> 
>> 
>> my work computer still is on aquamacs 1.5 and the desired behavior still exists there.
> 
> Aquamacs 1.5 came out a long time ago, with thousands of little changes in the meantime.
> 
>> so, i just spent a few minutes toying around with  custom-set-variables in  customizations.el and the behavior i desire seems to be given by the following 
>> 
>> '(aquamacs-customization-version-id 100 t)
> 
> No, that is just an internal variable so Aquamacs can tell which version of Aquamacs wrote the customizations file.  Of course, a range of internal things depend on this so that users upgrading to newer versions do not have to change too many settings.
> 
> Try turning off tabbar-mode (Options menu).
> This may give you the desired behavior - at least it does so for me.
> 
> 
> --
> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 9 Apr 2010 18:56:30 +0200
> From: Peter Dyballa <Peter_Dyballa at Web.DE>
> Subject: Re: [OS X Emacs] How to make spelling correction work with
> 	French?
> To: Emacs on Mac OS X Mailing List <macosx-emacs at email.esm.psu.edu>
> Message-ID: <EFB0F809-E580-4789-BD12-BB88D5BFE7FA at Web.DE>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
> 	delsp=yes
> 
> 
> Am 09.04.2010 um 16:36 schrieb Marc Shapiro -- at work:
> 
>> There is an interactive function for changing languages, and it  
>> offers French as one of its options:
>> 	(ispell-change-dictionary "francais" nil)
>> but this brings up an error:
>> 	Error in post-command-hook: (error Error: The file "/LOCAL/ 
>> Applications/Emacs.app/Contents/Resources/lib/aspell-i386/francais"  
>> can not be opened for reading.)
> 
> 
> The Japanese Carbon Emacs package allows to install additional  
> packages from the internet. There might be one with French dictionaries.
> 
> Another option is to customise the variable ispell-program-name (which  
> is my way) to make it point to your Fink binary of *spell in /sw/bin,  
> full pathname required. This should enable the use of your own  
> dictionaries.
> 
> A mix of different install directories of these dictionaries to be  
> used by one of the spell programmes would make it necessary to change  
> one or more variable settings. So changing the language would need a  
> function and a hook to change them. You can look at the names of all  
> relevant variables with:
> 
> 	C-h v ispell- TAB TAB
> 
> and take care of the volatile *Completions* buffer (actually its  
> contents can change any moment: then when you try some other  
> completion). From this buffer you can again invoke C-h v with the  
> cursor (point) in these variable names.
> 
> --
> Greetings
> 
>   Pete
> 
> Let's face it; we don't want a free market economy either.
> 		– James Farley, president, Coca-Cola Export Corp., 1959
> 
> 
> 
> ------------------------------
> 
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
> 
> End of MacOSX-Emacs Digest, Vol 30, Issue 4
> *******************************************





More information about the MacOSX-Emacs mailing list