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: master 6eeab90632: Don't accept whitespace or hex floats in rgbi: colour specs Date: Mon, 07 Mar 2022 18:14:52 +0800 Message-ID: <87zgm2m5lv.fsf@yahoo.com> References: <164657208058.1597.5057681041192670917@vcs2.savannah.gnu.org> <20220306130800.EE0F9C01681@vcs2.savannah.gnu.org> <87a6e3p51f.fsf@yahoo.com> <77E09460-1313-41CC-B52A-B586A1D2671F@acm.org> <87wnh6ob10.fsf@yahoo.com> <17382C6A-7253-40DF-BF3D-DE4090FAA07E@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27216"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 07 12:08:55 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 1nRBEQ-0006jy-75 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Mar 2022 12:08:50 +0100 Original-Received: from localhost ([::1]:57676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRBEO-0002cf-T8 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Mar 2022 06:08:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRAOP-0008Pf-90 for emacs-devel@gnu.org; Mon, 07 Mar 2022 05:15:05 -0500 Original-Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]:38956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRAON-0004Xv-LA for emacs-devel@gnu.org; Mon, 07 Mar 2022 05:15:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1646648101; bh=UJsskYw9FzIj8Nlp7AQw9XochbmtErbUqiqVoMD8zAs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=MUByaNqeBOTm26oTVsBQueC//YxVVDCUc5dOHafKj4VNlBbIxvqC/7VsTnt3hD978sOAVdmZPdeZQIlJSkdyzGYeMoMVdejV0AQ4YfXiPOzud4UK5F0qbV65is6MgLrHSV12is3irg5tS9ChfFUCRGM0OJbSceJv0CqiEYdv+Te338v8p3vtN+qq3Lm8l+2uUf+spXZ1Zm0khDS2+wA3w4PKLw72H3O7nfnruKvMvu/foqPKdhbt5ArNFrKPWHLPRPDgHpn5dROqr5ZMydfbW0Z5xSy1OnAZEoGxG7pYRu0eIUxE60gJHJ8cVOjlC/Vvf97twG2u+MFPe2HRhh0YMA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1646648101; bh=qfF7ruY3cSR0fQ/xe9mQKrjADg5XO68mqjFphaYhW3F=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cVCzeFMcAR2g1XVzsM7/m+BmX/IFYZXiqzPkmwEfE5S8sFii8v7PUBukEkdu8UGXZYZNEWutmM1OjZqsqemYY2vwZW85TT3nB6qoQ7TMjry+qPtPJcDEGyhUbYUIuaF4VQsFxW8qZBdn87lk0ARYP8Zzt+iTc02nGETvW+w8RnoMH04GmFeGAI+xFN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.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Mar 2022 10:15:01 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0a2c885c925634d42b687e0a65aa515b; Mon, 07 Mar 2022 10:14:56 +0000 (UTC) In-Reply-To: <17382C6A-7253-40DF-BF3D-DE4090FAA07E@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Mon, 7 Mar 2022 10:31:35 +0100") X-Mailer: WebService/1.1.19797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.204; envelope-from=luangruo@yahoo.com; helo=sonic312-23.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=ham 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:286883 Archived-At: Mattias Engdeg=C3=A5rd writes: > The syntax is from X11, or at least that is why Emacs supports it. But the X11 intensity string specification doesn't accept whitespace or hexidecimal values, so it's different from the rgbi specification that was implemented in Emacs. Though in practice, tolerance for whitespace is X server-specific. For the same reason, we don't use XParseColor to parse color specifications. > These unintended extensions do not provide the user with any > additional expressive power so there seems to be little reason for > them. For that matter, I believe that extensions should be motivated > by needs, not by implementation happenstance. Don't you agree? If the happenstance doesn't cause trouble, there is no need to get rid of it. Thanks.