From: Adrian Robert <adrian.b.robert@gmail.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
emacs- devel <emacs-devel@gnu.org>
Subject: Re: a review of the merge (Re: Emacs.app merged)
Date: Sat, 19 Jul 2008 21:27:35 -0400 [thread overview]
Message-ID: <C88BC61F-3C1F-42C2-BD34-0317E410AD37@gmail.com> (raw)
In-Reply-To: <200807162123.m6GLNmIw021022@sallyv1.ics.uci.edu>
On Jul 16, 2008, at 5:23 PM, Dan Nicolaescu wrote:
> Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>
> We probably need some common file for these functions (and the
> humongous
> x-colors list) to avoid all the duplication that is happening now.
If the x-colors list were put in a common file, with RGB specs, then
each non-X GUI could share it at the cost of a few lines to iterate
through the list --e.g.:
lisp var has a list of char *name, unsigned char r,g,b
macfns.c:
colormap_t *mac_color_map = malloc(length-of-list);
foreach-list-element mac_color_map[i] = { RGB_TO_ULONG(r,g,b),
name };
w32fns.c:
colormap_t *w32_color_map = malloc(length-of-list);
foreach-list-element w32_color_map[i] = { name, PALETTERGB(r,g,b) };
nsterm.m:
NSColorList *cl = [[NSColorList alloc] init];
foreach-list-element [cl setColor:
[NSColor colorWithCalibratedRed:r green: g blue:b alpha: 1.0]
forKey: [NSString stringWithUTF8String: name]];
next prev parent reply other threads:[~2008-07-20 1:27 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 18:47 Emacs.app merged Adrian Robert
2008-07-15 18:49 ` İsmail Dönmez
2008-07-15 19:28 ` Chong Yidong
2008-07-15 22:32 ` Thomas Christensen
2008-07-15 23:29 ` Cezar Halmagean
2008-07-16 9:25 ` a review of the merge (Re: Emacs.app merged) Dan Nicolaescu
2008-07-16 10:00 ` Jason Rumney
2008-07-16 12:17 ` Adrian Robert
2008-07-16 16:15 ` Stefan Monnier
2008-07-16 16:21 ` Stefan Monnier
2008-07-16 21:23 ` Dan Nicolaescu
2008-07-20 1:27 ` Adrian Robert [this message]
2008-07-20 11:56 ` Dan Nicolaescu
2008-07-28 13:25 ` Adrian Robert
2008-07-28 19:00 ` Dan Nicolaescu
2008-08-01 10:48 ` Adrian Robert
2008-08-01 11:09 ` Jason Rumney
2008-08-01 12:55 ` Dan Nicolaescu
2008-08-01 13:36 ` Eli Zaretskii
2008-08-01 13:49 ` Jason Rumney
2008-08-01 14:23 ` Dan Nicolaescu
2008-08-01 14:48 ` Adrian Robert
2008-08-01 15:07 ` Dan Nicolaescu
2008-07-17 1:25 ` Adrian Robert
2008-07-17 3:24 ` Dan Nicolaescu
2008-07-17 4:16 ` FOR-RELEASE [was Re: a review of the merge (Re: Emacs.app merged)] Glenn Morris
2008-07-17 4:19 ` a review of the merge (Re: Emacs.app merged) Glenn Morris
2008-07-17 17:22 ` Adrian Robert
2008-07-17 18:08 ` Dan Nicolaescu
2008-07-17 3:43 ` Stefan Monnier
2008-07-17 7:33 ` David De La Harpe Golden
2008-07-17 6:55 ` Dan Nicolaescu
2008-07-16 19:26 ` Emacs.app merged Stefan Monnier
2008-07-17 1:26 ` Adrian Robert
2008-07-27 20:12 ` some missing code? (was: Re: Emacs.app merged) Dan Nicolaescu
2008-07-27 22:18 ` observations for ns*.m files (Re: " Dan Nicolaescu
2008-07-28 1:54 ` Adrian Robert
2008-07-28 2:58 ` Dan Nicolaescu
2008-07-28 4:16 ` Stefan Monnier
2008-07-28 11:00 ` Miles Bader
2008-07-28 7:15 ` Jason Rumney
2008-07-28 13:29 ` Adrian Robert
2008-07-28 13:54 ` Chong Yidong
2008-07-28 15:10 ` Jason Rumney
2008-07-28 13:28 ` Adrian Robert
2008-07-28 14:35 ` Dan Nicolaescu
2008-08-05 5:13 ` build system observations (was " Dan Nicolaescu
2008-08-06 16:25 ` Adrian Robert
2008-08-06 17:29 ` build system observations Dan Nicolaescu
2008-08-07 1:36 ` Adrian Robert
2008-09-05 15:03 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C88BC61F-3C1F-42C2-BD34-0317E410AD37@gmail.com \
--to=adrian.b.robert@gmail.com \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).