From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53890: 29.0.50; feature request: cursor color as a foreground color Date: Wed, 09 Feb 2022 15:03:45 +0800 Message-ID: <87ilto34j2.fsf@yahoo.com> References: <87r18caebo.fsf@gnus.jao.io> <87mtj038s8.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34725"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 53890@debbugs.gnu.org To: Jose A Ortega Ruiz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 09 08:05:46 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHh2w-0008pu-Gn for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 08:05:46 +0100 Original-Received: from localhost ([::1]:43948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHh2v-0002uc-DS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 02:05:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHh2F-0002t7-5V for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 02:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHh2E-0001r4-QZ for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 02:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHh2E-0007fT-Kk for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 02:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Feb 2022 07:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53890 X-GNU-PR-Package: emacs Original-Received: via spool by 53890-submit@debbugs.gnu.org id=B53890.164439024229383 (code B ref 53890); Wed, 09 Feb 2022 07:05:02 +0000 Original-Received: (at 53890) by debbugs.gnu.org; 9 Feb 2022 07:04:02 +0000 Original-Received: from localhost ([127.0.0.1]:49501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHh1F-0007do-L7 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 02:04:01 -0500 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:42436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHh1D-0007dU-N5 for 53890@debbugs.gnu.org; Wed, 09 Feb 2022 02:04:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644390233; bh=/GU0Zy1VYb0/YNFRAqS+RuwBtIqUi1+5e5wGr8xJuT4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=ss5uugnBfCmkHPjKqO6qYT8O2yztbckdQ8T9LAjKheVc4prNYzqI+/V4ebOrmGOzttM0tqFLJ60I76fG5RnL/RE/hvjZFaKLIK0D6InFqcA01/6kYlGAwJCWW+zJk3vMS/LSbEgmi0Su3ORUajHKZG8QT3cw7th6iKdrX/c1jy9ufP2ex6ZqECbvs3L6dfAEL1BCkOBQ837PHTCIN1bvmY6ZXliQWs2NOMTDcdewrMbEVMgJYVNqPIjRtnu0/KsW+5d5rYLF1vpEYYZekjHvcIdiHIpsMaCHP9+JJRGaDrbr6MCiJ1JAbq/PkXbXVDT+uLE4pTKQSLme7dggpMVSVw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644390233; bh=oM4O/p0povyQtjM5vAYEKhkjnYOnyydTcdktpzGkw5S=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Ig7zHAL79S1kjBgP3ptpDDWnOYUAUFGv2KIPm1vhkJpxI0Qv3W2guSraE3L9Y+sYwiH4GOaKb0he6gMnWNK+5LofFMe3HkO5b3TOTPmfFHD5Vz1kXgozR5zjmfkOJBvg3l06Y/fcH/uUfjD6Vor1RJjO8MAji35N3v/h4VSgcw73GuHgKQoRLjyg4wK7KGbBI3FjkTU5vSI5AWKYQa7SxQ3GKQecFuOtieOED/z3oWXLex/szZonGnyf+ckXzxEUzyB4cZu/7+4bCzJZ6SgOuiudcrJAFQ6kMUjV7voEo1qzE0qyexgWyzag3ZtajD2IfKOwuKLD9p6OiN7WL6FLKg== X-YMail-OSG: fB.ceKsVM1kTDuZIfRU17bp8rAo5cXEoL0Z9qwSngLPIaqBwKhNJfiOZvQzdoPy q_uuwamDhCgF.FYy5oiILeZOzPOS8yCRv0L3k6T94NDb_pUTp5VSZHtCFuS6WXiXwSUgDjaC7bMC hHe7VeduKt4iK749TgbpFhFWge80ue_8py_xFwsVXi9ELkhbKbqHWFdZdNooBOL9rHThe0GOT.6B uG5aKBpF9M2SigyO6R.g.gftGjlohD54eCAMURrEby5gG_ioAMcte34rtuyqtMsx4mNlsf1TpP_J 9BQze7gpB5f1dcIVM9hJKx9KIQtHgPYsfcnvCqxchglU10WPS5CAe43kTyj05AUBWxjMOysTrWMp 555vZbuYANk3LUXuxyIFRq2LsHoI4IJxF9.rE1.FKP2VY1TRUyQLKr7sTGF_oZW8XjsLVHGyFjub WkpB6w64Li7fYKIoaJVAKy7.mYEKIXdVVZovVHhsADWrH7j68oxpG3SkuoPmpilBgvZyGbPwXrbi CSmTFDESJA1Xboy3nk_NMEprQ_chWy1pDtB8StfPT1hr6K64EmWAEad14HIEZVcC4wTx8EuGA8xI af8KNIZosUgYTK3QZJe9gZ7mfxHW8tz7RweJNcZYZF8jjuT.My1H0ioVWvc36gAGVY_fE7pjEtNb saM5LeDuOdlm8esb154mAvkirJCiJevxSRTmyi.FJkVKPdrnCU7dbv32gU8F7GJHfh.aA9y3VWoZ MsCX.87zfJ7aPJjmc666ohCT9B8WmXi92r3P9TexefeCOQI8xuSCj3q1rIO7y27LtM8zJz2rJDjW TUSF5kFFszpIcINPTvgffGhaAeaLXBuSfxWIwpceQy X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Wed, 9 Feb 2022 07:03:53 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d04be236290a68c92fd9f231441a7808; Wed, 09 Feb 2022 07:03:50 +0000 (UTC) In-Reply-To: <87mtj038s8.fsf@yahoo.com> (Po Lu's message of "Wed, 09 Feb 2022 13:31:51 +0800") X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226435 Archived-At: Po Lu writes: > Jose A Ortega Ruiz 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.