GNU bug report logs - #33513
26.1; emacsclient forgetting keybinds set by tty-setup-hook

Previous Next

Package: emacs;

Reported by: Hadrien Lacour <hadrien.lacour <at> posteo.net>

Date: Mon, 26 Nov 2018 15:16:01 UTC

Severity: normal

Found in version 26.1

Full log


Message #16 received at 33513 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Hadrien Lacour <hadrien.lacour <at> posteo.net>
Cc: 33513 <at> debbugs.gnu.org
Subject: Re: bug#33513: 26.1; emacsclient forgetting keybinds set by
 tty-setup-hook
Date: Fri, 27 Nov 2020 09:41:37 +0100
Hadrien Lacour <hadrien.lacour <at> posteo.net> writes:

>> > (define-key input-decode-map "^[[1;5A" [C-up])
>>
>> [...]
>>
>> > I get the keybinds I want when using emacs -nw with st, but when using
>> > emacs --daemon and emacsclient, these work only the first time:
>> > $ emacs --daemon
>> > $ emacsclient -nw myfile # no problem, close with C-x C-c
>> > $ emacsclient -nw myfile # from here, tty frames don't remember the bindings
>>
>> (This bug report unfortunately got no response at the time.)
>>
>> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.