From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GPbzFujW5mYU6QAA62LTzQ:P1 (envelope-from ) for ; Sun, 15 Sep 2024 12:45:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GPbzFujW5mYU6QAA62LTzQ (envelope-from ) for ; Sun, 15 Sep 2024 14:45:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=sBo2zZoo; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726404328; 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=TY65YKN49ERe4gHQFIwYPTp+GT6AmOw2O4MrAtOfjDc=; b=YmfwMxT+uzxl5PNUnw8o967Z7hK5oVFELj9yTBfeYY4IQfk5ze1PwTb/uH+qIgVxOj/AaL jzW1mpt1Amcl7vRyylgVB22XvVW34Sm70qceFyNbHKN/sHChC90dq1x72DNPrPzz89neVS 27n3jpejzJAzkDee4l40BW1XPy9f7yi4GCDyitBFs3H4fyXeOFxFFzqtYcutrsNLG5Grxq P+vpvnNwV27Kh5zb8bq13R+rmju9Fq+HkO1oy47BZd8KHCeS4TzH3VhoAOzX1hmD7LHYAv yn/4Hzn+hSVmIZV7mcLvAJQVF2kcI9NV693/9s1Rvv4ZWEoYCpCD0KrQngFiLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=sBo2zZoo; 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=1726404328; a=rsa-sha256; cv=none; b=qim854q6K/CJRmosGTsIGX0kov3+0GRMTvkoC1HOWZtqjCqEMruXXstO/tQi4waYVOc00/ CKkuv/AtjPmiGnMaMraR+CUtJhzBsDtcS5UKVKOPIn/TFQNrZWNofS/JqQOkWpiWWbg2s0 rQlVvBtmU5GnzednD4v2+jo11o6NP043I0HoFe3yl6uuv092+8uxDD956ZPFyuAYiKMvBX w08CpdQ30mIRRx5GZcvv+2FYRNMlmaqN3V+9Bn+BaeEwNUptQHYMtQmW3D76S8JSWmmfiR sjqadfyahUTq6QcXytQI8TLLmcNprNA+kLyq/SEosKK7tAc0ywyELatylYxSsQ== 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 3DDD17D94E for ; Sun, 15 Sep 2024 14:45:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spocU-0003k0-5Q; Sun, 15 Sep 2024 08:44:50 -0400 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 1spocS-0003jq-7F for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:44:48 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spocP-0002Dy-Mm for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:44:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B4948240103 for ; Sun, 15 Sep 2024 14:44:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726404282; bh=AP57+RfSAssgnDjDoqwk/uWJbULdKXaix5/zV8yNbwI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=sBo2zZooHQE0Vmz3Zp2smYtspr+3IEwcZZtj7SwsHg10K94O+9h6n2oud4K3u5dxV CrBjD1pfhOhNYnHjJmDBdYc3cZu97Fxou8mV7RLDHedjIM1+lrMYXCErTFcYm4WCuc VnN60JEsmo32XOfY/ipozBWSOYpIBVmZyExYayakFSrZL5fj+GHX6jXVJs6CdUXBGm x9uARkL1e4MzjQQQLaAErie8gn4yH4GicN+ABOW8M26TXsRcMdHXJ+dPcHYvsdhCUu /F720OSKlOzncBi8z6jpqs9wzNunFunmXtfd7UKE0gMnW8C6twJ/eIcFgVZmyczaIG KhEHNqitgtGNQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X676L1DT2z9rxD; Sun, 15 Sep 2024 14:44:42 +0200 (CEST) From: Ihor Radchenko To: Dan Drake Cc: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= , emacs-orgmode@gnu.org Subject: Re: org-cut-subtree should respect org-ctrl-k-protect-subtree In-Reply-To: References: <87y14bpcps.fsf@localhost> Date: Sun, 15 Sep 2024 12:46:16 +0000 Message-ID: <87msk93x0n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 3DDD17D94E X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -9.73 X-Migadu-Spam-Score: -9.73 X-TUID: jAfxlewnSYnF Dan Drake writes: > "AFAIU, what you are struggling with is that you sometimes press "k" by > accident, without aiming to cut the subtree. Is my understanding correct?" > > Yes, that's correct. Sometimes I'd use the speed key accidentally and > cut the subtree. Then, what about introducing something similar to `org-agenda-archive-default-with-confirmation' - `org-cut-subtree-with-confirmation' that will query user? Then, you can bind it to "k" in `org-speed-commands' if it is what you prefer. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at