all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Naming new GUI colors?
Date: Sat, 24 Jul 2010 10:01:29 +1000	[thread overview]
Message-ID: <87bp9xn3xi.fsf@puma.rapttech.com.au> (raw)
In-Reply-To: 87d3ud3o6n.fsf@lifelogs.com

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Fri, 23 Jul 2010 12:55:54 -0400 despen@verizon.net wrote: 
>
> d> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> That seems like a pretty bad limitation, especially where English is not
>>> spoken.  Emacs should at least allow naming colors (as opposed to faces)
>>> IMHO.
>
> d> I think it would be ridiculous for Emacs to go on a color naming spree.
>
> This is a user facility (like defface).  Emacs only has to provide a
> get/set/list API.  Emacs will not define new colors (or if it does,
> that's a separate discussion).
>
> d> There is already a number of lists of standard color names.
> d> There's one for X11, there's one for html, I'm sure there are lots more.
>
> Yes, but none of them have "my favorite red for alerts" which is what a
> user would define (in their native language).
>

I agree with despen here. 

You can define any colour you want using the existing mechanism by using
the # hex notation. You are not restricted to just using the 'named'
colours. 

It would be impossible to define a list of colours with 'spoken' names
that was acceptable to everyone. Your favorite red is not mine. So emacs
provides the ability to use the names that are defined, but also allows
you to use the hex rgb names should you want to define he colour
slightly differently to what is in the rgb database. 

There are far more critical issues emacs needs to fix than this one.
However, it is open source, so feel free to contribute your own patches
to provide a different mechanism. Provided it doesn't lose existing
functionality, is well/clearly written and doesn't introduce a whole
heap of bugs or broken functionality, it will probably get added and you
can get that warm fuzzy feeling o having become a contributor!

Tim






-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2010-07-24  0:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-20  8:59 Naming new GUI colors? Elena
2010-07-20 22:10 ` Tim X
2010-07-21 11:26   ` Elena
2010-07-22 18:12   ` Giacomo Boffi
2010-07-23 15:46   ` Ted Zlatanov
2010-07-23 16:55     ` despen
2010-07-23 21:04       ` Ted Zlatanov
2010-07-23 23:28         ` despen
2010-07-24  8:12           ` Giacomo Boffi
2010-07-24  0:01         ` Tim X [this message]
2010-07-26 13:33           ` Ted Zlatanov
2010-07-26 13:50             ` despen
2010-07-26 19:08               ` Ted Zlatanov
2010-07-27 14:58                 ` Giacomo Boffi
2010-07-27 23:28                   ` despen
2010-07-28 13:12                     ` Ted Zlatanov
2010-07-23 23:50     ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bp9xn3xi.fsf@puma.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.