[OS X Emacs] flyspell-incorrect user defined highlight color Aqua
wishi
brouce at gmx.net
Sat Oct 11 16:38:02 EDT 2008
Hmmh,
well I've got a working spell-checking, that's suggesting and if I move
the mouse of the mistyped word, it's highlighted. Only if the mouse
touches it. - I don't want that. In fact that's confusing.
I changed the face - of course - to another one, which is predefined. I
use the Xcode face-customization.
David Reitter schrieb:
> 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.
Well... I didn't do that now, but it's just a module. And not huge.
Usually I search the mistake in my own files ;).
> 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!
Ah okay... guess it has nothing to do with Cocoa. Thanks... ;)
> 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
>
>
> ------------------------------------------------------------------------
>
> _____________________________________________________________
> 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
More information about the MacOSX-Emacs
mailing list