GNU bug report logs -
#33513
26.1; emacsclient forgetting keybinds set by tty-setup-hook
Previous Next
Full log
Message #22 received at 33513 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 28 Nov 2020 10:12:58 +0100
> From: Hadrien Lacour <hadrien.lacour <at> posteo.net>
> Cc: 33513 <at> debbugs.gnu.org
>
> > >> What key stroke is "^[[1;5A" (etc) representing?
> >
> > [...]
> >
> > > as the line says, "Ctrl + Up arrow". I think I stopped used
> > > emacsclient because of this, actually.
> >
> > When I use emacsclient -nw (Debian bullseye), `C-up' works without
> > altering input-decode-map, so I'm wondering why your terminal is sending
> > key sequences making it necessary to alter input-decode-map.
>
> Most probably because Emacs has some defaults for xterm based terminals, which
> st isn't. And Emacs needs those defaults because "C-up" isn't described by
> terminfo.
So maybe the way forward is to update lisp/term/st.el with these
sequences? Currently, we behave as if st is the same as xterm.
> Anyway, that's not really the problem, the bindings shouldn't
> disappear. Mind you, I haven't try to reproduce it with the current version,
> I'll probably get to it.
Please do, perhaps the latest code already fixes this problem.
Thanks.
This bug report was last modified 3 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.