all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Jose A Ortega Ruiz <jao@gnu.org>
Cc: 53890@debbugs.gnu.org
Subject: bug#53890: 29.0.50; feature request: cursor color as a foreground color
Date: Wed, 09 Feb 2022 15:03:45 +0800	[thread overview]
Message-ID: <87ilto34j2.fsf@yahoo.com> (raw)
In-Reply-To: <87mtj038s8.fsf@yahoo.com> (Po Lu's message of "Wed, 09 Feb 2022 13:31:51 +0800")

Po Lu <luangruo@yahoo.com> writes:

> Jose A Ortega Ruiz <jao@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.





  reply	other threads:[~2022-02-09  7:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09  3:50 bug#53890: 29.0.50; feature request: cursor color as a foreground color Jose A Ortega Ruiz
2022-02-09  5:31 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-09  7:03   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-02-09 15:07     ` Jose A Ortega Ruiz
2022-02-09 16:34       ` Jose A Ortega Ruiz
2022-02-18  7:07         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-18 18:40           ` Jose A Ortega Ruiz
2022-02-19  1:00             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-10  1:52       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ilto34j2.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=53890@debbugs.gnu.org \
    --cc=jao@gnu.org \
    --cc=luangruo@yahoo.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.