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 IquVMoLM52PlVgAAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 18:12: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 mp11.migadu.com with LMTPS id +IwXMYLM52O+UgEA9RJhRA (envelope-from ) for ; Sat, 11 Feb 2023 18:12: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 719B539F90 for ; Sat, 11 Feb 2023 18:12:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQtQ9-0003pY-Fc; Sat, 11 Feb 2023 12:12:19 -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 1pQtQ4-0003nH-ML for emacs-orgmode@gnu.org; Sat, 11 Feb 2023 12:12:12 -0500 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQtQ1-00048O-T8 for emacs-orgmode@gnu.org; Sat, 11 Feb 2023 12:12:12 -0500 Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id B4A88C0EC6; Sat, 11 Feb 2023 18:12:02 +0100 (CET) Received: from zmtaauth04.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPS id AACEF1C001B; Sat, 11 Feb 2023 18:12:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 9A0D11C010A; Sat, 11 Feb 2023 18:12:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr 9A0D11C010A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1676135522; bh=dbIi3Y7gbKA6UanoYlBkah8wJ9HO0pKSWdGUfbP9rDs=; h=MIME-Version:Message-ID:Date:From:To; b=QoHSZjN8TZSlr4kO+3eJ9ihYDqXBRZaQ/LbJbZnkU5FIDtf64dFX+Kyv+Ldl5QFKW HBPhLtUPnjHN4yH6TIDb4Q2Bc3Cv0yQ3joqcycn6fOJJyIh8s9yhTxcDgwSvuvNY89 ML3RTaANCEPKl72KhxK3yvc6Kl9HedP4Zx6+i0oLmwRHXO7/E+sDNDbwDun22RqHXd 7YaQqSRGPucHzzvMhvaG407Y4vaxhkk7/40vqXFLdrOxAyZTt8lT1w48Y37+6wrDa2 vH66vVlbUNqe8Znzh9YLnzyJeoLAnjmLo5TPaKcAOi/Y0V5hCEhdluDqRzW6V2SNDv +CoPtKRfv18Tw== Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HpFcTMz1S7qp; Sat, 11 Feb 2023 18:12:02 +0100 (CET) Received: from 90.33.255.163 (unknown [194.254.241.251]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id 43BD11C001B; Sat, 11 Feb 2023 18:12:02 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25575.52322.757469.405610@gargle.gargle.HOWL> Date: Sat, 11 Feb 2023 18:12:02 +0100 From: Alain.Cochard@unistra.fr To: Ihor Radchenko Cc: alain.cochard@unistra.fr, emacs-orgmode Subject: Re: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: problem understanding doc) In-Reply-To: <87bkm1etd9.fsf@localhost> References: <25573.3996.714544.156631@gargle.gargle.HOWL> <87bkm1etd9.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 clamav01 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedrudehjedgleejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdehudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedupdhhvghlohepledtrdeffedrvdehhedrudeifedpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepfedprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdhrtghpthhtoheprghlrghinhdrtghotghhrghrugesuhhnihhsthhrrgdrfhhrpdhrtghpthhtohephigrnhhtrghrledvsehpohhsthgvohdrnhgvth Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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=-1.148, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: , 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=QoHSZjN8; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676135554; a=rsa-sha256; cv=none; b=ueAFWUDO26IUmcN55OLtRxnB6yH+xwNFxRtGcd0fdDpRN/ifKBgg3g1SxdVB1KeFgEuPlT fCbhowSXOyEwJ42HclE4SWw0SOuel8/H7rRQkCSdWmAN5Mgi+0uuknP6j+Sp56D6VGhDGl G3dl1P4Y99JdHabnJWuq0hWujhumJutiXD80Kk08WOBU51X9wngrtdCdJ6s0ZEdmHCl0KM tu4Kmm4y2/0qKyHzEZTte2O0G6WD3dGvdrGfU5qCLNDeV/bMfyFDB9ebEJ5Atu45hM5SSr uoeOqrprzGLQqAcX6Z0z0oX1hEf6GBPIR4sjPG3ous2Rt0T/isvbnkj+K1WopQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676135554; 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=dbIi3Y7gbKA6UanoYlBkah8wJ9HO0pKSWdGUfbP9rDs=; b=WYknALzOqPATeRZAs5AqmH4ksPi+tEB1WAOOpaw9QLnK5UqOWQ3gh6mympN5bt2zotaQyB wtpRWOesnalVEnEdh6lQ11pQrHcWlerdUQC/vaef+45z0YAggnn+M1PVijXPXARtprTdd3 j1B5WDYYlfgWqCOPtCCKn1/gDPOHOTFrC4u5jBAKUK12WTjam2NSxvF+aF/TjJlOHzFhgh ZbJC+0YCv/m4GtcZeagdWBraOdsDy7QRi/jAdu+Z2jiIn/BBU6KRtK5Zr+iOdkaPRCBCpX 4p5p9KnjG4EqQQl+JcHr9bYDyrMZLjbmIlaACPm11qLOZP7GYhKjYKN6OSxLxw== X-Migadu-Queue-Id: 719B539F90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=QoHSZjN8; 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=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.61 X-Spam-Score: -7.61 X-TUID: OKZGVsVhtmbN Ihor Radchenko writes on Fri 10 Feb 2023 09:56: > Only a handful of interactive commands support invisible edit > checks. In particular: self-insert-command (typing), deleting char > forward/backward, and `org-meta-return'. >=20 > I guess we may instead provide a defcustom and hook the check into > `pre-command-hook'. Would it be of interest=3F Thank you for the feedback. Let me add that the issue I raised was not at all a theoretical/abstract one for me. I constantly use 'undo' to see where in the buffer I was working (then, I insert a space, do 'undo undo', and can resume what I was doing). So obviously it would be of a huge interest for me if org-catch-invisible-edits worked in that case... At any rate, shouldn't "2.2.3 Catching invisible edits" be a little bit more specific about what kind of invisible edits are concerned=3F Or perhaps just a warning that it is not all of them. > > PS: a very minor incidental point: after 'bar' has disappeared, th= e > > headline is then void, so I tend to say that the ellipsis should > > immediately disappear as well. >=20 > The headline still contains newlines. Right. 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 ]