From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4DijKi4J42WXPwEA62LTzQ:P1 (envelope-from ) for ; Sat, 02 Mar 2024 12:10:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4DijKi4J42WXPwEA62LTzQ (envelope-from ) for ; Sat, 02 Mar 2024 12:10:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AFCWQvRq; 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=1709377838; 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=D8T2hv7KBg59kEAtlnTcs2GyVFBpvumjyhzYBSXkUfU=; b=BBiICULiwgFLUo/iKM60MTbK2xy0RuhX+dX5KO8KxKK8AAmX9gtQM8GzcsY6DbumKoN1aH f5JUHgllWdAhKmCVjvl1SI91wtW2DwEKQHIdl6vTaEHE83ru+v5LrBecoBVqfg1ztLhaJz f2SooeT4yB1TsPFp7vhGK9vi3R7vXs5XNdKXUE6Mfnf/q5TjGDXKt69fPf5ssbwwBmAYeQ SVWx1a6CDFqCNUMFH9xkvd3J88M9QL1tN2b3ACR/kVJjtMNtSimzMS2zmMwhARIOCOxt6t zstwdfe3aHDsNtGYTntv3nmiT6GE9Kp3jsm3GjZqbL75xmwcHMMGKU9aS0kv3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AFCWQvRq; 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=1709377838; a=rsa-sha256; cv=none; b=mjSiXw0x4LIqyarvF9v5TNYbDgoDp5c0hMAuzxM8adS9vFe5Of+9LNylGcsBCDKI00IKAf sONKFubfqNq+tYNaLU/oMevAbC/u99zJb1Ck5O1NLh/gifTqCv7mFM6BooW5u6uWZBbZJI PaKSRpUgHSMv6bnRyuf8RxLts8EFtgCmjiNbAsi/d003CN+T6gebhpnXMiwRzyRLXG9E52 tblvYGjJ5jAUa5uIUmE13HUJtbMWrUGtDgLQRh5H6MUMAG1UD9SEFe8s7h7vxQOjMzHn5Q ngwUaGpVP6DORM7NDOijErO88/uVdpk1lRuDE3w9RQt31WwdIq3xgy9KF2+2CA== 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 7D2472627A for ; Sat, 2 Mar 2024 12:10:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgNFU-0003Ej-Qd; Sat, 02 Mar 2024 06:09:48 -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 1rgNFT-0003ER-6Z for emacs-orgmode@gnu.org; Sat, 02 Mar 2024 06:09:47 -0500 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 1rgNFQ-0008Iq-JH for emacs-orgmode@gnu.org; Sat, 02 Mar 2024 06:09:46 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5DE58240104 for ; Sat, 2 Mar 2024 12:09:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709377780; bh=+wfewuHJYeh35qJ1VTGe+rz+idKFGMjWjUtmP/zNArc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=AFCWQvRqRm5QCkMSXLt9RkW6otHjvfulkfcIJAdZf6TD1xNp2dzyWT4E6FP1XJHud i3vgS7pWYywf6g8pSCiHMYkUwczUME6WVzthJWejKHIN6hyYkjjRRO2L3IVBauEx46 uPiWm2PBz7x5Dh7Uq2fmTNzu/xnLnBmsLTlcFSUDW9uUFh/YK29glk/j53PRrAzjAV pL8mR2o7zF9z5Hg6vQOX9nCX4TFFZYoi3XEBlLeWoy+4mp+0TUOhy0zRn37ra0bP/B d+9w9SN1+I9E1MhxduB/x1rUR7NfSfsnFaQmOyDl/qEEiujingBNAGPHo0nFv/7nls 3dVO9ditHgIMg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tn2Kb4hdbz6tvx; Sat, 2 Mar 2024 12:09:39 +0100 (CET) From: Ihor Radchenko To: Bruno Barbier Cc: emacs-orgmode , Jack Kamm , Matt Subject: Re: Pending contents in org documents (Re: Asynchronous blocks for everything (was Re: ...)) In-Reply-To: <65e30609.050a0220.89c06.1798@mx.google.com> References: <87o7d0mm54.fsf@localhost> <65bbb108.050a0220.b60fd.6790@mx.google.com> <87jznm8hcu.fsf@gmail.com> <875xz42rp9.fsf@localhost> <874jen8zec.fsf@gmail.com> <87o7cv9e80.fsf@localhost> <65c2875f.050a0220.caf6d.8291@mx.google.com> <18dae5cab1d.bf1c7563863897.4896289306902277373@excalamus.com> <65cfa0d8.050a0220.cb569.ce34@mx.google.com> <18dbe11968a.12c0800a31425096.5114791462107560324@excalamus.com> <65df0895.df0a0220.a68c8.0966@mx.google.com> <87edct0x2w.fsf@localhost> <65e30609.050a0220.89c06.1798@mx.google.com> Date: Sat, 02 Mar 2024 11:13:41 +0000 Message-ID: <87a5ng7uoq.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_H4=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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.05 X-Spam-Score: -6.05 X-Migadu-Queue-Id: 7D2472627A X-TUID: AB8/jNxcEVzS Bruno Barbier writes: >> Overlays are not transferred when a new indirect buffer is created (for >> example, by org-capture, or by user). So, it will be (1) impossible to >> see pending overlays in indirect buffers; (2) user edits of pending text >> from indirect buffer will not be prevented. > > If I understand correctly, you would prefer a solution that relies on > text properties ? (I didn't leak the overlay details in the API, so, it > should not be too hard to switch to text properties, except for possible > conflicts with other existing properties). Yes, I think. Might also try to mirror overlays, but that's problematic in practice. However, you cannot use 'before-string/'after-string for overlays. > What about markers ? Are they OK ? Markers always point to a specific buffer. However, for indirect buffers, the text and text properties are shared. So, editing in one buffer will be automatically reflected in all the clones. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at