unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Alan Third <alan@idiocy.org>
Cc: 43381@debbugs.gnu.org, Dale Sedivec <dale@codefu.org>
Subject: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
Date: Mon, 14 Sep 2020 01:49:43 +0200	[thread overview]
Message-ID: <87d02pdyp4.fsf@gnus.org> (raw)
In-Reply-To: <20200913234309.GH93185@breton.holly.idiocy.org> (Alan Third's message of "Mon, 14 Sep 2020 00:43:09 +0100")

Alan Third <alan@idiocy.org> writes:

> 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;
>            ^               ^

Yeah, it looks like it's been like that since at least the 90s.  So...
the documentation is just wrong?

I think it does sound like it would make sense to use the background
colour here for the face colour, though, since that's guaranteed to
stand out against the cursor colour, you'd think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-09-13 23:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-13 20:02 bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port Dale Sedivec
2020-09-13 23:11 ` Lars Ingebrigtsen
2020-09-13 23:43   ` Alan Third
2020-09-13 23:49     ` Lars Ingebrigtsen [this message]
2020-09-14 14:52       ` Eli Zaretskii
2020-09-14 22:10         ` Dale Sedivec
2020-09-15 14:20           ` Eli Zaretskii
2020-09-15 12:22         ` Lars Ingebrigtsen
2020-09-15 14:44           ` Eli Zaretskii
2020-09-15 14:55             ` Eli Zaretskii
2020-09-17 14:36             ` Lars Ingebrigtsen
2020-09-17 14:50               ` Eli Zaretskii
2020-09-17 15:06                 ` Lars Ingebrigtsen
2020-09-17 15:14                   ` Eli Zaretskii
2020-09-18 11:06                     ` Lars Ingebrigtsen
2020-09-18 11:37                       ` Eli Zaretskii
2020-09-18 13:07                         ` Lars Ingebrigtsen
2020-09-18 13:18                           ` Eli Zaretskii
2020-09-13 23:37 ` Alan Third

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d02pdyp4.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=43381@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=dale@codefu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).