From unknown Mon Aug 18 14:23:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67199 <67199@debbugs.gnu.org> To: bug#67199 <67199@debbugs.gnu.org> Subject: Status: Koutliner breaks Emacs key binding conventions Reply-To: bug#67199 <67199@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:23:10 +0000 retitle 67199 Koutliner breaks Emacs key binding conventions reassign 67199 hyperbole submitter 67199 Martin Marshall severity 67199 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 15 12:03:28 2023 Received: (at submit) by debbugs.gnu.org; 15 Nov 2023 17:03:28 +0000 Received: from localhost ([127.0.0.1]:53436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3JIV-00065b-S6 for submit@debbugs.gnu.org; Wed, 15 Nov 2023 12:03:28 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3JIT-000656-Iw for submit@debbugs.gnu.org; Wed, 15 Nov 2023 12:03:26 -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 1r38y5-0005pY-Ow for bug-hyperbole@gnu.org; Wed, 15 Nov 2023 01:01:41 -0500 Received: from mail-yw1-x112a.google.com ([2607:f8b0:4864:20::112a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r38y3-0007XS-T4 for bug-hyperbole@gnu.org; Wed, 15 Nov 2023 01:01:41 -0500 Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5a86b6391e9so76692977b3.0 for ; Tue, 14 Nov 2023 22:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinmarshall-com.20230601.gappssmtp.com; s=20230601; t=1700028097; x=1700632897; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=xt9B2bJBSozA7TZzzipiX8tZUZ7TQMgcxw+z091YL+A=; b=IqrV67hpPnldqW0Mw730+IZxL+l4rT1HN0AiFe3KXlhPa+Wd4PZdKlMWJ/RFocceYJ N0Kk1brFPrCAUxXi2I2B7z62mzYFH33raVZ8I5PRR00PMVjLVJSQUAm6bs9oDSLCPe/2 AGRjUxjUobmjipgF3TmJUUhELypeIUsV5Ldf04zlCKXacSTtBbLm/8N5rm+l8Z5T8i+k cAIk449oJEl7wqjrpx5WFXeRglN4gETeR31LRL/aJYx7HND2TYlcGTLOozcLlnPsLB8i NM8VxTzTJcI5MX25r7ThC1IQNqhwDXQ0VYpGxvablYEjEJR04y6Mx4ZuBBKODKjgWkh2 Hn/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700028097; x=1700632897; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xt9B2bJBSozA7TZzzipiX8tZUZ7TQMgcxw+z091YL+A=; b=d97mw5wmY7D6lw5KdBPEy2yD/Lnz2SM/bqwdvBH7eiHjtmBqBUCegj0a5ogywLRRBq 5k9L3ubLZC3/RwfpS7URaiBlTAGx7ZQ1Z8KzBLNtg2Bk47yjNpaJn9rUstY0eW2ciDZY X8TXTBnlc9twG5ZXWnYz4chiQ1dNWJHnrTKI7qdhljoyt8DtwzlDWu8tpKOrRUmfEkDN 8axK6ferd1tghHzucWJggQuNlfEC8UkaJkl+9mPG1Z8YI2GhCWOeH29oRouhwdinw5Dy 4p4/OdKEb6pcwrsOkkAzpPDLiIkPwx5qtmtpiqtjH6Xtl7gFXw1jjJCeme4YoafqRQe/ M5nw== X-Gm-Message-State: AOJu0Yz+wMYqgQgXiA+y0yd//JE8v0OtZ0Il256ybQepIEipxqF6bKJ8 Ds3LsHGzdqltUqcn/H9FM2aI5K8jhUXq/XnRA8EO3Q== X-Google-Smtp-Source: AGHT+IEZZuJuxDtvr+jvpS1Tk1IS1dUl5A2ZsnI+FwMxWlqyrQXSqVhjD1EzfKqAECcgz6iSlsgyBg== X-Received: by 2002:a0d:e2c1:0:b0:5a7:bc78:81e7 with SMTP id l184-20020a0de2c1000000b005a7bc7881e7mr12244172ywe.30.1700028097309; Tue, 14 Nov 2023 22:01:37 -0800 (PST) Received: from localhost (68-252-220-225.lightspeed.tukrga.sbcglobal.net. [68.252.220.225]) by smtp.gmail.com with ESMTPSA id q128-20020a0dce86000000b005a4da74b869sm194228ywd.139.2023.11.14.22.01.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 22:01:36 -0800 (PST) From: Martin Marshall To: bug-hyperbole@gnu.org Subject: Koutliner breaks Emacs key binding conventions Date: Wed, 15 Nov 2023 01:01:36 -0500 Message-ID: <87bkbvo8qn.fsf@vader.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::112a; envelope-from=law@martinmarshall.com; helo=mail-yw1-x112a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, I was trying out the Koutliner and found that it shadowed several of my custom keybindings. I did a few searches of the mailing list archives and didn't see mention of this. Appendix D.2 of the GNU Emacs Lisp Reference Manual provides: Don=E2=80=99t define C-c letter as a key in Lisp programs. Sequences consisting of C-c and a letter (either upper or lower case; ASCII or non-ASCII) are reserved for users; they are the only sequences reserved for users, so do not block them. It looks like the following keybindings in `kotl-mode-map' go astray from this convention. C-c a kotl-mode:add-child C-c b kvspec:toggle-blank-lines C-c c kotl-mode:copy-after C-c d kotl-mode:down-level C-c e kotl-mode:exchange-cells C-c g kotl-mode:goto-cell C-c h kotl-mode:cell-help C-c k kotl-mode:kill-contents C-c l klink:create C-c m kotl-mode:move-after C-c p kotl-mode:add-parent C-c s kotl-mode:split-cell C-c t kotl-mode:transpose-cells C-c u kotl-mode:up-level I use: Editor: GNU Emacs 29.1 Hyperbole: 8.0.1pre Sys Type: x86_64-pc-linux-gnu OS Type: gnu/linux Window Sys: pgtk News Reader: Gnus v5.13 Install: git, 49588396bb scroll-down-command: Beginning of buffer--=20 Best regards, Martin Marshall From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 15 16:12:50 2023 Received: (at 67199) by debbugs.gnu.org; 15 Nov 2023 21:12:50 +0000 Received: from localhost ([127.0.0.1]:53975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3NBp-0004Sh-Uu for submit@debbugs.gnu.org; Wed, 15 Nov 2023 16:12:50 -0500 Received: from smtp.egensajt.se ([194.68.80.251]:48250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3NBm-0004SL-FV for 67199@debbugs.gnu.org; Wed, 15 Nov 2023 16:12:48 -0500 Received: from ethel (c80-217-132-174.bredband.tele2.se [80.217.132.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mats.lidell@lidells.se) by smtp.egensajt.se (Postfix) with ESMTPSA id 613D620DBC; Wed, 15 Nov 2023 22:12:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lidells.se; s=dkim; t=1700082759; bh=4eMMoDIw+NUeOYAZnQzEtIf1QYDZZabMudR/mzuQszI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=o415S0LzHNM2RfTIqpVC3D6mJkQ9mSrOPns4+BrfYw3LOyTFm0wsWINMHd8jjiAgg /kqkR/3IBuHmZet/BxiKUurWerKhdmc//5SrTBF6vSCQmfwaCddMsOsnJbm/nA+ehe 6UO7ez5pMEpn1dYD1GS4/Ij1F2pTnJOA5eT32TTI= From: Mats Lidell To: Martin Marshall Subject: Re: bug#67199: Koutliner breaks Emacs key binding conventions In-Reply-To: <87bkbvo8qn.fsf@vader.lan> (Martin Marshall's message of "Wed, 15 Nov 2023 01:01:36 -0500") References: <87bkbvo8qn.fsf@vader.lan> Date: Wed, 15 Nov 2023 22:12:39 +0100 Message-ID: <87y1ey90vs.fsf@lidells.se> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 67199 Cc: 67199@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Martin, Thanks for the report. > Martin Marshall writes: > Hello, I was trying out the Koutliner and found that it shadowed several > of my custom keybindings. I did a few searches of the mailing list > archives and didn't see mention of this. > > Appendix D.2 of the GNU Emacs Lisp Reference Manual provides: > > Don=E2=80=99t define C-c letter as a key in Lisp programs. Sequences > consisting of C-c and a letter (either upper or lower case; ASCII > or non-ASCII) are reserved for users; they are the only sequences > reserved for users, so do not block them. > > It looks like the following keybindings in `kotl-mode-map' go astray > from this convention. > > C-c a kotl-mode:add-child > C-c b kvspec:toggle-blank-lines > C-c c kotl-mode:copy-after > C-c d kotl-mode:down-level > C-c e kotl-mode:exchange-cells > C-c g kotl-mode:goto-cell > C-c h kotl-mode:cell-help > C-c k kotl-mode:kill-contents > C-c l klink:create > C-c m kotl-mode:move-after > C-c p kotl-mode:add-parent > C-c s kotl-mode:split-cell > C-c t kotl-mode:transpose-cells > C-c u kotl-mode:up-level > > I use: Editor: GNU Emacs 29.1 > Hyperbole: 8.0.1pre > Sys Type: x86_64-pc-linux-gnu > OS Type: gnu/linux > Window Sys: pgtk > News Reader: Gnus v5.13 > Install: git, 49588396bb > scroll-down-command: Beginning of buffer--=20 > > Best regards, > Martin Marshall I'm afraid this is a known issue that we have not set as a priority to fix yet. Possibly because kotl-mode defines a lot of bindings, bindings that has been there for a very long time. Plus we have not been able to come up with any good alternatives. Thanks for letting us know that you are negatively affected by the misuse of the bindings so we see this side of the coin too and can take that into account when prioritizing this. Yours --=20 %% Mats From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 15 19:29:13 2023 Received: (at 67199) by debbugs.gnu.org; 16 Nov 2023 00:29:13 +0000 Received: from localhost ([127.0.0.1]:54190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3QFt-0006Wi-Id for submit@debbugs.gnu.org; Wed, 15 Nov 2023 19:29:13 -0500 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]:54546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3QFp-0006WQ-1V for 67199@debbugs.gnu.org; Wed, 15 Nov 2023 19:29:12 -0500 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-5a7b91faf40so2414607b3.1 for <67199@debbugs.gnu.org>; Wed, 15 Nov 2023 16:29:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinmarshall-com.20230601.gappssmtp.com; s=20230601; t=1700094543; x=1700699343; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=4RoZf4WH772oqiKKCUc/mkbanUDUJ6U/YUa/4TrHaoo=; b=ZCNLD2CCOQoYCui6GfBYthY966hlzZa8vrNKW29WG/uGwNRBJ2Oy5epD/zeknJ6Snd Y9GoFTmmPWYRwQaABiy16yHGUkpCWPmNwn5rl6QxwBQWbAUu71amPRJw0SdqAFlJOKPy ppRMNJ1L9HHPcItefDGaWH0e/FMUDKioSZvRm2qL33r3emMVVc91JMkpDBxrhvX35q69 NtQD1e5HrHkY3Q+kfRzj4wYljHHqKMszj54aIBjVeoC2aQEUgCdjKcpKyiZnMdeGuohO lpB2UdbNP6XSnn0o5niJSMmBsMMstDKbpti8SWwZVQ89zBfb8GPcoSSVTsVtK1/nOwW0 tmZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700094543; x=1700699343; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4RoZf4WH772oqiKKCUc/mkbanUDUJ6U/YUa/4TrHaoo=; b=EoV31RVoJrBmqfPN4D62VfF82I3LnqP8xce1MrBELer1qZHNFFqxPa92M2hAIbcOKk 9ALuvCU5JH6jt1ejJY/QkSvC7S6Kks6m8pNbTEOlmN9csCdKT6S+2zcdCLMuicQ7ghq9 IlKl/yVvFGTuZJWo9iZAQCpxXgh4manet48xhoyhMCMOVHQUwG6grjziioUraW7Ewse1 XCRS/i8RSLVzeRNCPE4195+/Bnfy+A82tM5LQYTCmWvKBH6/IaAqqjGUjgil8iVX1faf EuNDGLvZRjHn8NLLzSHl8FkaLjDIgcahzDZM1iRd9mc8liy4UuDQn/mnhUDeu3vC3BzK T+MQ== X-Gm-Message-State: AOJu0Yxkqq9AXiOtF3V3EDW3oa36Md0at+Ndz0H2MQIGeXNLVM0Ju+zL 3El2Nq22+TOexrm99MGejcxi/7S3eApgXRMAGHQ8Zw== X-Google-Smtp-Source: AGHT+IEkD0HA2afEHMAgTO/FQOMFeSUmcbKe/60PrMRufPORtCTNDa3VwX3qcvAA3BMbmHoGIfBSPg== X-Received: by 2002:a0d:ca8e:0:b0:5be:9742:cc37 with SMTP id m136-20020a0dca8e000000b005be9742cc37mr14187474ywd.21.1700094543030; Wed, 15 Nov 2023 16:29:03 -0800 (PST) Received: from localhost (68-252-220-225.lightspeed.tukrga.sbcglobal.net. [68.252.220.225]) by smtp.gmail.com with ESMTPSA id v207-20020a8148d8000000b005a206896d62sm672665ywa.111.2023.11.15.16.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 16:29:02 -0800 (PST) From: Martin Marshall To: Mats Lidell Subject: Re: bug#67199: Koutliner breaks Emacs key binding conventions In-Reply-To: <87y1ey90vs.fsf@lidells.se> (Mats Lidell's message of "Wed, 15 Nov 2023 22:12:39 +0100") References: <87bkbvo8qn.fsf@vader.lan> <87y1ey90vs.fsf@lidells.se> Date: Wed, 15 Nov 2023 19:29:01 -0500 Message-ID: <87jzqimtgy.fsf@vader.lan> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67199 Cc: 67199@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Disposition: inline Hi Mats, thanks for the reply. > kotl-mode defines a lot of bindings, bindings that has been there > for a very long time. I suspected that might be a factor. Very understandable. In case anyone finds it helpful, I used the code below to create a "C-c C-x" prefix and move the bindings there. Being new to Koutliner, I don't know if that will be the best place for these bindings. But it works for now. (defvar-keymap my-kotl-extra-map "a" 'kotl-mode:add-child "b" 'kvspec:toggle-blank-lines "c" 'kotl-mode:copy-after "d" 'kotl-mode:down-level "e" 'kotl-mode:exchange-cells "g" 'kotl-mode:goto-cell "h" 'kotl-mode:cell-help "k" 'kotl-mode:kill-contents "l" 'klink:create "m" 'kotl-mode:move-after "p" 'kotl-mode:add-parent "s" 'kotl-mode:split-cell "t" 'kotl-mode:transpose-cells "u" 'kotl-mode:up-level "C-h" 'kotl-mode:hide-tree) (defvar kotl-mode-map) ; Keep Flymake happy. (advice-add 'kotl-mode:setup-keymap :after (lambda () (define-keymap :keymap kotl-mode-map "C-c a" nil "C-c b" nil "C-c c" nil "C-c d" nil "C-c e" nil "C-c g" nil "C-c h" nil "C-c k" nil "C-c l" nil "C-c m" nil "C-c p" nil "C-c s" nil "C-c t" nil "C-c u" nil "C-c C-h" nil "C-c C-x" my-kotl-extra-map))) -- Best regards, Martin Marshall --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 15 19:45:04 2023 Received: (at 67199) by debbugs.gnu.org; 16 Nov 2023 00:45:04 +0000 Received: from localhost ([127.0.0.1]:54203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3QVE-0006zk-5i for submit@debbugs.gnu.org; Wed, 15 Nov 2023 19:45:04 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:38980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3QV8-0006yj-D2 for 67199@debbugs.gnu.org; Wed, 15 Nov 2023 19:45:02 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-32f831087c6so73198f8f.0 for <67199@debbugs.gnu.org>; Wed, 15 Nov 2023 16:44:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700095493; x=1700700293; darn=debbugs.gnu.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=RLpWV8OIZJJjijueDSndfjt2KDRtNaW0r15T/YcQDu4=; b=ghO/nam9s7tZdN957AJUPx6kdMAJ0HQqM4P3d0AnhbK7aWT4kgQj8wbWspzD5xlN2F z78QvC146+BlWwEZPrkNgU60K40VRQbEJMBJeQRxQ/dKf9luH6LL9eg8FUe6NYXUmzHl myTDvA0O8xUmcwonwpjViDiO1F5Cx9Mbo7Ma5KvmIi1xSdWTEXHK1XiznqkWeIM+ejDu bpt3p6kw6WFnttuStgp/iAkBikagEnulNqydw+de8VBkBmvO1azBcv3BXOoxPap2HGvK o6ukU1SHMd87r8k852FelBqv45w1n3BNQajH7AQhtuh8q1Dgt3XuhhmJpu7TILSPkf4d PIaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700095493; x=1700700293; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RLpWV8OIZJJjijueDSndfjt2KDRtNaW0r15T/YcQDu4=; b=HS9k67XlMh/7O9E8ViL7gb7OczvMR/SIO11MQD2jUQWb9KIlpDphtWTuXNJk/pphJO 1114osAxPXyZM3qUFeK3VZoJAvIfgeDMGSbICbX0tjyBuljeiKwt7+VpgsTX0NAnhovQ xAL92Mobxo0M16Ulkds9lCs/O88k2kWgg1aRkSGX0NXeQKDQtYK1owTKz23wsU0ZCrpB CV3O+GzuPQVtTI3BzTPOi3J8SUSykAAk9+mfA0qX8FDKoi8MLq6w2O3WdvNeYm8M1Uol m/dQhB+fVpSOma6CRMelZn4+P3P58qy7jDJmauR8DeTawL42bUUQwrakYuZn1qSF+xCQ JN4g== X-Gm-Message-State: AOJu0YzvZwoKRhPVG6B7A3A39ogy+Bw1/lJyoOnkDMUNP5aYLzM+B+tV SnmFn0oJcvxk4K0Q3PEtHhk= X-Google-Smtp-Source: AGHT+IGdGTd7kWJanZ2osXwLHRp8l0iIk1nLgKvkk1dxMrHZxTZ1IX0UVZDtTSDoGBMeunpzScMANw== X-Received: by 2002:a05:600c:3b15:b0:409:72c6:8232 with SMTP id m21-20020a05600c3b1500b0040972c68232mr4916249wms.3.1700095492586; Wed, 15 Nov 2023 16:44:52 -0800 (PST) Received: from smtpclient.apple ([94.4.55.6]) by smtp.gmail.com with ESMTPSA id t6-20020a5d42c6000000b003313902cef5sm11877821wrr.93.2023.11.15.16.44.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Nov 2023 16:44:52 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Robert Weiner Mime-Version: 1.0 (1.0) Subject: Re: bug#67199: Koutliner breaks Emacs key binding conventions Date: Thu, 16 Nov 2023 00:44:40 +0000 Message-Id: <3E6525BC-7FDC-4962-8E0F-72A0FD8969D8@gmail.com> References: <87jzqimtgy.fsf@vader.lan> In-Reply-To: <87jzqimtgy.fsf@vader.lan> To: Martin Marshall X-Mailer: iPhone Mail (20H115) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67199 Cc: Mats Lidell , 67199@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nice solution, Martin. You can join the low traffic hyperbole-users mail li= st via instructions in the README or manual and let us know what uou like an= d don=E2=80=99t like about the Koutliner. Please use the pre-release availa= ble as a package at elpa-devel. =E2=80=94 rsw > On Nov 16, 2023, at 12:30 AM, Martin Marshall wro= te: >=20 > =EF=BB=BFHi Mats, thanks for the reply. >=20 >> kotl-mode defines a lot of bindings, bindings that has been there >> for a very long time. >=20 > I suspected that might be a factor. Very understandable. >=20 > In case anyone finds it helpful, I used the code below to create a > "C-c C-x" prefix and move the bindings there. Being new to Koutliner, > I don't know if that will be the best place for these bindings. But > it works for now. >=20 > (defvar-keymap my-kotl-extra-map > "a" 'kotl-mode:add-child > "b" 'kvspec:toggle-blank-lines > "c" 'kotl-mode:copy-after > "d" 'kotl-mode:down-level > "e" 'kotl-mode:exchange-cells > "g" 'kotl-mode:goto-cell > "h" 'kotl-mode:cell-help > "k" 'kotl-mode:kill-contents > "l" 'klink:create > "m" 'kotl-mode:move-after > "p" 'kotl-mode:add-parent > "s" 'kotl-mode:split-cell > "t" 'kotl-mode:transpose-cells > "u" 'kotl-mode:up-level > "C-h" 'kotl-mode:hide-tree) > (defvar kotl-mode-map) ; Keep Flymake happy. > (advice-add > 'kotl-mode:setup-keymap :after > (lambda () > (define-keymap > :keymap kotl-mode-map > "C-c a" nil > "C-c b" nil > "C-c c" nil > "C-c d" nil > "C-c e" nil > "C-c g" nil > "C-c h" nil > "C-c k" nil > "C-c l" nil > "C-c m" nil > "C-c p" nil > "C-c s" nil > "C-c t" nil > "C-c u" nil > "C-c C-h" nil > "C-c C-x" my-kotl-extra-map))) >=20 > --=20 > Best regards, > Martin Marshall > _______________________________________________ > Bug-hyperbole mailing list > Bug-hyperbole@gnu.org > https://lists.gnu.org/mailman/listinfo/bug-hyperbole