From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 YGCIAh5gIWXeyQAAG6o9tA:P1 (envelope-from ) for ; Sat, 07 Oct 2023 15:41:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YGCIAh5gIWXeyQAAG6o9tA (envelope-from ) for ; Sat, 07 Oct 2023 15:41:50 +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 B7D5654761 for ; Sat, 7 Oct 2023 15:41:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MUBiXWCg; 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=1696686109; 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=ICFbP9aHF+cOPoiQx/UpN3skpaET5ugN9wVb3QR6o3Q=; b=HqfYxspu6SR0Sm6qOF6+xIwBzc7kWCXcXN9MeW7XzH2JOeViesTX3PHHjLGk6U4VArDtCE 0BEWfVzBISs0YK2LSdTFFejL5LhRud5k0wr3pvRM09p7kJPj2EBKZ2KL6sg1jg/nKMPiFt PfKUlt8H5AsTQkjsA6bOlFEcXK3XHsCvRfwu/WnBuLQ4ZtxvcYZtnOYFbHWSc1sGzofp2f 7pyfDpqf3n6K9NJgbOZfetfcrgYAU+g9zfMGlkkCu3qLDDAo6d4wX1pAfkBCPsDbhKZQG0 dvKc14VN+wAMKRDhohJjKoLk5HzN1nvXIQzMvct8L3Q1BSiucTRiyaVMeooUpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MUBiXWCg; 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-Seal: i=1; s=key1; d=yhetil.org; t=1696686109; a=rsa-sha256; cv=none; b=GQZL4D9d3VS5OhxqTHy0Dx5ukSwdcgqLsIReV5YmKDrjES+psLHVpn1Ilk5hisXPgk1x0a Scbqcoud+PkbHauq2iM6Mid6kpkINIZkpF2q8NDlF0T56ihPDYdnsXtY4qUChoLotFZuly 4n0LqtjRfiyl7kNZcqr+I2bpjtZQzhHUXIlGW7eKifMRp1V2umP07acTwW9GubbL1meAkP LM4nLgaD1CjV4muVxM6AsXirzn0YRwO1QD+skNOgAo2dt/IjAv1O7hxR6juB0qyF/eC8bv JnpqjrC0+9cCiMd0qavB9uQYj70ClTc2gTY6wNxo5/7yG+bgPHi/nKMmYJGqGA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qp7Y8-000148-TN; Sat, 07 Oct 2023 09:40:56 -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 1qp7Y7-00013v-6f for emacs-orgmode@gnu.org; Sat, 07 Oct 2023 09:40:55 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qp7Y4-0001c2-QA for emacs-orgmode@gnu.org; Sat, 07 Oct 2023 09:40:54 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3231d67aff2so3031019f8f.0 for ; Sat, 07 Oct 2023 06:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696686051; x=1697290851; darn=gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ICFbP9aHF+cOPoiQx/UpN3skpaET5ugN9wVb3QR6o3Q=; b=MUBiXWCgcEN3939rGEfFFKBRAIZdrryo/yPb82feMpg7WGn2QHh84AZK/vIge5VrQQ LUK5WL+Uq1a47A2y7XnoNoDIZ1D7Jk9H70RZmSTnWLiDJCE0XztdyZLWN/UwbhXLD5dr R5+5itJSUv9Xzjz6HXIHLZt/ZWv2AZuvXIUrvJ2C+HhDTr/9t/59jFCHx38KgClYGzQ/ AxwwA5m25d0uVKG2XvI0FLVpi+54Xs6NyLd2cU4Oi1HB5cRNsjlaOY6fQXFBUHlVd06S irWc1iP4oca2gNplNKu9eEyjZqaCwkqopgoNMAbYk1S1jYMIeIb/+bkf0UvzONs0lsps 6BEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696686051; x=1697290851; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ICFbP9aHF+cOPoiQx/UpN3skpaET5ugN9wVb3QR6o3Q=; b=ZvMZVGaKQtaEG7mMxupMU5LNXUCyG/FXEAjuN6BabkT4xGLkYcuqA5+mN4SWr1zpgZ Sab0tHt8u14McjUpdCzDh7qMnapWUze/YTZhPrLze67WBUkFj/tYRDFTJULBCBXMJTbf fDSsaxf1PUEP4d5rDsRIrnNXfl4NiX8pnInkeUOc+91nruyppl0nC1utLgKirDMk6FCK IH0NWBOnjXnaDUyISuckhba4zQtocZUPt8cnoBgEMKfmJ9Dd5XPmyuaVRBmaY/srhcQg q1OldD5jufRTE19md7BYgWCqNhEn2Lm4S7STzLhrcDiVyxW+MwToJqe3vIIXtXpUCWze xZng== X-Gm-Message-State: AOJu0Yx+Rd797h5DmF4FzckAsoGb2qrOINLy6PUaXMvcdjH3nAjDxt3c ffO3GpSV3PauUBo5tZhlghY= X-Google-Smtp-Source: AGHT+IEdyXV4BaVffmcyQG613SZQaBSdiJAmcaM8h1NBPc1v2zpI9IRP3T5yuk+Lgv32bW6/6bk8zQ== X-Received: by 2002:adf:f74f:0:b0:317:6639:852d with SMTP id z15-20020adff74f000000b003176639852dmr10446865wrp.43.1696686050398; Sat, 07 Oct 2023 06:40:50 -0700 (PDT) Received: from [192.168.0.97] (static-126-72-224-77.ipcom.comunitel.net. [77.224.72.126]) by smtp.gmail.com with ESMTPSA id l9-20020a1c7909000000b00401b242e2e6sm8456312wme.47.2023.10.07.06.40.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Oct 2023 06:40:49 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------1qBkgg587Jcd3X324GDRPwc4" Message-ID: <8ba636d2-7fd6-784c-75c7-128645343133@gmail.com> Date: Sat, 7 Oct 2023 15:35:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [FR] A more general case than footnotes Content-Language: en-GB To: Ihor Radchenko Cc: Org-mode References: <6afd51ff-0163-e43e-af2d-4b7129cc6734@gmail.com> <87fs2mznxd.fsf@localhost> <87y1gey3e2.fsf@localhost> From: Maske In-Reply-To: <87y1gey3e2.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=maske1foro@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.644, RCVD_IN_DNSWL_NONE=-0.0001, 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: , 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: -8.50 X-Spam-Score: -8.50 X-Migadu-Queue-Id: B7D5654761 X-Migadu-Scanner: mx2.migadu.com X-TUID: oIK4qJXBsKBC This is a multi-part message in MIME format. --------------1qBkgg587Jcd3X324GDRPwc4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 07/10/2023 15:21, Ihor Radchenko wrote: > Maske writes: > >> The headings could be in different files, yes. >> >> AFAIK, citations don't link two exact points. Footnotes do. > Do you mean that you also want to jump back-and-forth between footnote > definition in the another file and its footnote references? Right: With C-c. And maybe there could work directly commands like "org-footnote-action", being unneeded to create new commands like "org-note-action" with almost the same functionality. > >> I don't understand the option of "include", but I think it wouldn't be >> the case. > Seehttps://orgmode.org/manual/Include-Files.html Thanks, I save it. > >> I really think footnotes would be a particular case of this option. >> >> ** Reference in file A >> :PROPERTIES: >> :ID:       978-84-362-7195-9 >> :END: >> >> ... >> A “comment line” starts with a hash character (#) >> *[n:102@978-84-362-7195-9]* and either a whitespace character or the >> immediate end of the line. >> ... >> >> >> ** Notes in file B >> >> *[n:102@978-84-362-7195-9]* The hash character is important in orgmode. > May you explain the purpose of @978-84-... part? > You seem to assume that a footnote always has a single reference, > which may or may not be the case in practice. If there would be more than one reference, a behavior like that of footnotes would be appropriate? The purpose of the @978-84-... part: @978-84-362-7195-9 would work like the ID for internal links: [[id:978-84-362-7195-9]]. That would allow jumping to the correct heading from any file. I am not a programmer, so the syntax I am sure could be more solid. Example: ** Reference in file A :PROPERTIES: :ID:       978-84-362-7195-9 :END: ... A “comment line” starts with a hash character (#) [n:102@978-84-362-7195-9] and either a whitespace character or the immediate end of the line. ... ** Notes in file B [[id:978-84-362-7195-9]]: Link to heading in file A [n:102@978-84-362-7195-9]: Link to an exact point in file A. Where the point is defined by the LABEL 102, and the file can be find thanks to the ID 978-84-362-7195-9 --------------1qBkgg587Jcd3X324GDRPwc4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 07/10/2023 15:21, Ihor Radchenko wrote:
Maske <maske1foro@gmail.com> writes:

The headings could be in different files, yes.

AFAIK, citations don't link two exact points. Footnotes do.
Do you mean that you also want to jump back-and-forth between footnote
definition in the another file and its footnote references?


Right: With C-c.

And maybe there could work directly commands like "org-footnote-action", being unneeded to create new commands like "org-note-action" with almost the same functionality.



I don't understand the option of "include", but I think it wouldn't be 
the case.
See https://orgmode.org/manual/Include-Files.html
Thanks, I save it.

I really think footnotes would be a particular case of this option.

** Reference in file A
:PROPERTIES:
:ID:       978-84-362-7195-9
:END:

...
A “comment line” starts with a hash character (#)
*[n:102@978-84-362-7195-9]* and either a whitespace character or the
immediate end of the line.
...


** Notes in file B

*[n:102@978-84-362-7195-9]* The hash character is important in orgmode.
May you explain the purpose of @978-84-... part?
You seem to assume that a footnote always has a single reference,
which may or may not be the case in practice.

If there would be more than one reference, a behavior like that of footnotes would be appropriate?
The purpose of the @978-84-... part:
@978-84-362-7195-9 would work like the ID for internal links: [[id:978-84-362-7195-9]]. That would allow jumping to the correct heading from any file. 
I am not a programmer, so the syntax I am sure could be more solid.  Example:


** Reference in file A
:PROPERTIES:
:ID:       978-84-362-7195-9
:END:
...
A “comment line” starts with a hash character (#) [n:102@978-84-362-7195-9] and either a whitespace character or the immediate end of the line.
...


** Notes in file B
[[id:978-84-362-7195-9]]: Link to heading in file A

[n:102@978-84-362-7195-9]: Link to an exact point in file A. Where the point is defined by the LABEL 102, and the file can be find thanks to the ID 978-84-362-7195-9
--------------1qBkgg587Jcd3X324GDRPwc4--