From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cItFFB1JmGMrPQAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 10:42:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CPA+FB1JmGNhCgAA9RJhRA (envelope-from ) for ; Tue, 13 Dec 2022 10:42:53 +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 2D1EBA7BC for ; Tue, 13 Dec 2022 10:42:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p51nk-0004YC-2z; Tue, 13 Dec 2022 04:42:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p51nh-0004Xv-P9 for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 04:42:14 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p51nf-0001de-EY for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 04:42:13 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C0860240027 for ; Tue, 13 Dec 2022 10:42:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670924528; bh=iHx01EHRWdbFWoobuLwCGKUNUWpEtkJSnwVcV95whA4=; h=From:To:Cc:Subject:Date:From; b=Bl3jZm0PC1YEFWCYcHNTbqJxli9OvBSc1XPmviyjnsnokXcKFT318cGfMqwUwf9FT Co1qF1XtPLNZTYh5T3AjwUAknlBZKYXlq/uj2indRfFw9f6anXZTBq01kBiWHyz0Ko 8qBt7hHibhSBzs3HL6CDh1Pz/pm2AcYe9vumU5hgqlBRkRE93jjcmnOn6QP7ZL5o7T HwIYngo4j41ePHEeGP26bNk4/0zqVEaYBuv52k+SmOMX+k2dylB6lc+NejVxrSWF0P RD6HftkCJwJWhZLlR4+yBH8PxuF9rnTrkAyAeBbzx/t8S5DVX1zbl4c9qgNHiy5Yza uNabuX8FmgXLQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NWYRz6mRCz6tnC; Tue, 13 Dec 2022 10:42:07 +0100 (CET) From: Ihor Radchenko To: Anthony Carrico Cc: emacs-orgmode@gnu.org Subject: Re: org-insert-structure-template In-Reply-To: References: <87pmcog1ld.fsf@localhost> Date: Tue, 13 Dec 2022 09:42:06 +0000 Message-ID: <875yefej2p.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670924573; 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=Gxsyiz88Vy+YmbbOtKVq+6HjP+qe8ebGE4kFNr4gLms=; b=IJhtPI8LC0P0njPTtisKN0NdiKCrJ1CjXDVs4zhCymXskP4sBpmKg74veAJsLiIPUgaZWU L65q4vxeGCwQgmA1DG5fWpilCK9iv4JA9TvUuu6ZUwmX67Onxc9NaAvDjHjZkdSG5yvIAl TtFn1Fszx4dYVjKEk01BLSt+GE5jVF+TO5uPmlQ+XdCYJNIJIrbn3brWzPpVGtg4ZlhNXH VwEWYReSoduSsgm6l+7oTm9X81z438fFtIlCkVYIK9AjqZR5t6QAmFamBk/5G67ea6btam SWcQ9w0WTH625vqru0tPVUaCwxABkYsl0uWTj1JwfVtScCKFzSKCgnaReo0b0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Bl3jZm0P; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670924573; a=rsa-sha256; cv=none; b=IkM+eN9bSSg1C9Deqn59I3x8r/kfOjCE5Y/8y/EYIprt53rRyyN6cO6N8cP6a8CqjgLttL z/Xcag0h1vWPUBPgpwZkUDFO5TPq1lwcBWBwxXHafpp3PVFL6GysAueX5QiU9/RLmqM5cw XYE7VtC+0knu07E0NEX3fla3/62939+YX+IXi4d+uHsYDykrEno1m5Xg2iBl1mhPPdKAnW q5k5yoamrRwRTxAcgcLX/ixIRwgXG8uOuoXw7JANAc9CeiW14Fd0TSgJEKPDR90sWklBVD dhSwkQf0I777leBFOflxkRgGvluZiLF6IOlbK9ZTKIWDPhyFRaysw+1+852Xug== X-Migadu-Spam-Score: -5.96 X-Spam-Score: -5.96 X-Migadu-Queue-Id: 2D1EBA7BC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Bl3jZm0P; 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"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: kJu9TgW4GOyU --=-=-= Content-Type: text/plain Anthony Carrico writes: >> The general pattern is C-c C-x . Maybe we can add "C-c C-x ,"? > > Thanks, that is probably a good pattern to use. I'll look into > org-use-extra-keys. This is the only keybinding that regularly bites me > on the TTY. C-c C-x , is actually not available (it is bound to timer). I went with C-c C-x s. See the attached patch. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-lisp-org-keys.el-Provide-terminal-binding-for-org-in.patch >From 2646a3279689cd9afdf4b5b0e44d29c1fca38d84 Mon Sep 17 00:00:00 2001 Message-Id: <2646a3279689cd9afdf4b5b0e44d29c1fca38d84.1670924473.git.yantar92@posteo.net> From: Ihor Radchenko Date: Tue, 13 Dec 2022 12:30:36 +0300 Subject: [PATCH] lisp/org-keys.el: Provide terminal binding for `org-insert-structure-template' * lisp/org-keys.el (or): Add alternative terminal binding for `org-insert-structure-template'. The default binding may not be available in some terminals. * doc/org-manual.org (Using Org on a TTY): List the new binding in the manual. Reported-by: Anthony Carrico Link: https://orgmode.org/list/d9222967-5747-bf54-8041-4a8453fe81fc@memebeam.org --- doc/org-manual.org | 1 + lisp/org-keys.el | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index 0680fb593..1431f8546 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -20481,6 +20481,7 @@ ** Using Org on a TTY | {{{kbd(S-DOWN)}}} | {{{kbd(C-c DOWN)}}} | | | | {{{kbd(C-S-LEFT)}}} | {{{kbd(C-c C-x LEFT)}}} | | | | {{{kbd(C-S-RIGHT)}}} | {{{kbd(C-c C-x RIGHT)}}} | | | +| {{{kbd(C-c C-\,)}}} | {{{kbd(C-c C-x s)}}} | | | ** Protocols for External Access :PROPERTIES: diff --git a/lisp/org-keys.el b/lisp/org-keys.el index 95f64a3f9..7c6e38e64 100644 --- a/lisp/org-keys.el +++ b/lisp/org-keys.el @@ -503,6 +503,7 @@ (when (or org-use-extra-keys (not (display-graphic-p))) (org-defkey org-mode-map (kbd "C-c C-x c") #'org-table-copy-down) (org-defkey org-mode-map (kbd "C-c C-x m") #'org-meta-return) (org-defkey org-mode-map (kbd "C-c C-x M") #'org-insert-todo-heading) + (org-defkey org-mode-map (kbd "C-c C-x s") #'org-insert-structure-template) (org-defkey org-mode-map (kbd "C-c C-x RET") #'org-meta-return) (org-defkey org-mode-map (kbd "ESC RET") #'org-meta-return) (org-defkey org-mode-map (kbd "ESC ") #'org-metaleft) -- 2.38.1 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--