bug#81639: Please add alias from "ghostty" to "xterm" in faces.el

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> Cc: [email protected]
> Date: Wed, 19 Aug 2026 22:18:35 -0700
> From: Jared Finder via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email protected]>
> 
> They're correct that setting TERM to xterm-ghostty as a pracitcal 
> tradeoff generally makes things better for users, specifically because 
> ghostty is trying to be xterm behavior compatible.  For example, Emacs 
> behaves more correct when TERM is set to xterm-ghostty specifically 
> because Emacs then assumes that the terminal is an xterm variant, using 
> term/xterm.el for initialization.

Can't we cater to both cases by adding lisp/term/ghostty that reused
the parts of xterm.el which work fro Ghostty?  I think this should be
more robust and future-proof than just the alias.  Since Emacs has a
general machinery to cater to specifics of each terminal, it sounds
not very clean to provide an alias, when "Ghostty is not de jure a
xterm variant".  Or what am I missing?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.