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 iLm6DUIh6GGqEwAAgWs5BA (envelope-from ) for ; Wed, 19 Jan 2022 15:33:38 +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 4OZkBkIh6GF47gAAG6o9tA (envelope-from ) for ; Wed, 19 Jan 2022 15:33:38 +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 C45C8390F8 for ; Wed, 19 Jan 2022 15:33:37 +0100 (CET) Received: from localhost ([::1]:54082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAC1o-00023l-RN for larch@yhetil.org; Wed, 19 Jan 2022 09:33:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nABMt-0008SA-Fc for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 08:51:21 -0500 Received: from ciao.gmane.io ([116.202.254.214]:60240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nABMr-00059k-Mu for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 08:51:19 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nABMm-000358-GY for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 14:51:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Anssi Saari Subject: Re: Second Ctl in keychord not detected Date: Wed, 19 Jan 2022 15:51:04 +0200 Organization: An impatient and LOUD arachnid Message-ID: References: <877daw6i8l.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:nclMaIXag2ejNR8InRn8IG+cEaw= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, 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: , 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=1642602817; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AnswnuWzNVcZID+T1fz74FClzhLyAw1Pha0ZGgivRVY=; b=CURtPxwqUM7HlaR9jVw+Dg5DxwW+Sp/fYw02/T8DEHvRZ3K8St5qVoPUQAmsXmq0tCFPUC pQ7DZP4ZHSvCSNH7twIi84ZA/1PN9lc/sFsWUACHk+L9G2O3xJXyZY7IC2cHxUXuThiQG/ 2+MheopbxiKQtV1CFlknjeUExkNU63Wjnpanp4QdJrTB1kiWi0ekjxkOfIthbxFigU0KVY gaJL1T2Cr/mXShtT6J8+WfNtMbBiN79jT67nd/QIkj2n8+3n55IXkn5sIMh8Tpl/EksWdw omKU66LMkVnFKLabhB8MGf/qrhtNoP8qT94xinEA30vpUThDo290QPqNl+uGyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642602817; a=rsa-sha256; cv=none; b=UJCPte+brDbrVzA29XKtvn3I9lceFDSC3vWFVkVK36AAPA3ynrMR/pMHsmu4NE0u3MGvx1 gFptcEq0qlqO5JzIWEhBRMUo7RVYjkpizgz4oMVJYEbLV4/ult8eTVYAmFuFVwUIZZBAcR JMgtDIY0xZIu82FT99bCX/CbkoPN3u+gFQuTpAwDT0g8+Thlm6tkXmdeg74kXz2kpg1JqS SeS9sBH+GdZYpMUG2yR2r3kRqaFegrWsBaQ19wCLUR6baFpb9lNkoS8d0VFn/9r1koweiF 9Izx3IobLXzNwaQ1qOizN9BGwaBrltJLnozJ9L3aCofP5scRphESiOItf9lS8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: C45C8390F8 X-Spam-Score: -2.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: hinVItwklX2E "Loris Bennett" writes: > installed. I am using tmux and want to run > > org-insert-structure-template > > which is bound to > > C-c C-, > > When I type that, however, the function > > org-priority > > is executed instead, which is bound to > > C-c , > Does anyone know what is happening to the second Ctl and how the problem > can be fixed? Yes. I actually asked about this recently. The problem is that in a terminal, C-, doesn't exist. Hitting C-, gets you just a comma. In other words, there is no control character in existence that would be sent in a terminal when the user hits C-,. I asked for suggestions for remapping org-insert-structure-template to some other keys and got a suggestion on how to find what key combinations are free. Also a suggestion to use older way to get the template (require 'org-tempo and use < s TAB). Problem with that old way is that it doesn't wrap region in the +BEGIN_SRC/+END_SRC tags, it just dumbly inserts them. I typically start writing code in an ORG document and *then* realize it should be inside those tags so C-c C-, would be perfect. Just not in a terminal. It might be worth reporting this key binding as a bug since it doesn't work in a terminal. Other than mapping org-insert-structure-template to some other key combination or using