From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Tom_Noonan_II?= Newsgroups: gmane.emacs.help Subject: Re: Forcing emacs to not use 256 colors Date: Tue, 4 Jul 2023 20:06:40 +0000 Message-ID: <010001892283a818-faef1ada-0fd7-475b-a92a-4611c66a6e73-000000@email.amazonses.com> References: <20230628115134.6f5874ca@fecfc4134a3d> <0100018902b4043c-e3851df4-1be4-4dbb-b58b-22fcd8412452-000000@email.amazonses.com> <5995c9ed6a40497810ea@heytings.org> <20230704160635.306eedbe@fecfc4134a3d> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15993"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?help-gnu-emacs=40gnu=2Eorg?= To: =?UTF-8?Q?Gregory_Heytings?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 04 22:07:28 2023 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 1qGmJ5-0003xP-5R for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Jul 2023 22:07:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGmIR-00043V-1G; Tue, 04 Jul 2023 16:06:47 -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 <010001892283a818-faef1ada-0fd7-475b-a92a-4611c66a6e73-000000@amazonses.com>) id 1qGmIO-000434-MF for help-gnu-emacs@gnu.org; Tue, 04 Jul 2023 16:06:44 -0400 Original-Received: from a10-27.smtp-out.amazonses.com ([54.240.10.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from <010001892283a818-faef1ada-0fd7-475b-a92a-4611c66a6e73-000000@amazonses.com>) id 1qGmIN-0006N5-2R for help-gnu-emacs@gnu.org; Tue, 04 Jul 2023 16:06:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=vum252kqsmfxf4p7suspcahnyzqsll6e; d=tjnii.com; t=1688501201; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References:Message-Id; bh=gBMBEWmnrpuswHmcxWkGKPS+Vf6Cf0z6oJfrzn279Q0=; b=O9nCtO2p4RSpC5dyIl3qaZCAVqu6XW9dE7X9j19oCBiwucHH/S3pnFo8m2IQPbLy 7NBkCHtxL8wYyGVDxvAizXT/VXXAlU9quSX2uQHStVX5dEvzK6eUiC9A0rHw1VXs6Px v4LI4YHEzN1TwXhsyGcs7CUBC+ao2TojUNEZ5nKI= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1688501201; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References:Message-Id:Feedback-ID; bh=gBMBEWmnrpuswHmcxWkGKPS+Vf6Cf0z6oJfrzn279Q0=; b=dhC4AC7wysxK/Ds57M6K3pOC7ooaTpfnP91V3+P0Ip4/2sRIXmiya0kF0wNNXEEK LJG9b9VFGLJPMcOcXyWgZdSUIo6sUeIl0HlBfsZ0YW5ftx5cnxM5AgGwITt2PPKK1TR ldL6MK/F/acqnvQzKSBKJ2jjEhjxsvgbLWySKFBg= In-Reply-To: <5995c9ed6a40497810ea@heytings.org> X-Mailer: Amazon WorkMail Thread-Index: AQHZqdhqe0cRdkr2RTyS/8aOlx7QyQC6XsbPATaoMog= Thread-Topic: Forcing emacs to not use 256 colors X-Original-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) X-Wm-Sent-Timestamp: 1688501199 Feedback-ID: 1.us-east-1.LF00NED762KFuBsfzrtoqw+Brn/qlF9OYdxWukAhsl8=:AmazonSES X-SES-Outgoing: 2023.07.04-54.240.10.27 Received-SPF: pass client-ip=54.240.10.27; envelope-from=010001892283a818-faef1ada-0fd7-475b-a92a-4611c66a6e73-000000@amazonses.com; helo=a10-27.smtp-out.amazonses.com 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, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144110 Archived-At: This my current workaround but I'd prefer to find a solution that's limited to emacs, if possible. This seems like something I should be able to configure, but I'm not familiar enough with the colorization internals (or lisp) to know where to start. On Sun, 02 Jul 2023 08:47:51 +0000 Gregory Heytings wrote: > > > > I tried searching but the results are getting flooded out with > > posts on how to enable 256 colors. Is there a way to disable these > > 256color specific syntax highlighting pallettes? Or otherwise > > limit the color mapping to the various $TERM values? > > > > Can't you just do "export TERM=xterm-16color"? >