From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33513: 26.1; emacsclient forgetting keybinds set by tty-setup-hook Date: Fri, 27 Nov 2020 09:41:37 +0100 Message-ID: <87k0u7jiny.fsf@gnus.org> References: <20181126105151.pklkvmi4n3zzllj6@gentoo-zen2700x> <87im9stii5.fsf@gnus.org> <20201126153249.3kxdhmwrx5vy7vaq@gentoo-zen2700x> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37280"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 33513@debbugs.gnu.org To: Hadrien Lacour Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 09:42:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kiZKc-0009VL-G6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 09:42:18 +0100 Original-Received: from localhost ([::1]:58004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiZKb-0001FV-I9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 03:42:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiZKM-0001EN-MR for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 03:42:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiZKM-0005gU-EX for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 03:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kiZKM-0004bf-Cu for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 03:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Nov 2020 08:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33513 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 33513-submit@debbugs.gnu.org id=B33513.160646651017687 (code B ref 33513); Fri, 27 Nov 2020 08:42:02 +0000 Original-Received: (at 33513) by debbugs.gnu.org; 27 Nov 2020 08:41:50 +0000 Original-Received: from localhost ([127.0.0.1]:43905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiZKA-0004bD-GJ for submit@debbugs.gnu.org; Fri, 27 Nov 2020 03:41:50 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:59170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiZK8-0004az-Jp for 33513@debbugs.gnu.org; Fri, 27 Nov 2020 03:41:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MAA547cev6wiP1/qBA54Yg3kvAoXxChuOi296R31zjQ=; b=o1yDNmX+m/l/Sw3RYr5QZ49NYx f9BKnK1b0892POm9wlndY5zFwQkXmtX8CIA070K4fIdl0ZDjzRLeKT8fUcVcm2GQBA1rWQqBwwzb9 Akejq9RB3u2VNcmFLOJUOfxr5Xc4BK92t2Nw2qHKTNozaHyEvhJMSPp/PNGCs3V4dYys=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kiZJy-0005JM-Md; Fri, 27 Nov 2020 09:41:42 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUdGBaCYm9UPET/ ///ZTkq4AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QLGwcuDy8+EIMAAAFTSURBVCjPjVFNa8JAEJ2G BrZ7riX0tIS2rPMrRFDoLQUToicpKI2/Yl1U0hwLSuxpWRC2+ysbk2xs6aVzmrdv9r35APgTAYg2 8+LhTA8cmGTjfld0t09OrgziTF93jA6FP7+oEQZSFHVKOQnzkNkGKAxz1KwWITwMCecNAFKZCaZa ASVpJ+Yht9vOljO17ZgCceNyTxeFI9bppRePPlG+ds0VnJorN93TPTVrV3dTKtKm1haUUmEUmYOf LQ7JcqmzeFtCPB8douhgp/4ugpMc96J0gs/+7hb8dJQuRvEwmU1rb1MZdy3EVPho2nb6L4D7HBvg SzgmRdCAzSscezlzcwIL63XQgVFKK5BYfSIP1ZiI+Uf1AJ6xqxX9zK0oz3ayYji+nxkQlnqagMfR nQQ4N/X1UFhWlX7VW3gUlksr38raCc6MVEH7B7ngIoAf8Qv8O74Bmr1iBcXp8PAAAAAldEVYdGRh dGU6Y3JlYXRlADIwMjAtMTEtMjdUMDc6NDY6MTUrMDA6MDDJ+p/6AAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIwLTExLTI3VDA3OjQ2OjE1KzAwOjAwuKcnRgAAAABJRU5ErkJggg== X-Now-Playing: LYZZA ft. Joe Goddard's _SHAPE Wire CD'2020_: "Neverland" In-Reply-To: <20201126153249.3kxdhmwrx5vy7vaq@gentoo-zen2700x> (Hadrien Lacour's message of "Thu, 26 Nov 2020 16:32:49 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194420 Archived-At: Hadrien Lacour 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