From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0NIuCyXE6GF8bQAAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 03:08:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QH0CBCXE6GHAjAAAG6o9tA (envelope-from ) for ; Thu, 20 Jan 2022 03:08:37 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A55032085F for ; Thu, 20 Jan 2022 03:08:36 +0100 (CET) Received: from localhost ([::1]:42662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAMsN-00072b-Ig for larch@yhetil.org; Wed, 19 Jan 2022 21:08:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAMrF-00072Q-Id for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 21:07:25 -0500 Received: from [2a00:1450:4864:20::52c] (port=36515 helo=mail-ed1-x52c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAMrD-0000zC-Jb for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 21:07:25 -0500 Received: by mail-ed1-x52c.google.com with SMTP id l5so4941987edv.3 for ; Wed, 19 Jan 2022 18:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=w+WIpphvo3W7wS2CP+cKCv+JJ2FbuAeMTrK/m/BxFpI=; b=qPM5OGD0XqQ9AmQbfB8+OkDgNzLkq4B5kWiec5AOkLbNZUaFAKIe9U60tBSEXO5s57 sq4i3XRPuEC4HR2mFo0cOejNsULtx22a4rW1Lzxlr6KsAsbF4r6/kQbsFbCBtfPfD7B6 BRDUZSP4PRGeH6MiQd4DFVzE3nrZ5CxPFls7QF5Tw4+sOQ35p9lo7FUTbSL5DmWLnjPg KZuwIyD4SLKW0SDbpqCvl9XkfdLLLgTptC2/QJxF9dQne5pPClhX1ZDDLQj6TDYaa7UG bNfFvK5AUejwdD6EkNLFJLE2osoEHA7/KBTSWeqTFIwpgeQ11I/aEZKNtVW/xJsifOpq 75cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=w+WIpphvo3W7wS2CP+cKCv+JJ2FbuAeMTrK/m/BxFpI=; b=bAWzAHiWCBZULMi7+Fw0BkyIxuRBgMvD0CzNbfVLpOc4h0vcCnkaM5HZAaGJChI0S4 dZKf4GTSUy+rcQ7UqYRkhsdqpg9MZh7/3grHN/6TQPFlkh0Xh1fSsipIUReBOHF+70Ep LsnU7qvzLyev/DyL+iPtMhYIsv2Mrwz2a9/kL1MiAnhQCJaJVNkpIMeJZE3LjeDzmLCF CAwlE5HuBvrYxCzC6STHCJnk/NQ6MneHNMESTIqDVTT/M/n3mMzCyLP/t/rcYwGIESvL 52WiSRotGk4cW9DNqSRkO/c95vZ4zx1czVMnEyCNqYeWz++dx6R6RAn0JWCYTnTdlzgC aVdw== X-Gm-Message-State: AOAM532kfw9ErtMkw51qaVHa173lPzP3N76zzK+wkntTHcArKlFjpT4i yuuhEozUsDO6YCrlEwQTHKk= X-Google-Smtp-Source: ABdhPJzY56RLgY9Fv7ovyVXw/D1UC+G8lck0bBWBo9UX/XfajSfp3dp2lfapmu4GA+2RnNuMlZP7Qw== X-Received: by 2002:a05:6402:b4c:: with SMTP id bx12mr1583423edb.363.1642644440715; Wed, 19 Jan 2022 18:07:20 -0800 (PST) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id l2sm551250eds.28.2022.01.19.18.07.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 18:07:20 -0800 (PST) From: Ihor Radchenko To: Loris Bennett Subject: Extend the existing alternative set of key bindings for terminals (was: Second Ctl in keychord not detected) In-Reply-To: <87sftj6ard.fsf@hornfels.zedat.fu-berlin.de> References: <877daw6i8l.fsf@hornfels.zedat.fu-berlin.de> <878rvblwmx.fsf@localhost> <87y23b6dvz.fsf@hornfels.zedat.fu-berlin.de> <874k5zlsd2.fsf@localhost> <87sftj6ard.fsf@hornfels.zedat.fu-berlin.de> Date: Thu, 20 Jan 2022 10:11:47 +0800 Message-ID: <871r13kvfg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=yantar92@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode Mailing List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642644516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=w+WIpphvo3W7wS2CP+cKCv+JJ2FbuAeMTrK/m/BxFpI=; b=Yis+OnrOZc0gYiQZlSjPIFMh9QIwUoT7oIzAlyGQGBtk4uQHXEPaAzilkyLtGNWBvc4O1G PErQVwWNBbq8YhT6qdA9zN0fu/KAJSbA/lcj5wwAdIC/yrq2aaSLNT6ODhHeh00azMmbuj g/1tyPxSRFubfrPsLwTQIMeXMcm+b0SyzGnjB6E8dGZ4g5e2/8wKOZgl2SuJtaxc23JTUv oWzwrZmy9MlLhdydZ7uqTWELTKFrfKXXWWrxJHkPYeX9+SJdrsbIh3rmFoxpQYzUr15X7u cgR3Nzh15NxYq2I78RTY/Bkz7VPxzqgWt8NvvY3gYbL906uL20o3GwP7riT2SQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642644516; a=rsa-sha256; cv=none; b=oLtxPY1llPE1+RburDRI9C75PgW3axCixt82MS0KPOv6sL32LAjU0DHxGoWheBCFwpM0jx 5T1V5euU0Kxdxp4vyVtmnpR2P/BdLlk64zLz8uinCcOL1XzM7BRYPHVFBN8jOOCGSplpb4 CB5CPxBG4+ZonSt7vXxYT08STuBCtaF5xSgS0nTgZo6raSYcYkVDsiHpIs/1/G9EHFm1Hw GfeLeF19F4XS/iARLXH31tPJzfE/FqL0FhLjXJAdjUdveINeo4hGSjtYXAHbx1Ev+6KRYW mIR06DAP8CKxmyW8Wg9R7MqVFvde5RT9fq2/kehhfSeuUYZFomzqHeuPapz1sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qPM5OGD0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qPM5OGD0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A55032085F X-Spam-Score: -3.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: Wjg3hCLioi5Q "Loris Bennett" writes: >> Then, it is terminal input problem. See >> https://stackoverflow.com/questions/11110801/why-does-ctrl-not-work-when-i-bind-it-to-a-command-in-emacs/11118511#11118511 > > You're right, the problem also happens locally when I start Emacs with > '-nw'. Thanks for the link - I'll have a look at the various solutions, > although it might just be easier to rebind the command ;-) On Org side, we have an alternative set of key bindings that is more compatible with terminals (see org-use-extra-keys). I think that C-c C-, should also be covered there. Or maybe some other keys as well. Loris, would you be interested to check which default bindings from org-mode-map work and which don't work in tmux/terminal and report here? Also, it appears to me that we may keep losing terminal-incompatible keys in future unless we provide some mechanisms to check terminal compatibility automatically. Any ideas? Best, Ihor