[OS X Emacs] flyspell-incorrect user defined highlight color Aqua

David Reitter david.reitter at gmail.com
Sat Oct 11 14:10:06 EDT 2008


I don't quite see what you are trying to do, or what your problem is.   
Misspelled words should be shown when spell-checking is on, without  
any adjustments to the faces.
M-x customize-face is the best way to change the faces, if you'd like  
to do that.

`custom-set-faces' is meant to be called from customizations.el, which  
is not user-editable.

faces_x is not a Lisp function that is defined in Aquamacs, and  
looking at the underscore, it's unlikely to be a Lisp function in any  
Emacs!

Hope that helps.

--
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!


On 11 Oct 2008, at 15:40, wishi wrote:

> Hi!
>
> I've got a small config issue I can't solve:
>
> (custom-set-faces
> '(flyspell-duplicate ((t (:foreground "Gold3" :underline t :weight
> normal))))
>   '(flyspell-incorrect ((t (:foreground "OrangeRed" :underline t
> :weight normal))))
> )
>
> If I call this function up in
> (defun faces_x ()
>
> it's x11 dependent, but I'm using Cocoa. Therefore no X.
> How can I define that?
>
> I'd like to really see mistyped words. Seems a little wired:
>
> (setq ispell-program-name "aspell")
> (add-to-list 'exec-path "/opt/local/bin/aspell")
>
> ;; ;; CocoaSpell
> ;; (setq ispell-dictionary-alist
> ;;       '((nil
> ;; 	 "[A-Za-z]" "[^A-Za-z]" "[']" nil
> ;; 	 ("-B" "-d" "german" "--dict-dir"
> ;; 	  "/Library/Application Support/cocoAspell/aspell6-de-20030222-1")
> ;; 	 nil iso-8859-1)))
>
>
> I could use CocoAspell but to define a specific highlight would be
> harder, wouldn't it? I'd prefer that, but I don't know how I can  
> define
> highlights in Aquamacs.
>
>
> Thanks,
> Marius
> _____________________________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20081011/2dd3f160/attachment.p7s>


More information about the MacOSX-Emacs mailing list