From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Tue, 15 Sep 2020 17:54:57 +0200 Message-ID: References: <7a0ad8f3-8871-b653-d9f1-1cee105ff1ed@yandex.ru> 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="4646"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Marcus Harnisch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 15 18:11:12 2020 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 1kIDY0-00015S-9Y for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Sep 2020 18:11:12 +0200 Original-Received: from localhost ([::1]:51808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIDXz-00087j-8m for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Sep 2020 12:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIDWy-0007bc-Br for emacs-devel@gnu.org; Tue, 15 Sep 2020 12:10:08 -0400 Original-Received: from mail-oln040092075076.outbound.protection.outlook.com ([40.92.75.76]:59266 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIDWu-0001xS-Gs for emacs-devel@gnu.org; Tue, 15 Sep 2020 12:10:07 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nzwx0+90TjsLq6PsEwnnOlmkjcrh1kvMSDiCCp2bojIyqbzbk2xuGodBz132rQI6rmSLTotJHGYuesPeE6OqGXgggcLadOQKeY4EbIsUaS0rI/JY0LSMM4ibg3E6QB3Jowof4+Ss0DuEE1kfxhkJtVVoQRJqzDWJaY52fSwEf2Iu2jSt9X/dgpJNuaJPI1ZhfnA2fUCkHQjvi2l3uGFN9HCN3Zp5NKsefJwqU+AGCbLXD72Rix+LaSDeHiummOOJ+NfShuQM8xGdqUmCXOLsc+gf5UGsfk10vJzDxEjPqhPmqZPqBn2+YI2GRwnCYHhck9Dho6TVZLLMbZrD8orNzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3x/eU+tvb3AuH0XLyS4PpJKw6Pxq862iPiCmPGfyuIA=; b=POje6k/DEN7LEOuP6IAFsjCJyWi8n/EBmJ6m0/h0+4PETH/5dSC4o58qMHS8UUiUf/GMEdfzKJTKxTZLX7pY2uztYGbzOj0hnq0tIBpU9xbmj/JmEsMulqQVjjZYCCbNNvao55fwNu4rMk9dmf/honpJl2gFEcYsVbZ0x3IetSEW8S3ecROzCBRYHZxNGrjvKd/KfyMTYT++7dQZuLRn/KVb1cxQijLPHWxPJL4IbEXBFpUvBxINSnbO4d028fRhdD9jQ4idKmlC6zLsWaspgp1tY6uMy3+x8ukPtBG+Fvh0jvfJSbTR/HvHStgs2ackTGdntoZdsom2cwWoyVmGbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3x/eU+tvb3AuH0XLyS4PpJKw6Pxq862iPiCmPGfyuIA=; b=nhlvib/oETQ8GKA/ljqCGaWQEjAGsLz8nQHOW4REcKwhwdjDxp6pBq7ni+rtV5rPECn+7v8csMJ3S6Nm7S59sBaCpjop5FAwmsuj7GwwNanDTpNHqyim3dOn5O0LIUY+tGCPfJXDGkfFGCr/rHKasH+dnpAPzpmLmrWsuRlZtvLk/pljJiZcce9PT9Tj5Ujunt89sYUiy4MQpDpRaWbUG3hU8FenGCe9IyBLkzZJ3grOpzygvWUTESaQsLAPZSDzb8PQYdilO01wWkawXcGcvayCUEI0o65sqFeiGmyBmmWoZGkMV40QA0uJFpuuclPVGH9eZZsb3tK2FjIZ1UQ+xw== Original-Received: from HE1EUR04FT025.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::4f) by HE1EUR04HT026.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Tue, 15 Sep 2020 15:54:59 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e0d::47) by HE1EUR04FT025.mail.protection.outlook.com (2a01:111:e400:7e0d::284) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Tue, 15 Sep 2020 15:54:59 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:61921630AFB0D6929BE6CF88A68CFF63B798EA5FEFB996F55E066330A5A6B7F6; UpperCasedChecksum:74F0B840DAA057929BE8196371C1261CF31F15FE858AD38DEA180FE8B3C6ECE0; SizeAsReceived:3518; Count:47 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3370.019; Tue, 15 Sep 2020 15:54:59 +0000 In-Reply-To: (Marcus Harnisch's message of "Tue, 15 Sep 2020 08:38:15 +0200") X-ClientProxiedBy: AM6P193CA0041.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::18) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <871rj3t4q6.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P193CA0041.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11 via Frontend Transport; Tue, 15 Sep 2020 15:54:58 +0000 X-Microsoft-Original-Message-ID: <871rj3t4q6.fsf@live.com> X-TMN: [TOKG6pdt8a8qhJ3sPuo8dN8ErLMTuMEv] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 294394ba-9b07-489e-ca9f-08d8598fb2d6 X-MS-TrafficTypeDiagnostic: HE1EUR04HT026: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hrvH+kcGdo8kcL2W3xyZff2AklC5rxSDH6QKurJDwz3Ys+rVY6kyEoXoBFoqP+aqSFdYRT1CTvhP7K46i8fn+fCXT4HCwbVEg7ogIJZ5zm0Nq6cilmH7Wz3w0m4c5RJ4MRpoSan09au0aw/TbQc02GaY4NjQA4vE7ks7xMMvVhGu5PTIlV1xKOzTjw5Y4JFCqdNfcAb1uPa39e3e1Dfvr9mBtWQI9/0cxwpXkCNvioI= X-MS-Exchange-AntiSpam-MessageData: Vu91gUGQA4RY6lGb6G6WChgG1aKN13i8UuzhO1gZ8AWWuPpquUiFnB0ifvPgQWE/O536xSlw3s1xp9yWkkX8m3Z2cx7iUFvxmWjaK/JbDMAUw7jOeRYwXrdpt//fbVbSExgin0fFHGzOmr+ykqa4QQ== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 294394ba-9b07-489e-ca9f-08d8598fb2d6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2020 15:54:59.3029 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT025.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT026 Received-SPF: pass client-ip=40.92.75.76; envelope-from=arthur.miller@live.com; helo=EUR04-VI1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/15 12:10:02 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:255765 Archived-At: Marcus Harnisch writes: > On 13/09/2020 02.51, Dmitry Gutov wrote: >> On 13.09.2020 03:36, arthur miller wrote: >>> But to the topic, I indeed suggested to include Solarized in Emacs, but= I >>> also suggested to turn Batsov's implementation of Solarized into more g= eneral >>> framework for defining color schemes in Emacs so that people can use it= to >>> easily create=C2=A0 and I stall whichever color scheme they like. Thus = it does not >>> need to be limited to low contrast at all. >> Yes, it's an interesting idea. I don't have the time to explore it, but = others >> are very welcome to. >>=20 >>> It would make Emacs look more aesthetically pleasing if packages output= data >>> in more color consistent and coherent=C2=A0 way instead of everyone spr= inkling >>> hardcoded RGB values for their outputs. >> Yup. It sounds like a big change, though. > > You may want to check out base16-emacs (https://github.com/belak/base16-e= macs) > and the base16 meta-theme approach in general. Ok! I never heard of base16 before; I have just skimmed over the code of it a bit. I don't care which framework is used as long as there is some, but what I can see by just skimming over the code on github, they use names base0-base15 (in hex:-); I would prefer the Solarized naming scheme, since it adds more "logical separation" base1-base8 and accent1-accent8. If a 3rd party package would use such names, then accent1-accent8 would be names they care about, unless that package is a theme. I would also like to see more logical names (either a defvaralias or a macro) describing what base1 is used for, something cs-main-backgroung cs-main-foreground, cs-highlight-color etc. > I believe it does get pretty close to what is being discussed here. > Solarized is available as base16 variant. Indeed the idea used in base16 seem to be very similar to what I proposed.= =20 I checked hastily link provided and also like this idea too: https://github.com/makuto/auto-base16-theme "This script generates a base16 color theme intended for code syntax highlighting from a source image." But I don't understand if they mean they use the auto created theme just for syntax highlighting or to theme gui elements. Does not matter.