From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 WIpCJhKi62PnLAAAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 16:00:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aO04JhKi62NnWAEAauVa8A (envelope-from ) for ; Tue, 14 Feb 2023 16:00:34 +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 2C3AC1FD1A for ; Tue, 14 Feb 2023 16:00:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRwmY-0003IJ-O8; Tue, 14 Feb 2023 09:59:46 -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 1pRwmW-0003Hy-FG for emacs-orgmode@gnu.org; Tue, 14 Feb 2023 09:59:44 -0500 Received: from smtpout01-ext2.partage.renater.fr ([194.254.240.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRwmU-00081y-BE for emacs-orgmode@gnu.org; Tue, 14 Feb 2023 09:59:43 -0500 Received: from zmtaauth01.partage.renater.fr (zmtaauth01.partage.renater.fr [194.254.240.25]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 8A94063B82; Tue, 14 Feb 2023 15:59:34 +0100 (CET) Received: from zmtaauth01.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPS id 8067D1400CB; Tue, 14 Feb 2023 15:59:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTP id 6BE3E140172; Tue, 14 Feb 2023 15:59:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth01.partage.renater.fr 6BE3E140172 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1676386774; bh=2qOCdTrDpoDD/GtJ3cq964IlQzUAmKGg8pg+ZjeE1T4=; h=MIME-Version:Message-ID:Date:From:To; b=x/iZqBUH4QHjjw4ikttq2LjdFOXuprlmPrvRZiiVXndNc4YIdi1MIZMykcFJXL4x4 bCcuPhy0lmnsl/GJwejdS2jJXEJKYlFjN4bW5JiJ1/eLDDbJs7ECnTn1EQGV6bJKQ4 3nBWP0qTXHRaZz6/9gUs6UWymH4VTVMOmLYFrGn5qKx58mbHoXwg20hPAvFb1b7DXO w8G/ToIskzXZJo8PDGLKGk564+KTBfOqxL43VkthfP2XnUUqFp+5J4odFKhnAK1NBT YzPYG9KFLyVm6K2sIxUBYK4/oyKKx+6W8/hHy77GR6116K1/Ab4GmYKnvz5944eSc9 NxoU93eb+uSzQ== Received: from zmtaauth01.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth01.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BzNyvuylsmfe; Tue, 14 Feb 2023 15:59:34 +0100 (CET) Received: from 90.33.255.163 (unknown [194.254.241.250]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPA id 199F21400CB; Tue, 14 Feb 2023 15:59:34 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25579.41430.280368.917278@gargle.gargle.HOWL> Date: Tue, 14 Feb 2023 15:59:34 +0100 From: Alain.Cochard@unistra.fr To: Ihor Radchenko Cc: alain.cochard@unistra.fr, emacs-orgmode Subject: Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: problem understanding doc)) In-Reply-To: <87wn4mgb5k.fsf@localhost> References: <25573.3996.714544.156631@gargle.gargle.HOWL> <87bkm1etd9.fsf@localhost> <25575.52322.757469.405610@gargle.gargle.HOWL> <87a61kukn1.fsf@localhost> <25576.34807.805766.160813@gargle.gargle.HOWL> <87wn4mgb5k.fsf@localhost> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav04 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeifedgieefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghlohepledtrdeffedrvdehhedrudeifedpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepfedprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdhrtghpthhtoheprghlrghinhdrtghotghhrghrugesuhhnihhsthhrrgdrfhhrpdhrtghpthhtohephigrnhhtrghrledvsehpohhsthgvohdrnhgvth Received-SPF: pass client-ip=194.254.240.33; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout01-ext2.partage.renater.fr X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 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, NICE_REPLY_A=-0.35, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_MSPIKE_H2=-0.001, 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: , Reply-To: alain.cochard@unistra.fr 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=1676386834; a=rsa-sha256; cv=none; b=IUjud/lLzbXwunNuQhhOVRm2NQ93lWJ6VcNCAI/4srQfSKKQWmmfPftdwnGqmK6E5Rradr cm5Mnz9P2TOBnXpUfbkSrkpprLXFTe5wQiwFwKumR7UqKyWjBXBNnKfrUgoC93cvSZg1aX gvxOYkC4a7JKl0zTYzvqOEZb4zTAvU/aW8QhttXfC+FL67cAQmbDWLdr0CygPDKw7wmfu9 eyC7VOyGL45hgwd02qUe69Cs8V181XsQKLQBeBDaFFH8mBy5VO8chOat/ahu3a6XpMBiWN CyqHZO6ivBc9ZqOcMKKdhUVdROQhsMyJLdu7iUYonqFYWeNdssbweOZmNRU5rA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b="x/iZqBUH"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676386834; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2qOCdTrDpoDD/GtJ3cq964IlQzUAmKGg8pg+ZjeE1T4=; b=SuMkMx2Br6HtTlWx50m1Ntj73z3PnU+RdzD3miNy8UE8pdeV2bfVdS3q2N6udLJDyHIHen Dfoj5PQc3UnTqx7C3IDr+Uk9OAY9IqZZcrbQjg+g63ZDuz+ddQ4RIcRa9lgNJL8madLeQc oK8aZ6i2LdcseZP82ULUc9fV5aB36W6whBwYqt/PirrQsMg3+XtfQExtq0MoBxZuQaESp8 MZnse7sGSiBDRGxzRx9RerktLXaDyXAfwimTx98AuewXNHrnrXV2JvaifPySRX/NTV1MKK NQP7mAFSdmlKPYSztNn/Xb9E14GFoI5oXmpRXxfMmylIhbIc2czAzUwLPv859A== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b="x/iZqBUH"; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.43 X-Spam-Score: -5.43 X-Migadu-Queue-Id: 2C3AC1FD1A X-TUID: OmPXPmqtakH6 Ihor Radchenko writes on Sun 12 Feb 2023 15:23: > [...] I want to implement more generic feature. > See the attached patch. This sounds very promising. I find the doc and the two relevant docstrings clear. However, I could not have it work for my case so far. I tried to add "(undo . insert)", "(undo . delete-backward)" and "(undo . delete)" to 'org-fold-catch-invisible-edits-commands', one by one and together, and all values of 'org-fold-catch-invisible-edits'. Any clue of what I am doing wrong=3F Thanks. --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]