From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55623: 29.0.50; Mention that (face-foreground 'default) can return "unspecified-fg" Date: Wed, 25 May 2022 20:37:02 +0300 Message-ID: <83pmk1pl8h.fsf@gnu.org> References: <87ilpub287.fsf@gmail.com> <87o7zmjd2f.fsf@yahoo.com> <87czg2aw0q.fsf@gmail.com> <83pmk14uo4.fsf@gnu.org> <878rqpbqxm.fsf@gmail.com> <83tu9dpmlv.fsf@gnu.org> <87o7zla5on.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3355"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, adam@alphapapa.net, 55623@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 25 19:45:54 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 1ntv4z-0000lI-RS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 19:45:54 +0200 Original-Received: from localhost ([::1]:45514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntv4y-0002f7-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 13:45:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntuxP-00061M-Bm for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 13:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntuxP-00037J-20 for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 13:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntuxN-00068U-VS for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 13:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2022 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55623 X-GNU-PR-Package: emacs Original-Received: via spool by 55623-submit@debbugs.gnu.org id=B55623.165350024323511 (code B ref 55623); Wed, 25 May 2022 17:38:01 +0000 Original-Received: (at 55623) by debbugs.gnu.org; 25 May 2022 17:37:23 +0000 Original-Received: from localhost ([127.0.0.1]:56402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntuwk-000679-Nr for submit@debbugs.gnu.org; Wed, 25 May 2022 13:37:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntuwf-00066t-Uy for 55623@debbugs.gnu.org; Wed, 25 May 2022 13:37:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntuwa-00033S-Jf; Wed, 25 May 2022 13:37:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fz4Ux7rSXuJ7CRRH6kXUr/lR6/DMLyawhOg/vySJV+Y=; b=ecW2kEzXQl61 2K9XzI9i+YLc61Ct+NDcZ6A3Hbcnv21sPXJsBxq+99l7m1nyPNU9U20a4tSadIwP3O4fbtf+bnYDl ZkVrTONNVtsssiZNhvSgzqiyfjVuFNHHUMMYU22WDsbGVvynpGHmJ0F8IkRFb5TGyFtj8KV2aqLHS siyZCo8xQexvx4eiBq2XFT9WzcfKoZCtf9yHizmf9rl3bgKeC1xxDLB0W19ZLzqWYQmaNdnY2TjmI YWoKzELdmIfcbMGKis5NA/uwEHKOxn3srPrHPWOEiNnmWkh/1QTOI9y5UD+9+YzF5+Y+b62wVN83h F0WqmtZruWERCyuiQtfU2g==; Original-Received: from [87.69.77.57] (port=4721 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntuwZ-0002Ny-S0; Wed, 25 May 2022 13:37:12 -0400 In-Reply-To: <87o7zla5on.fsf@gmail.com> (message from Visuwesh on Wed, 25 May 2022 22:52:00 +0530) 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:233074 Archived-At: > From: Visuwesh > Cc: luangruo@yahoo.com, adam@alphapapa.net, 55623@debbugs.gnu.org > Date: Wed, 25 May 2022 22:52:00 +0530 > > How about the following instead then? > > The 'default' face is always fully specified except in special cases > of TTY frames where :foreground and :background attributes may be > the strings "unspecified-bg" and "unspecified-bg" respectively to > mean to use the TTY's color for the foreground and background. This is inaccurate and thus misleading. These special color names are just like any other color names, they are "special" only when Emacs needs to actually use them on the screen. For any other purposes, they are just color names. Thus, the default face is "fully specified" even when these colors are used. Also, these colors can be used by other faces, not just by 'default'. Technically, these colors just tell Emacs not to emit a color-changing command when it writes text to the screen, or emit a command that tells the terminal driver "reset to your default color". But this is an implementation detail, and we cannot talk about it in the manual without explaining a lot of details about the inner workings of color support on TTY frames.