GNU bug report logs - #53890
29.0.50; feature request: cursor color as a foreground color

Previous Next

Package: emacs;

Reported by: Jose A Ortega Ruiz <jao <at> gnu.org>

Date: Wed, 9 Feb 2022 03:51:01 UTC

Severity: wishlist

Tags: moreinfo

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


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

From: Po Lu <luangruo <at> yahoo.com>
To: Jose A Ortega Ruiz <jao <at> gnu.org>
Cc: 53890 <at> debbugs.gnu.org
Subject: Re: bug#53890: 29.0.50; feature request: cursor color as a
 foreground color
Date: Wed, 09 Feb 2022 15:03:45 +0800
Po Lu <luangruo <at> yahoo.com> writes:

> Jose A Ortega Ruiz <jao <at> gnu.org> writes:
>
>> Hi,
>>
>> right now, when using alpha-background, the cursor is set to the opacity
>> of the background (i think that is because, as documented, only the
>> :background attribute of the face is used). that means that, if one sets
>> 'alpha-background to 0 to make the background transparent, the cursor
>> becomes invisible when not over a character (and really difficult to
>> spot even when over one), no matter its colour (i've tried with pgtk and
>> no-toolkit builds).
>>
>> Am i missing an existing setting to avoid that problem, or perhaps doing
>> something wrong? if not, it'd be nice to have the option of making the
>> cursor behave as foreground (perhaps by honouring :foreground in its
>> face, if set), so that one could have a fully transparent background and
>> a cursor visible at all times.
>
> It doesn't make much sense for `alpha-background' to affect the cursor
> for the reasons you have mentioned.
>
> Please try a build '--without-cairo' (and also without PGTK) and see if
> that solves the problem.

Or alternatively just try master.  I fixed it there for the regular
cairo build.




This bug report was last modified 3 years and 95 days ago.

Previous Next


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