unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21905: 24.3; Emacs doesn't support tmux-256color
@ 2015-11-13 14:27 Random832
  2019-09-29 21:37 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Random832 @ 2015-11-13 14:27 UTC (permalink / raw)
  To: 21905

Emacs doesn't support 256 colors in tmux. This can be fixed the "easy"
way by creating term/tmux.el basically identical to term/screen.el, but
a more thorough fix would be to run xterm-register-default-colors for
any terminal in which colors is 256 (or 88) and setaf 17 returns a
string containing "38;5;17".





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#21905: 24.3; Emacs doesn't support tmux-256color
  2015-11-13 14:27 bug#21905: 24.3; Emacs doesn't support tmux-256color Random832
@ 2019-09-29 21:37 ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2019-09-29 21:37 UTC (permalink / raw)
  To: Random832; +Cc: 21905

close 21905 26.1
thanks

Random832 <random832@fastmail.com> writes:

> Emacs doesn't support 256 colors in tmux. This can be fixed the "easy"
> way by creating term/tmux.el basically identical to term/screen.el, but
> a more thorough fix would be to run xterm-register-default-colors for
> any terminal in which colors is 256 (or 88) and setaf 17 returns a
> string containing "38;5;17".

It seems like tmux support was added in 26.1, specifically by this commit:

commit bd34a6c73f2651e9413b138cf98240faf559c790
Author: Mark Oteiza <mvoteiza@udel.edu>
Date:   Sun Jan 1 11:50:59 2017 -0500

    Add term/tmux.el

    Since tmux version 2.1, new tmux terminfos are shipped due to oddities
    with xterm and screen terminfos.  This is simply a duplication of
    term/screen.el with screen -> tmux.
    * lisp/term/tmux.el: New file.

I'm therefore closing this bug report.  Please test Emacs 26.1 or later
and report back if it still doesn't work as expected.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-29 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-13 14:27 bug#21905: 24.3; Emacs doesn't support tmux-256color Random832
2019-09-29 21:37 ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).