* bug#54739: Make the Foot terminal an alias of xterm-256color
@ 2022-04-05 21:29 Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-06 10:24 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-05 21:29 UTC (permalink / raw
To: 54739
[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]
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''
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Make-the-Foot-terminal-an-alias-of-xterm-256color.patch --]
[-- Type: text/patch, Size: 889 bytes --]
From 2aebab915c0b1f5f46c1794557de017bdf3f2014 Mon Sep 17 00:00:00 2001
From: Davide Masserut <dm@mssdvd.com>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-06 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05 21:29 bug#54739: Make the Foot terminal an alias of xterm-256color Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-06 10:24 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.