GNU bug report logs - #65191
29.1; -ms and -cr CL options don't work

Previous Next

Package: emacs;

Reported by: Peter Mao <peter.mao <at> gmail.com>

Date: Thu, 10 Aug 2023 03:02:02 UTC

Severity: normal

Found in version 29.1

Full log


Message #11 received at 65191 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Peter Mao <peter.mao <at> gmail.com>, 65191 <at> debbugs.gnu.org
Subject: Re: bug#65191: 29.1; -ms and -cr CL options don't work
Date: Thu, 10 Aug 2023 15:04:39 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Peter Mao <peter.mao <at> gmail.com>
>> Date: Wed, 9 Aug 2023 20:00:43 -0700
>> 
>> Recipe:
>> emacs-29.1 -Q -ms red -cr green &
>> 
>> - Cursor is not green; mouse pointer is not red.  "-cr" definitely worked in
>> v28.2, but "-ms" did not.
>> - This problem does not occur on MacOS -- both "-cr" and "-ms" work properly (config follows Ubuntu
>> config below)
>> - On Ubuntu, "-cr" worked in earlier versions of Emacs, but "-ms" did not.
>> - `set-cursor-color` works properly in all cases
>> - `set-mouse-color` does not work on Ubuntu, but it does work on OSX.
>> - Emacs did not crash.
>
> This works for me on MS-Windows (although the Windows build currently
> doesn't support -ms).
>
> Po Lu, can you please see why this doesn't work on X with GTK?

-ms doesn't work on GNOME systems, as a consequence of XRender cursors
being configured by default.  Those cursors aren't simple bitmaps, and
thus cannot be recolored.

I will look into -cr.




This bug report was last modified 1 year and 308 days ago.

Previous Next


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