From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port Date: Mon, 14 Sep 2020 00:43:09 +0100 Message-ID: <20200913234309.GH93185@breton.holly.idiocy.org> References: <87a6xtff19.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36945"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43381@debbugs.gnu.org, Dale Sedivec To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 14 01:44:11 2020 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 1kHbfH-0009U6-G3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 01:44:11 +0200 Original-Received: from localhost ([::1]:47316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHbfG-0005fD-H5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Sep 2020 19:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHbf8-0005dA-LU for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2020 19:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHbf8-0001tx-CU for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2020 19:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHbf8-0005Ew-B6 for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2020 19:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Sep 2020 23:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43381 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 43381-submit@debbugs.gnu.org id=B43381.160004060620084 (code B ref 43381); Sun, 13 Sep 2020 23:44:02 +0000 Original-Received: (at 43381) by debbugs.gnu.org; 13 Sep 2020 23:43:26 +0000 Original-Received: from localhost ([127.0.0.1]:52074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHbeY-0005Ds-Ft for submit@debbugs.gnu.org; Sun, 13 Sep 2020 19:43:26 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:43350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHbeU-0005Dc-JW for 43381@debbugs.gnu.org; Sun, 13 Sep 2020 19:43:25 -0400 Original-Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 4DFB94E0; Mon, 14 Sep 2020 01:43:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600040596; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=1009; bh=hVgDDo7Y3aNZv8bzh0Tte6Pz8ZvHz7DQzbkV3ERDK7A=; b=SPJdPFL+PNyMJ/ZsIwq6jsSQIxqnuFR/GXOy4eqexeEGUWg/k0GB8+dDi35Obz6S PlebPtkVVhRB6nf18nrDOluxuei8mXFRsp0B0l/J4ckjfwNABHLk5baXF5wze7CCLNP xVQcbV+LOdAUCqbV6pRg+OU4SZecZFfMgxCBFlMQN5I6LZdi/oXyPr4bHtkJuZ83xcK UF3B03Bw6fXUkFDKD0zmHDv+/2gpW2cT71qM5QuC6bc8oMKGh8qgyWXSv0wqIADWZZf 7ImTLht9ziGEgXcxv+d0sHT7YYL0O0rPDCIhkZ3qsdFiFCpzcYPGcjMOkqaVHJQl9z4 S/gMXxE5SQ== Original-Received: by smtp.mailfence.com with ESMTPA ; Mon, 14 Sep 2020 01:43:10 +0200 (CEST) Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 80745202541909; Mon, 14 Sep 2020 00:43:09 +0100 (BST) Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Dale Sedivec , 43381@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <87a6xtff19.fsf@gnus.org> X-ContactOffice-Account: com:241649512 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:188013 Archived-At: On Mon, Sep 14, 2020 at 01:11:30AM +0200, Lars Ingebrigtsen wrote: > Dale Sedivec writes: > > > The Emacs manual says[1], "the text shown under the cursor is drawn using > > the frame’s background color." However, on the NS port, the foreground > > for text under the cursor seems to be taken from the face at point > > rather than the frame's background color. > > > > [1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Display.html > > > > To illustrate this, start emacs -Q and eval: > > > > (progn > > (switch-to-buffer (generate-new-buffer "test")) > > (insert (propertize "testing" > > 'face '((:background "blue" :foreground "white")))) > > (goto-char 1)) > > It's not just the NS port, apparently -- I get the same in Debian. Now you mention it, I can see that the X ports use the face colours as well... xterm.c:1518 xgcv.background = s->f->output_data.x->cursor_pixel; xgcv.foreground = s->face->background; ^ ^ -- Alan Third