From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id lx+HDZrMkmTBIQAASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 12:10:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KKraDJrMkmTNWwAA9RJhRA (envelope-from ) for ; Wed, 21 Jun 2023 12:10:34 +0200 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 A9F3135ED3 for ; Wed, 21 Jun 2023 12:10:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBumY-00058g-VC; Wed, 21 Jun 2023 06:09:47 -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 1qBumU-00058X-Uz for emacs-orgmode@gnu.org; Wed, 21 Jun 2023 06:09:43 -0400 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 1qBumS-0006MK-SH for emacs-orgmode@gnu.org; Wed, 21 Jun 2023 06:09:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D2B64240027 for ; Wed, 21 Jun 2023 12:09:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687342176; bh=1UmRLY4m0lRvXmggnj7tfn3dSosyHXxy3eyw2/7+k08=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=OeysM7o+jwSWfsaVj5sJNyouBxws3spRDShsucqeUX+EGyDa9Gtik/KV34bS3MABu eAuENcvkiUrZMiixwc+R4RgCngXHZiMl72iL+ySqMKMlOd1qkN9//9bOVivpcJ+aCj TY51Q4SY4/Ewqf8gjli7zoDAmE5Ne2Qh70lX9BkrtcIgH5Ir2SAp7sNjl8EdJbVSkv f3KM71LEhD1RHRcIkd8I5UMdyqYH/XaD0lew5dgmjrzQB4MqWZ/ETVhuWdM/uYOX/6 ycp68/sGhluIyOLAeQETCYl2em7e1vLhpcv/WgeQdKHUzS+xE87ZKB8o7D7wp7Lfoz 4ZlORC6RDauNA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QmK401Hr2z6tvJ; Wed, 21 Jun 2023 12:09:36 +0200 (CEST) From: Ihor Radchenko To: Okamsn Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] `org-delete-char` and `org-delete-backward-char` don't respect `delete-active-region` In-Reply-To: References: Date: Wed, 21 Jun 2023 10:14:27 +0000 Message-ID: <87y1kdf7gc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Seal: i=1; s=key1; d=yhetil.org; t=1687342234; a=rsa-sha256; cv=none; b=Pwl7Qooft4b70hlxcSdidkg/+OnkP5I10cCDPTHhGAs3i7NoMlVe1POC80jX81wqpu7UOC szFh0KXWggGaUxArQkWK4PCSBeFyIOyK/XWSHywPwl9FayNK65X128Z3xW/qORD6AnSqX1 Jeg7HEiHF6WC0UfavvajGWDNfSZT48E/u0Q9fYZuG13KRlGgYOZ2mWuNaohCbMUXKUCsb3 nHbMTlSJCLe6R6/67xDqVcNggpSBrbXnZDXq68eKayz6164aiBhrPIpeCRYUmfL4gItMRt 4RbteswMezIsbc/w4enucNy7vJkwNCIyzVg/gI4HqB/3mXfCMl4WieedfG/+xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OeysM7o+; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687342234; 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=wLILRe7bVXwwoVoLKHZG0tl3JOBQvL4+HWCzmMBDvwM=; b=HxfO611plb6xGUBDXa8o+znABGJfVsQUUxbZfE6ZXRQn4b6rO66gZThyfiuC455cE2Q7MR /VJepfR29p/HmsPlj7CnRZNFM8MJq8BITz4dALF8Nf4C3Xiaru7JmCCC+gv8gw1CVu/uQX j3KyRifQnkcc1w2dmDDbENmm+wC7dRA3kv3czNXPUS1U4zNUh0ThT1apPATWIWURZlKCap WiK2nK2Hbf77Sn9jCEVKv4zUbm+OTEXgwPvb/1tf9S1iFECRs96rBoJSf8XuN+3LvhNI/8 +RKoHljefcUeDrqqrTVaRBTuiTq2OAfjqKpBd/msXp6e77BwUAQ95btfAAv67Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OeysM7o+; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.21 X-Spam-Score: -6.21 X-Migadu-Queue-Id: A9F3135ED3 X-TUID: Qv6grZG0vGI6 Okamsn writes: > `org-delete-char` and `org-delete-backward-char` don't respect > `delete-active-region` Clarification first. `org-delete-char' and `org-delete-backward-char' are not supposed to respect `delete-active-region'. They are the replacements for `delete-char' and `delete-backward-char' that also do not respect it. Org only re-binds `delete-char' and `delete-backward-char'. > This works when `delete` is bound to `forward-delete-char` and > `backspace` is bound to `backward-delete-char-untabify`, because both > commands respect `delete-active-region`. > > This does not work with `org-delete-backward-char` or `org-delete-char`, > because those commands use `delete-char`, which does not respect > `delete-active-region`. May you please explain what exactly you did? Or meow did? Did it bind the Org functions inappropriately? Or are you asking to add new Org commands that respect `delete-active-region'? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at