unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs color names
@ 2010-05-11  8:48 Emanuel Schmid
  2010-05-11 17:09 ` Gary
  0 siblings, 1 reply; 5+ messages in thread
From: Emanuel Schmid @ 2010-05-11  8:48 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Emanuel Schmid

Hi

I'm trying to make some step forward from emacs 21 to emacs 23. I mainly 
use it for VHDL.

Currently I don't get decent colour names if I'm running through putty, 
as described in 
http://www.emacswiki.org/emacs/PuTTY for emacs 21 and 22, but the remedy 
there doesn't help.

Further, it seems that VHDL mode is not correctly working even in an 
xterm, where the colour names appear correctly (with spaces in the name 
though?).

Does anyone have ideas/experience about this?

Thanks,
Emanuel

PS: please keep me on CC




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs color names
  2010-05-11  8:48 Emacs color names Emanuel Schmid
@ 2010-05-11 17:09 ` Gary
  2010-05-11 19:48   ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Gary @ 2010-05-11 17:09 UTC (permalink / raw)
  To: Help-gnu-emacs

Emanuel Schmid writes:

> Currently I don't get decent colour names if I'm running through putty, 
> as described in 
> http://www.emacswiki.org/emacs/PuTTY for emacs 21 and 22

TBH I don't think it's exclusive to putty. I also get (mostly)
incomprehensible names when I try to use completion when customising a
face -
black          blue           brightblack    brightblue     brightcyan
brightgreen    brightmagenta  brightred      brightwhite    brightyellow
color-100      color-101      color-102      color-103      color-104
(etc.)

-- 
Gary



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs color names
  2010-05-11 17:09 ` Gary
@ 2010-05-11 19:48   ` Eli Zaretskii
  2010-05-12  6:18     ` Gary .
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2010-05-11 19:48 UTC (permalink / raw)
  To: Help-gnu-emacs

> From: Gary <help-gnu-emacs@garydjones.name>
> Date: Tue, 11 May 2010 19:09:59 +0200
> Cc: 
> 
> Emanuel Schmid writes:
> 
> > Currently I don't get decent colour names if I'm running through putty, 
> > as described in 
> > http://www.emacswiki.org/emacs/PuTTY for emacs 21 and 22
> 
> TBH I don't think it's exclusive to putty. I also get (mostly)
> incomprehensible names when I try to use completion when customising a
> face -
> black          blue           brightblack    brightblue     brightcyan
> brightgreen    brightmagenta  brightred      brightwhite    brightyellow
> color-100      color-101      color-102      color-103      color-104
> (etc.)

That's normal, assuming that you use a 256-color xterm.

Why is that a problem?  If you need to know how each color looks like,
just use "M-x list-colors-display RET".



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs color names
  2010-05-11 19:48   ` Eli Zaretskii
@ 2010-05-12  6:18     ` Gary .
  2010-05-12 17:23       ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Gary . @ 2010-05-12  6:18 UTC (permalink / raw)
  To: Help-gnu-emacs

On 5/11/10, Eli Zaretskii wrote:
>> Gary
>> Emanuel Schmid writes:
>> > Currently I don't get decent colour names if I'm running through putty,
...
>> TBH I don't think it's exclusive to putty. I also get (mostly)
>> incomprehensible names when I try to use completion when customising a
>> face
...
> That's normal, assuming that you use a 256-color xterm.

Normal it might be. Useful it's not (at least to me).

> Why is that a problem?  If you need to know how each color looks like,
> just use "M-x list-colors-display RET".

Well, yeah, I could take a few extra steps, but I just happen to think that
is what computers are good for. Moreover, the information does exist - face
definitions quite often use (somewhat) meaningful names. I see no reason
why the customization of faces shouldn't use those names throughout as
"normal" behaviour.

(Sorry for possibly derailing your thread, Emanuel :-( )



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs color names
  2010-05-12  6:18     ` Gary .
@ 2010-05-12 17:23       ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2010-05-12 17:23 UTC (permalink / raw)
  To: Help-gnu-emacs

> Date: Wed, 12 May 2010 08:18:47 +0200
> From: "Gary ." <help-gnu-emacs@garydjones.name>
> Cc: 
> 
> Moreover, the information does exist - face definitions quite often
> use (somewhat) meaningful names.

That's unrelated: Emacs transparently maps colors using their RGB
values, so any of the colors you see in tty-colors.el will be mapped
to the "native" colors whose names you don't like.

So those names are not very important.  Of course, if you want to
propose a change in xterm.el which would present more meaningful
"native" names, that's fine, too.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-12 17:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11  8:48 Emacs color names Emanuel Schmid
2010-05-11 17:09 ` Gary
2010-05-11 19:48   ` Eli Zaretskii
2010-05-12  6:18     ` Gary .
2010-05-12 17:23       ` Eli Zaretskii

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).