From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UVt2GC/SbWSYJgEASxT56A (envelope-from ) for ; Wed, 24 May 2023 11:00:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QP+kFi/SbWQqDQAAG6o9tA (envelope-from ) for ; Wed, 24 May 2023 11:00:31 +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 0AD5B1C908 for ; Wed, 24 May 2023 11:00:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1kL6-0003Fl-G2; Wed, 24 May 2023 04:59:24 -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 1q1kL5-0003Fa-AM for emacs-orgmode@gnu.org; Wed, 24 May 2023 04:59:23 -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 1q1kKp-0005Wu-NA for emacs-orgmode@gnu.org; Wed, 24 May 2023 04:59:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4F1FE240103 for ; Wed, 24 May 2023 10:59:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684918745; bh=bPyViMWvBVFqaFPQxGcMlv05gARrXakW/UHdBSYpt10=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=agSFb756Md/SVpYJ5CczxALqq/d66dhYZ0vkVZsXzI4OyKQiEiOdJV7+V/S5qH/Nh kd5G/ByOSy0smZsSLURrYXvqMFwOt0zt0gcA4TILwmhoq7HNNhWzeIrHN7W/1JXjXW Vb31EyEFl9sHGLZwSH9JO/rBscL7Hoh4k36RX7znjv7qCjXTqUqG6aYmU8kzzgNStD pwLWgycMSfY1QOEgpiBQGQqczRA8OZVCaQQ3AucMXDx8Gtn3gJvB+1ib50AjNXdDLt Kbu9ptAd/0nriWuS1FAq8XI9nz8Kpz3K1TYdaaIrze1IlG1l7XaOSd+B/OGAw/9gYV V5hjLVmQ/3fWw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QR4qX54Rgz6twn; Wed, 24 May 2023 10:59:04 +0200 (CEST) From: Ihor Radchenko To: Payas Relekar Cc: Andrea Lazzarini , emacs-orgmode@gnu.org Subject: Re: [FR] Enhancing footnote managment (via indirect buffer)? In-Reply-To: <87zg5vmhv8.fsf@gmail.com> References: <87zg5vmhv8.fsf@gmail.com> Date: Wed, 24 May 2023 09:03:11 +0000 Message-ID: <874jo2ksog.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=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=1684918831; a=rsa-sha256; cv=none; b=kkew7GKGlBj+gt/zAkiGkhp3lsiVGSfAI7e29UxgqTmUFRBKedkLD3+JhT0f3sKPDszFPe 15k8FMW3K/GEm0eJoKOv/lQJvt2ZVTXwE6paVbkguMYClMXnQm4w+qED8Uk8Cb+5JjxT3q KXjEwlgPCkW+AgSpAIEaEQaUbj6FvLCMGB6LxgdK1cf3U0lL3ezNCfQo6HK4KrLgjSOjYV kWHFC+ZYXC3sk9cMBi+N5HrNCOTsda1Awqm9TJh64Yla8ZnRCop2ATZH4c47yFQE/56MFr 4/yY1G+1JDfXwgHLtfTCZQqlh9PpM5TNzBA3BcgrSM0iw+v6eYBlspxdwNsJgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=agSFb756; 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=1684918831; 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=0keW3PylE0C7v2EaUcCnCSAJ68EejnYgrrp5nX7ppYQ=; b=qXeup2X+TPQF45UgP1nr+N96UMRwUOYejZ0Ds4axj71BF0YhCiVqT06HTH8FxyQi556gqm 0pdoGTAUyQS1R+/krkDrOEgbQEAMXxbz2lRaIz+4ktg2jCgpN5a5dlya2bBOLKgA6OgRGu 2vagUzWwheorA7cBhH0XhuMUqqw20swfgVb8zim122g3V/4cmBA7OXi/Zq27HKi+Uf1jDH 8j7ZUyZBMUO2smonCWK6nbRZC5YXcoPOtHeb7usXXLCJngyXwox1mY47ek+Xh+h5XMN0zE WBwl6yrYZJFbWcInbJZyCg4X8swECAbATwBSXHUF6ieJjtsWhFFW8UszjpfqxQ== X-Migadu-Spam-Score: -5.17 X-Spam-Score: -5.17 X-Migadu-Queue-Id: 0AD5B1C908 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=agSFb756; 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-TUID: mhOTuhXmo+c4 Payas Relekar writes: > I've been playing with org-footnote-assistance, and this is again just > another opinion, but I'm also preferring the indirect buffer. It just > puts things in better perspective. I'd prefer to integrate things with `org-edit-special', if possible. Possibly extending `org-edit-special' functionality. The pros for `org-edit-special' are that we can escape certain edge cases. In particular, there is a known edge case when footnote definition contains an src block with 2+ blank lines. The blank lines are treated as the end of the footnote definition and src block is not recognized. Also, `org-edit-footnote-reference' takes care about removing common indentation. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at