unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: Juanma Barranquero <lekktu@gmail.com>,
	Emacs Development <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] Changes to emacs/src/xfaces.c,v
Date: Fri, 01 Aug 2008 21:26:21 +0200	[thread overview]
Message-ID: <4893635D.8060103@gmail.com> (raw)
In-Reply-To: <0A183FF1-106B-431C-9110-DFF1912B771B@gmail.com>

Adrian Robert wrote:
> 
> On Aug 1, 2008, at 12:49 PM, Lennart Borgman (gmail) wrote:
> 
>> Adrian Robert wrote:
>>> On Aug 1, 2008, at 10:54 AM, Juanma Barranquero wrote:
>>>> On Fri, Aug 1, 2008 at 13:48, Adrian Robert 
>>>> <Adrian.B.Robert@gmail.com> wrote:
>>>>
>>>>> +           cmap = Fcons (Fcons (build_string (name),
>>>>> +                                make_number ((red << 16) | (green 
>>>>> << 8) | blue)),
>>>>> +                         cmap);
>>>>
>>>> This is a change over the original function, and in fact it doesn't
>>>> work on Windows because of byte order issues.
>>>> Either the attached patch, or adding a new RGB_TO_EMACS_INT macro, 
>>>> is needed.
>>> Thanks, in interest of heading off problems, implemented quickest fix 
>>> for now, which is committing patch as-is.  (Sorry about any 
>>> disruption, I could not find any #def for RGB but assumed it was like 
>>> what I put there.)  If folks would prefer a macro we should find all 
>>> the places it might be used and figure out the right file to put it in..
>>
>>
>> Adrian, could you please explain what will happen when this code is 
>> run on w32?
> 
> I wasn't trying to change any code, just accidentally introduced a 
> non-workalike for a platform-defined macro.  Juanma's patch restores the 
> previous version of the line I changed under Windows.  Again, apologies 
> for the temporary bug.

Thanks for the explanation.




      reply	other threads:[~2008-08-01 19:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1KOt7X-0003aD-Kf@cvs.savannah.gnu.org>
2008-08-01 14:54 ` [Emacs-diffs] Changes to emacs/src/xfaces.c,v Juanma Barranquero
2008-08-01 15:34   ` Adrian Robert
2008-08-01 16:49     ` Lennart Borgman (gmail)
2008-08-01 18:56       ` Adrian Robert
2008-08-01 19:26         ` Lennart Borgman (gmail) [this message]

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=4893635D.8060103@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=adrian.b.robert@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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).