From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steve Greenburg Newsgroups: gmane.emacs.help Subject: [REQ]Light/dark toggle for terminal emacs Date: Thu, 3 Sep 2020 20:00:46 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33501"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 04 02:35:29 2020 Return-path: Envelope-to: geh-help-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 1kDzhQ-0008dE-Sa for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 02:35:28 +0200 Original-Received: from localhost ([::1]:39398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDzhP-0003Em-LL for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 20:35:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDveJ-0004Do-1H for help-gnu-emacs@gnu.org; Thu, 03 Sep 2020 16:15:59 -0400 Original-Received: from mail-oln040092009070.outbound.protection.outlook.com ([40.92.9.70]:4087 helo=NAM04-BN3-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 1kDveG-0007bR-8l for help-gnu-emacs@gnu.org; Thu, 03 Sep 2020 16:15:58 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OvV9sCKAo6up99q4U37TSQYkQhWau2m1CRuF2FVjYOlGqhXuAG+TOaNotaMpRa5yx8CkWNXbi/mc2Cv5oLHUbV9Ol6WswU47+e6cxgG5s9Y7j5uKvjwAzcfpWzFSdnnsENeNyvaOkj0MAw8XOQefUItMxB0QYUn1t1KAmTMcYoVBXL4O99KnqVFv3qFQAY2UtqbK7JU/oL2ra0FiHtbgQv5vf4bJBg5CJaEfZ+LLohTVUjpY5hn2PVu1tK4PJxlIxYH9AxlK8VTBhIuhG171Dxkh4Gc1pZ05QAcagt0+LCeeJ41WybPogeMxzYE3s75G58L4C2bzWiqGzg5hR9egRw== 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=pV2FjPe4j5bnynkRJ/5ji+LcrZ34QZbCQbmujFY4R4c=; b=GdDFqnH52MFgDfAMZ1li8WTd6/uFIhZu6dGMPixSbB+Dt1GMKSfPEH7JmZR/UTaVcBqghjpkhXpuJOUmTjgAITMVm+GEuHzLqTxYe0eLPm9buc7sHgaUncnH98A/jlTU9Cxul7gytxVn14IRDPVI1jKKhWKL/FtLQLvLQV/qhURi93Kkwio1+fSwOz4Mu3hFwhdWsVMf0LNrZbaw1ebGjavgXfoLEswRAFGRMJ0Q+8wq+wMJoYtJlc9ioOCVHu2lU9gpOrN5dS+KXLQhjslb8rXImRBFHnTqHSc6p4/eZ4Njajk1iIOtfPNRzW7G0tVGYbF0XpWhmkVLGxotauUl0A== 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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pV2FjPe4j5bnynkRJ/5ji+LcrZ34QZbCQbmujFY4R4c=; b=hi5Qc4Qxxcnx+8lVWQSG+oWMi9nm4jSY5X3br3ziy/uw579DwpYW9BteYDjYYrTA4yPsuJ6OpVg+vUaVA05IdlzDmSvtXdSC5kWgA9qvmb79YYJXua1nwch4PWLNsOInl9ki4LHYC69I5HWthk200vJB8S3CgwyXXpccHwcl5oshov8Uhbj2uvEsn/b6fNCOl06OMrP+X9M3cirlGp6lO3z2mB3wOM1L6pgXaVYFsN8O0bUnRVgIllrw8lNicm2sJ7Zr4slAkVrMXMqfPFK8Tuefp6Or9h53dRxa7mH/4Iw19NxXX+NFObQK5xL8eCxaacKj2DfSaTdwpwhjqYJtIw== Original-Received: from MWHPR13MB1758.namprd13.prod.outlook.com (2603:10b6:300:135::18) by MWHPR13MB1103.namprd13.prod.outlook.com (2603:10b6:300:9a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.7; Thu, 3 Sep 2020 20:00:46 +0000 Original-Received: from MWHPR13MB1758.namprd13.prod.outlook.com ([fe80::50f6:de29:f596:305d]) by MWHPR13MB1758.namprd13.prod.outlook.com ([fe80::50f6:de29:f596:305d%4]) with mapi id 15.20.3370.009; Thu, 3 Sep 2020 20:00:46 +0000 Thread-Topic: [REQ]Light/dark toggle for terminal emacs Thread-Index: AQHWgixH7SATaN7w6kOIMm2aDZ/4og== Accept-Language: en-US Content-Language: en-US x-tmn: [GMa9lB5dW+NEYkEggp1K3XpAkw8KJQKw] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b0fb6433-aac1-4cd0-6d2b-08d850440c26 x-ms-traffictypediagnostic: MWHPR13MB1103: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SEM1IgC7qPEZQlTsya9zyVBlqlVwt0kRRsHGZ3axo3A9k2h2uVkkr64w11HttIxZX3wj+qa7GQndXxGZ/R4UolchDU6Vm31R6P64o53fPA/R3GCyO/gOEVvdqztZuzVEWA3eb1g/LcIkxLBjZ9CjE7GF7QsK0qc3uea6nl16ECT+FJO8SD02MTVKKO5zYWok x-ms-exchange-antispam-messagedata: Wji/su3N1759x80yDZleJuxwltHoVWmdHQW+Vl4Lm81wJfh6uLXRpW2NDrwHRC/OCTjDO0FxtrzWm1N2CPWtMBDeZviwm//Ca16wmU02rlb9YYEbHMB25iTRzB+xVAcIVfLhCYRe9UzSx4Zdp5jNaw== x-ms-exchange-transport-forked: True X-OriginatorOrg: sct-15-20-3174-8-msonline-outlook-32ef5.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR13MB1758.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: b0fb6433-aac1-4cd0-6d2b-08d850440c26 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2020 20:00:46.3488 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR13MB1103 Received-SPF: pass client-ip=40.92.9.70; envelope-from=beethoven3322@hotmail.com; helo=NAM04-BN3-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/03 16:15:55 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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-Mailman-Approved-At: Thu, 03 Sep 2020 20:34:54 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123948 Archived-At: I was using emacs -nw in a terminal the other day and noticed that only the= tsdh-light theme was able to give me a light background/dark text out of a= ll the themes in etc/themes. This was a freebsd terminal where the default = term has limited colors, and tsdh-light was the only theme that didn't chec= k for a minimum of 80 something colors. It wasn't great but it was much mor= e readable, and faster than setting -fg or -bg on the command line. I think it would be a good idea to have a menu option in terminal emacs at = least to toggle light/dark for easy of editing. My vision is impaired and I= work best with light terminals most of the time. Probably the Options menu= before Multilingual Environment. Someone said (invert-face 'default) can d= o this but I don't expect a casual user on bsd or otherwise would know abou= t this. Possibly a command line option like -light or -dark might also work= .