emacs-circe / circe

Circe, a Client for IRC in Emacs
GNU General Public License v3.0
390 stars 51 forks source link

256 colors in mIRC codes? #177

Open galderz opened 9 years ago

galderz commented 9 years ago

I have enabled 256 color palette, and my Emacs is using a theme that works with that. The mIRC codes however they appear with the old fashion 16 colors. Is it possible to change those to use the 256 palette in circe?

jorgenschaefer commented 9 years ago

Hello, and thanks for the report! What do you mean exactly with "change those to use the 256 palette"? The standard mIRC colors are pretty well-defined I thought?

wasamasa commented 9 years ago

@galderz The documentation refered to in #93 suggests that the first 16 colors (which are the mIRC color codes we're hopefully speaking of) are meant to be customizable by the user (and therefore, by the theme as well) if that's what you're wondering about.

jorgenschaefer commented 9 years ago

The respective faces in Circe (lui, more specifically) are called lui-irc-colors-(fg|bg)-(0-15)-face.

galderz commented 9 years ago

Oh right, being able to override those would solve it. I'll give them a go. That should do it. Thanks all!

jorgenschaefer commented 9 years ago

Glad that solves things for you. :-)

galderz commented 9 years ago

Any idea how to specifically override these faces in configuration file? @jorgenschaefer, it'd be good to show an example on how to override these in the wiki, wdyt? I'm happy to contribute that once I got it working. Thanks!

jorgenschaefer commented 9 years ago

The easiest way probably is M-x customize-face RET lui-irc-colors-... RET (e.g. lui-irc-colors-fg-0-face). You can use the set-face-* functions in your .emacs, too, if you prefer. Does this help? :-)