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#64759: Broken faces Date: Mon, 31 Jul 2023 21:31:54 +0300 Message-ID: <83zg3c0w6d.fsf@gnu.org> References: <86fs5h4vo2.fsf@mail.linkov.net> <83fs5h1z38.fsf@gnu.org> <86bkg53cau.fsf@mail.linkov.net> <86ilad1bhn.fsf@mail.linkov.net> <83r0p19q0r.fsf@gnu.org> <86tttxywxu.fsf@mail.linkov.net> <83o7k59kpv.fsf@gnu.org> <86h6pxyubj.fsf@mail.linkov.net> <83lef99js7.fsf@gnu.org> <86351d5i22.fsf@mail.linkov.net> <83ila9qigb.fsf@gnu.org> <86r0ow53t7.fsf@mail.linkov.net> <835y67q42w.fsf@gnu.org> <86v8e4lz43.fsf@mail.linkov.net> <83wmyjj2gi.fsf@gnu.org> <863514asg1.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64759@debbugs.gnu.org, maurooaranda@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 31 20:33:24 2023 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 1qQXhs-0009dB-DO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Jul 2023 20:33:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQXhX-00027t-NM; Mon, 31 Jul 2023 14:33:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQXhW-00027U-7C for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2023 14:33:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQXhV-0007sV-VY for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2023 14:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQXhV-0007vz-Jo for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2023 14:33: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: Mon, 31 Jul 2023 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64759 X-GNU-PR-Package: emacs Original-Received: via spool by 64759-submit@debbugs.gnu.org id=B64759.169082832230431 (code B ref 64759); Mon, 31 Jul 2023 18:33:01 +0000 Original-Received: (at 64759) by debbugs.gnu.org; 31 Jul 2023 18:32:02 +0000 Original-Received: from localhost ([127.0.0.1]:53567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQXgX-0007uk-Qa for submit@debbugs.gnu.org; Mon, 31 Jul 2023 14:32:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQXgV-0007uD-Ai for 64759@debbugs.gnu.org; Mon, 31 Jul 2023 14:32:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQXgO-0007nX-Tr; Mon, 31 Jul 2023 14:31:52 -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=PCTYA3ONeq3OYYIAg0pmF0Pj8az/nJRmtj5/Y65Jsfw=; b=TlYi8foJCeuJ x51XMEEyLXk5JOD2WCZfuZCCemEKGXb/bNSM7RU6oY+HF6laAO9K4iusHQ4n8SZQwqBySYbaB45PD xogekCmC6cPbtaIy9eJxB//G9/p1F2fP+ZiKJWVY7r4jeE1342Hswmig6ymKs1vd1ob3Y7P34vlDN ReHDtOdmMf+9xmKJu3k4X9sKDzJ9VGMFzuPG0nlAoI5CbHUuffDQfFlmisKTT+74blf7ksS52NM1z GUDB0+lKGck2xRBWO+akUYq2o6m+DOzNmsMhKtZBRKrzD0k2yOteLyupBqqyxXJqXxcAzu1Flj25S yZRjRNNoh4joiHjiQuYbsg==; Original-Received: from [87.69.77.57] (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 1qQXgO-000614-AM; Mon, 31 Jul 2023 14:31:52 -0400 In-Reply-To: <863514asg1.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 31 Jul 2023 20:42:22 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266427 Archived-At: > From: Juri Linkov > Cc: maurooaranda@gmail.com, 64759@debbugs.gnu.org > Date: Mon, 31 Jul 2023 20:42:22 +0300 > > Then clicking on 'foo' shows: > > Face: foo (sample) (customize this face) > Documentation: > Not documented as a face. > Family: unspecified > Foundry: unspecified > Width: unspecified > Height: unspecified > Weight: unspecified > Slant: unspecified > Foreground: unspecified > DistantForeground: unspecified > Background: unspecified > Underline: unspecified > Overline: unspecified > Strike-through: unspecified > Box: unspecified > Inverse: unspecified > Stipple: unspecified > Font: unspecified > Fontset: unspecified > Extend: unspecified > Inherit: unspecified > > That's all that Lisp programmers need to know: that in an empty face > all attributes are unspecified. See, I don't think this is accurate. I think the result depends on the default attributes, the ones you can change by using set-face-attribute with FRAME set to t. > >> > Only if "no better face to inherit from is available" in all of those > >> > cases. Which I'm not sure is true. If you are sure, please tell why > >> > the faces I put there are not better ideas. > >> > >> Because they will cause the same problem as with display-time-date-and-time, > >> except that other faces are used less often, so it will take time until users > >> will notice these problems. > > > > display-time-date-and-time is used on the mode line, where the colors > > are different. The other faces are for buffer text, so the problems > > with display-time-date-and-time don't necessarily apply. > > It's possible that these faces are applied over other faces > that will break the default theme. Such use of these faces only makes sense if the face is customized to have some attributes different from the defaults. The intention of the default definition of these faces is to make them look no different from the default face.