From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EIX2BW+vzGRdbwEASxT56A (envelope-from ) for ; Fri, 04 Aug 2023 09:57:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EBveBW+vzGQiCgEAauVa8A (envelope-from ) for ; Fri, 04 Aug 2023 09:57:35 +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 6FAC347E81 for ; Fri, 4 Aug 2023 09:57:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hF9H0cLe; 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=1691135855; a=rsa-sha256; cv=none; b=Y2Y2T2LEtKAfgjUBh0TQ9+dKvimBgOC6Zn+GlNPmXAEhmLOdNmAGM90fCS1qU/OmW41Pl2 uXimLqHj/7WDFF1v+vTMsA++4951nCsLPEzCHiPz7Q2E3t0JStoqgnP4d/VWI+hrlOqosp n2U6CIAjYgoe3fZ1vj47etzt81BBSpe9HGAsqm66PUPvFisq/XqXcwfoRRWqIZCNxAXDpG 48AqiiSllK2B2hF+KbeTQ2panejYTKehvZJ/1LNJRf0XKAQNNaBzyU9XhY3qSkD4X8z49C i/1dTtQ5OemcMjZvk/TV/vCeqrqNXQV/O5yu9AytQ/jLvZb+JR/iFSTXu51/PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691135855; 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=R1n7iWWRKUsC/KXwfBX67iC1661mq7TAsTp4oxfNr+A=; b=I3uPCGS5SrzWuivzDzhoQ34Dw6a3YD39Pb+ezo6TiKrKZgwVdC+VyMBr7cdwAdKr2od0ek dM9IyiXwZbFdmGmfcx0w0wkpo4OYDuGP5cNtjKqJ08WoRqhfxfmo2tbTBr/myoCucanc09 xOesv5dASZ9Xn8bh93Ajc5bGaZcYDVlmOggKgtNgQN9SfcbuLTnYRD0FfYb6QFiCnE3+vW wm/+3pGtYag2iD6u0ehx7ejExFtuuARqdQmlbXX3NKk+SkE2ioDBcNTzagWCpn21zj3QvZ EruFO6vvoLBAXuIU6bV03soja1GZAKOz2dPPLZxmfp6uKeYB3iZNZli8a4+rjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hF9H0cLe; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRpgB-0006uA-TS; Fri, 04 Aug 2023 03:56:59 -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 1qRpgA-0006u1-9k for emacs-orgmode@gnu.org; Fri, 04 Aug 2023 03:56:58 -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 1qRpg7-0006jI-TP for emacs-orgmode@gnu.org; Fri, 04 Aug 2023 03:56:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AFC64240101 for ; Fri, 4 Aug 2023 09:56:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691135812; bh=0XqV8OgIxbFO2iZvlIb2avxgMlKzhMb98ciWn6BANcI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=hF9H0cLelLFK0hr3EnKc63PrpgBV3XbLqQHXORpRAoGo8JbWhgFiDP+28ohMC9d9M UieVG9SxudS8uyC3bz3iBzZOBDe8t7KJuw5WvNr/ny8jzjcr8IJtQry6rzYZCo8yPM vyfQwx+NeRdoiqksnroGe124Nfi/Zz+ed3IneBssNjqvWnZjx3NoGyrJyUsizdEUqb UJHWhOqa77U99XElDGfF5mgZbthoUzeIcfqAK0bxvQ43jfGQVrWWD0zkRw9t//7Lbb 5VHY2ANhcxXw2d/WGdtWZr4N6B8JLIR1oOn+gzyR6GpwfVLjzisKrYwcK0bCAKGWvb 8y/ZA+Icd91bw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RHJ2W6Dmzz9rxG; Fri, 4 Aug 2023 09:56:51 +0200 (CEST) From: Ihor Radchenko To: Aaron Zeng Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Bad interaction between org-add-log-setup and org-with-remote-undo [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] In-Reply-To: <29065f4d-de2c-4790-8b68-c4f47bf0dcfe@app.fastmail.com> References: <29065f4d-de2c-4790-8b68-c4f47bf0dcfe@app.fastmail.com> Date: Fri, 04 Aug 2023 07:57:12 +0000 Message-ID: <87y1irkzon.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_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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.44 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 6FAC347E81 X-Spam-Score: -5.44 X-TUID: VI2ix+3WfVUn "Aaron Zeng" writes: > I wonder if org-add-log-setup should be removed and refactored away, > or if org-with-remote-undo should not be creating an undo boundary > (which sounds redundant with the automatic ones created by the command > loop?). `org-add-log-setup' is indeed causing a lot of problems because of how it is implemented. You have found yet another one. I think that we need to rewrite logging code to use recursive editing instead of 'post-command-hook. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at