From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Davide Masserut via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54739: Make the Foot terminal an alias of xterm-256color Date: Tue, 05 Apr 2022 23:29:39 +0200 Message-ID: <87pmlvdxrw.fsf@mssdvd.com> Reply-To: Davide Masserut Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8243"; mail-complaints-to="usenet@ciao.gmane.io" To: 54739@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 05 23:30:39 2022 Return-path: Envelope-to: geb-bug-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 1nbql4-0001vv-PX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Apr 2022 23:30:39 +0200 Original-Received: from localhost ([::1]:42018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbql3-0001Ma-9V for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Apr 2022 17:30:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbqkU-0001Lv-TY for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbqkU-0000YW-F6 for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbqkU-000538-9z for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Davide Masserut Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Apr 2022 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54739 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164919418719361 (code B ref -1); Tue, 05 Apr 2022 21:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Apr 2022 21:29:47 +0000 Original-Received: from localhost ([127.0.0.1]:56335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbqkE-00052D-O9 for submit@debbugs.gnu.org; Tue, 05 Apr 2022 17:29:47 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbqkD-000526-Ra for submit@debbugs.gnu.org; Tue, 05 Apr 2022 17:29:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbqkD-0001Hb-86 for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:29:45 -0400 Original-Received: from out0.migadu.com ([2001:41d0:2:267::]:62532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbqkA-0000Uo-Rz for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:29:45 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mssdvd.com; s=key1; t=1649194180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Wp24SwkS71LqOt0v8XBfrbNElf+efwkzKtyQt2binj0=; b=p3znJixe53UXZr3lrr/yYWY2LMRpKV8UWP490s35oClE7Ft3H+IDCFv6CQNqjMH4DR2eme PLwn0oefBj91zzpO6b3SeXgsFKZusQDpVmrw9mSA2atWKLi5AEKxEDeIEJf1X6lCdPn15r QO6UGrXSd6xrdbiH+U9AAoML2WY4hAmvnbqUGae2wuB5DZdEW9rxuUsGI2CHpMEypiWavW QuGPY0osOVk4ovjBmEWBxU8ccCaYnO2Sue8J9zoqOGwHIFBXNuL7ognqgTS/zS3XQV2VVM lYxg9bakAiMR5ET69A3DVBQPXBbrwF1hdtkcfFcECBh70qxO2Id9405Qw/QSxg== X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: mssdvd.com Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=dm@mssdvd.com; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229464 Archived-At: --=-=-= Content-Type: text/plain Tags: patch The attached patch enables the Foot terminal [1] to display more colors while running Emacs. The author of Foot suggests to do so in the project wiki [2]. [1]: https://codeberg.org/dnkl/foot/ [2]: https://codeberg.org/dnkl/foot/wiki#user-content-only-8-colors-in-emacs In GNU Emacs 29.0.50 (build 45, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-05 built on T480s Repository revision: 7d504c9acc0c8d75d11c3a2b5e016f39e6156bf8 Repository branch: master System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --without-libotf --without-m17n-flt --without-gconf --without-gsettings --with-native-compilation --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/davide/src/emacs-git/src=/usr/src/debug' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 'CXXFLAGS=-march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/davide/src/emacs-git/src=/usr/src/debug'' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Make-the-Foot-terminal-an-alias-of-xterm-256color.patch >From 2aebab915c0b1f5f46c1794557de017bdf3f2014 Mon Sep 17 00:00:00 2001 From: Davide Masserut Date: Tue, 5 Apr 2022 22:57:20 +0200 Subject: [PATCH] Make the Foot terminal an alias of xterm-256color * lisp/faces.el (term-file-aliases): Make the foot terminal an alias of xterm-256color. --- lisp/faces.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/faces.el b/lisp/faces.el index 30f8483159..48a8222243 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -46,7 +46,8 @@ term-file-aliases ("vt320" . "vt200") ("vt400" . "vt200") ("vt420" . "vt200") - ("alacritty" . "xterm")) + ("alacritty" . "xterm") + ("foot" . "xterm")) "Alist of terminal type aliases. Entries are of the form (TYPE . ALIAS), where both elements are strings. This means to treat a terminal of type TYPE as if it were of type ALIAS." -- 2.35.1 --=-=-=--