From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EBW7C0d3cGSFHQAASxT56A (envelope-from ) for ; Fri, 26 May 2023 11:09:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id APnTCkd3cGTzYgEAG6o9tA (envelope-from ) for ; Fri, 26 May 2023 11:09:27 +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 CB1053593D for ; Fri, 26 May 2023 11:09:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2TR3-0002tH-I8; Fri, 26 May 2023 05:08:33 -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 1q2TR1-0002t3-8I for emacs-orgmode@gnu.org; Fri, 26 May 2023 05:08:32 -0400 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2TQz-0000fD-B6 for emacs-orgmode@gnu.org; Fri, 26 May 2023 05:08:31 -0400 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-96f7377c86aso79863966b.1 for ; Fri, 26 May 2023 02:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685092107; x=1687684107; h=message-id:to:cc:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=kWOFgKsSvrOHwWJGtxaysyPs433q8YS9GiU1x+1LZto=; b=Fv2MxUJLJ5ob79f2p+DVunIV7Y1mILa0A7qDRn0TbgVpLh71wI1h3itcujAvIf48od vApN4RXkEfaEMoR8iRLMhLpoWyC4Pty+ZfcEyAG7NfHSIkHsyTPpnOyTAIOUsh9Cun5K Y3Qy8I/G2DXUADBMuVau41FCngeQcizYin1T9IUPjq+xje10GAvH49r9xg4slHvppJF0 yvMjjJRHqGuRD4AoI2512Wij+TZnAHtOFfRklapwio5XjcgG5AJ6fznrsukiMxHJwzpS JoYAiJBv5WvuJen42nSTZWwQ/0UtXm+isMIvCHp703Z1P3ttzIWkL1aHRh6SGmURchkn W9nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685092107; x=1687684107; h=message-id:to:cc:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kWOFgKsSvrOHwWJGtxaysyPs433q8YS9GiU1x+1LZto=; b=FQ2ZunNRaYMg6xuUqjcB9XNpaMFLHElyKLoUObZaQsjdHNr9NWFQloxaaHy8zFdlP/ uQnlaKylKZyyDdV8OU4djMas0N7Yr5HZtDsTwIw6ypSEnlAsF5R6VhVAZfK227Rj2WW6 AHVJb9yUZEgHTZQaLzC4ptJANqArfxRkwjfIS9NEwL2qZwAm3K0clUs1PRWIl0Pl2qNn 0XHsMiRymhwbdsK75axLzKmtAC8QvhihWRtR/okBBcp1oUSGnFcGWKisR4TTygMxYNxY FGfcCIlUJCFExz9OKku+hKYNi4sqp8Ps0ry3tkHKWV3w/iAk5HTmo+nVlXlmGs5cZ3Cj lXIw== X-Gm-Message-State: AC+VfDysWgNVurJG6vCXHfzSOEQ8ht6f4XIWho/j8Ly9seyjK3puBzmh d/j5OBexeB/SQKrA4gbpLNE= X-Google-Smtp-Source: ACHHUZ7ga5Pd9m+J8anIVMEdnRt4TSvyp5IRPzs3+w6jPMVfvTISLq0+39kMTxk9BUHpllmOTDp3KQ== X-Received: by 2002:a17:907:1ca2:b0:973:ae80:a145 with SMTP id nb34-20020a1709071ca200b00973ae80a145mr1369219ejc.43.1685092106827; Fri, 26 May 2023 02:08:26 -0700 (PDT) Received: from smtpclient.apple ([130.251.217.119]) by smtp.gmail.com with ESMTPSA id w24-20020a17090649d800b009666523d52dsm1888181ejv.156.2023.05.26.02.08.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 May 2023 02:08:26 -0700 (PDT) From: Andrea Lazzarini Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Fwd: [FR] Enhancing footnote managment (via indirect buffer)? Date: Fri, 26 May 2023 11:08:25 +0200 References: <990C578F-176B-4166-868C-0BC59759CC19@gmail.com> Cc: emacs-orgmode@gnu.org To: Ihor Radchenko Message-Id: X-Mailer: Apple Mail (2.3696.100.31) Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=andrea.lazzarini1@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685092166; a=rsa-sha256; cv=none; b=ZE30qxiNsBKwK5/IRqft3JcuBTBDLzEwuPdnmmEtiEDGP+yivyefPnrQIzGv5WuFqBlkho JwVQhSCr1gPiKjT87+p0M51BvxdR2y/ZwcI0v5ZsLDpsuhUzzqYLDQYtERNhyJW1lcraND FBgwl+p1t/RQNdUB4Hl2sigTvM9LWNQZP//gT4ILVb8CmAnMmHqlLPf48S6rjKsfH05bdt b4/Itr1bYWKxVcrMVRsYt0px2fILlCKcgWrBXP6lc7ar9H3dHfjIbtDpSCfeEzii/iWfgR 4ggcW9OvM2+0NiKhn6B0v7iPNanUkL9e3cnmjBBu5O4VzmOZZCQAzbLCl2J4Jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Fv2MxUJL; dmarc=pass (policy=none) header.from=gmail.com; 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=1685092166; 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: content-transfer-encoding:content-transfer-encoding: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kWOFgKsSvrOHwWJGtxaysyPs433q8YS9GiU1x+1LZto=; b=PDkgzT7IJk+nnZcRlmhDrDmesV/PIhxZAuT1tQ3WkCoYT5nksbdvjRLdfCtS+CJYuaS9FV j5XKsgVcgxbDmyhnxUoasPuI1DwuysULsiHfLOqUwjNl5Bl3Z7hQFo29RXcl1HgSfOOEqg Ta6j1frK0G7AV9uZctp5C6lzlgFh0OYSyb+8zdcbhk/U+TirPjdkxtFY+NyYZ0AFxiuJNT BL64nO++oMH+UZoiNxfVlINIpNtSTY3wc7Se7z72tGMk282RqKfDPK36PihtuQjDsJ2PUb S6hmIzi8rDZQ2qk+A4fxb6swTClykqOzgeFLGHMQenvnAH15vqUfDMhzzdV01A== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Fv2MxUJL; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -4.83 X-Spam-Score: -4.83 X-Migadu-Queue-Id: CB1053593D X-TUID: zVCyRN9ckIwC Il giorno 24 mag 2023, alle ore 11:03, Ihor Radchenko = ha scritto: >=20 > Payas Relekar writes: >=20 >> 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. >=20 > I'd prefer to integrate things with `org-edit-special', if possible. > Possibly extending `org-edit-special' functionality. >=20 > 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. >=20 I've tried to use org-edit-special with a src block with 2+ blank lines = and the second #+end_src is not seen as part of the footnote. Is this the edge problem you were addressing? I get the same result with = the indirect buffer. I'll try to implement at least footnote previewing functionalities with = eldoc! > --=20 > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at