From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Dependent colours Date: Fri, 15 Apr 2022 19:12:38 +0800 Message-ID: <87r15yppll.fsf@yahoo.com> References: <8735ifom48.fsf@gnus.org> <83y2073hen.fsf@gnu.org> <87sfqflqe2.fsf@gnus.org> <83v8vb3au2.fsf@gnu.org> <87czhjk5h7.fsf@gnus.org> <83pmlj3a7p.fsf@gnu.org> <8735ieivjo.fsf@gnus.org> <835yna3d62.fsf@gnu.org> <87wnfqhe34.fsf@gnus.org> <87wnfqprfu.fsf@yahoo.com> <87lew6hbsv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 15 13:14:17 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nfJu5-0003mr-2B for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 13:14:17 +0200 Original-Received: from localhost ([::1]:51886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfJu3-0006iX-MA for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 07:14:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfJsi-0005ke-0v for emacs-devel@gnu.org; Fri, 15 Apr 2022 07:12:52 -0400 Original-Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]:42497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfJsf-0002px-Kr for emacs-devel@gnu.org; Fri, 15 Apr 2022 07:12:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650021167; bh=SrTNr8w9Z1nXee9eR4pqXGwNZyO9E2QTvd7cUdIiTlQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=mm8Z2nWJ9DbwmZxtzIyEI6mVkB0trlIFikVzvq2/Q6QGpPP9dWf8Zg6qsUemxGgi/gXJ9NqAz1k4OsFeqRw4fq3Ap73s12vDoCnvleS5nxtuU6YYc6XACyU2/bZ/nco1JnXCpam+TvkzySPWEiPbgnNc42R6vTE03P/LV8XeyLB7uYJv89Ff1z7oRkRwGH79tHl7Doxm8gMDhrvYJHvoEVwPrKndfOdFKIiWDpo9VdcubFNUHn80s+O0WexFZNdhyC2Zf4MYdg+E/RAIlsiW2ALlBzEfSx8JW1/xduzBxrHxwX+d1b2w/Gw4jWoLnR6szein6O72OIuZEruCdiG1KQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650021167; bh=CRAScKOVZx+IOvbLP7YFXpdfdWvBM4qWemtXxnpRvZ/=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Esr21I71hPLH4PIUG7q2pT09LEqg42nOhK/+LiLJpaUc/ftn8826b9wCkzwmi/yKmibFgBogBJZmB8aq2zwhXPfTSoJ+Zi/7Rvs74mJtaipOkQreGP13+FGUWK/XUsgsCZor/IcacfVHXynvKrxPRvjVjLpKpzVIRh1Qku7dK1/LxkjEblj0fSWWP0h6VeviQon/0D/3Dk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.yahoo.com with HTTP; Fri, 15 Apr 2022 11:12:47 +0000 Original-Received: by hermes--canary-production-sg3-cfddc4f9d-lhc7t (VZM Hermes SMTP Server) with ESMTPA ID 3dc3718d78eb05c3209c4f2a34e33ed5; Fri, 15 Apr 2022 11:12:43 +0000 (UTC) In-Reply-To: <87lew6hbsv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 15 Apr 2022 12:37:52 +0200") X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.146; envelope-from=luangruo@yahoo.com; helo=sonic315-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288433 Archived-At: Lars Ingebrigtsen writes: > We currently define them via the defface machinery. But we do not use > faces to instantiate the colours on the screen, which is what Eli asked > for examples of. In most cases we do: the colors are allocated in xfaces.c upon face realization (see the calls to load_color2 and unload_color.) The image code path is an exception, and I think inside SVGs it isn't even possible to use the same color names as in the rest of Emacs.