GNU bug report logs - #10397
[PATCH] Under Remote Desktop, NUMCOLORS is unreliable; workaround

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 29 Dec 2011 14:10:02 UTC

Severity: normal

Tags: patch

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: lekktu <at> gmail.com, 10397 <at> debbugs.gnu.org
Subject: bug#10397: [PATCH] Under Remote Desktop, NUMCOLORS is unreliable; workaround
Date: Tue, 07 Aug 2012 21:07:02 +0300
> Date: Tue, 07 Aug 2012 10:33:23 -0700
> From: Daniel Colascione <dancol <at> dancol.org>
> CC: Juanma Barranquero <lekktu <at> gmail.com>, 10397 <at> debbugs.gnu.org
> 
> > Last time we spoke, the conclusion (at least mine ;-) was that it
> > might be better not to call GetDeviceCaps at all, and instead reuse
> > the code below this, which uses the number of planes and bits per
> > plane.  If you agree with that reasoning, could you please see if that
> > change solves your problem?
> 
> Sorry about that --- I'm bringing a lot of this up form very cold
> mental storage. It's been a little while since I've had a chance to do
> any Emacs hacking.

No need to apologize.  It's not that my memory is better than yours, I
just looked up the bug report and re-read the entire thread...

> I'm perfectly happy using the planes-and-bits code instead of calling
> GetDeviceCaps. I'll remove this patch from the cygw32 changeset and
> check the (now, much simpler) fix for the colors issue into the trunk,
> if that's all right.

Please go ahead, but I hope you have a way to check the change you
will commit with remote desktop, because I don't.




This bug report was last modified 8 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.