unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Issue with tmux update
       [not found] <hkcqbpv554iekls6k67tsjwogzfd53fi5maaunlylagxkywenr.ref@3n4jqebu75wy>
@ 2024-10-07 12:37 ` Ergus
  2024-10-07 17:38   ` Olaf Rogalsky
  0 siblings, 1 reply; 2+ messages in thread
From: Ergus @ 2024-10-07 12:37 UTC (permalink / raw)
  To: emacs-devel

Hi,

After my system updated tmux to version 3.5 on October 1st, I noticed
that the keybinding combination "C-M-/" (which I use for undo-redo) has
stopped working in certain setups.

Here’s what I’ve observed:

When I try `emacs -nw` followed by `C-h k C-M-/`:

xterm: Works fine
xterm + tmux: Works fine

foot: Works fine
foot + tmux: Outputs M-[ 2 7 ; 7 ; 9 5 is undefined

alacritty: Works fine
alacritty + tmux: Outputs M-[ 2 7 ; 7 ; 9 5 is undefined

kitty: Works fine
kitty + tmux: Outputs M-[ 2 7 ; 7 ; 9 5 is undefined

I primarily use foot or alacritty because I’m on Wayland.

Regardless of the terminal, when I run `cat` in any of these shell/tmux
combinations, I get the same output: ^[^_.

Interestingly, these combinations work as expected:

foot + tmux + `TERM=foot emacs -nw`: Works fine
foot + tmux + `TERM=xterm emacs -nw`: Works fine

Given these mixed results, I’m unsure if the issue lies with Emacs,
tmux, or something in my configuration.

Any insights or suggestions would be greatly appreciated.

Thanks,
Ergus




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

* Re: Issue with tmux update
  2024-10-07 12:37 ` Issue with tmux update Ergus
@ 2024-10-07 17:38   ` Olaf Rogalsky
  0 siblings, 0 replies; 2+ messages in thread
From: Olaf Rogalsky @ 2024-10-07 17:38 UTC (permalink / raw)
  To: emacs-devel


Ergus <spacibba@aol.com> writes:
> Given these mixed results, I’m unsure if the issue lies with Emacs,
> tmux, or something in my configuration.
>
> Any insights or suggestions would be greatly appreciated.
Probably related to the following changes in TMUX:

CHANGES FROM 3.4 TO 3.5

* Revamp extended keys support to more closely match xterm and support mode 2
  as well as mode 1. This is a substantial change to key handling which changes
  tmux to always request mode 2 from parent terminal, changes to an unambiguous
  internal representation of keys, and adds an option (extended-keys-format) to
  control the format similar to the xterm(1) formatOtherKeys resource.


Olaf

-- 
Olaf Rogalsky
Schwoerhausgasse 5
89073 Ulm
Germany



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

end of thread, other threads:[~2024-10-07 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <hkcqbpv554iekls6k67tsjwogzfd53fi5maaunlylagxkywenr.ref@3n4jqebu75wy>
2024-10-07 12:37 ` Issue with tmux update Ergus
2024-10-07 17:38   ` Olaf Rogalsky

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).