From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 WFILDnSTImW/hQAA9RJhRA:P1 (envelope-from ) for ; Sun, 08 Oct 2023 13:33:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WFILDnSTImW/hQAA9RJhRA (envelope-from ) for ; Sun, 08 Oct 2023 13:33:08 +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 8F56632716 for ; Sun, 8 Oct 2023 13:33:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=G3NxmKFd; 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=1696764787; 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=aEeBhEXDovXemiQT/Bq8I5EptTsIR3cbXNCWUSsF/sk=; b=uy6Jx19RtJ9Saq8zm3TxKF5N5N6tCVcWjyaKIdEWtgEbQdA3N5M/uPodPtj7jgHiwQ6p3R MA8lDis8IZrNjEC4ySU5Qfuuid+Wh3NoC760X5hsWqxXoeFsBH/nFno0Wjm48IEIirMIVe 9Op2rFQctMJiEWeBVVvb6yjtG3mAFiSG23ZJJQp1vbQ21f+cRBsh6paMGobU4bnyUf3myB yis9ZDCFIX7reKIyJVhdCMka0xtpQ6VRElb9zd3fRJWELZfNGaTBUsmdMaYEjyFbuIDtDb xBub1Cyyki2GVc6DsywBoRo8NaMw0gr9oRJvZ2YjDAoxDoufFWkAJdvLFRIy0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=G3NxmKFd; 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=1696764787; a=rsa-sha256; cv=none; b=oMfQeDb0HUeDXiwgfbDBFQpGTcwR0WmuaL4iOJ/JlLTLd6asW8UpCj2YeEf9uatHkEMY+t 0KHm6RILr6IWdjk2cSiEnmK45TGg3NIcYGD0Om03vOU+QFfmaKwqUaRi6hHkQzJmWJR8Mj 83C+yw0vHn0pCg5H+nLvm8muBYOukgPGtWxsJDf0OhsO018YWHzFm+uUdv3awm8zgpgcgm 2YPyaW8lVS7LsS+9wwr+r1Xv3bGBnNZUEv0QM8jAmz1WhATeT1Soz6/wi6WEMQF7gBkYCi 1wr/KG/+gNzL48xrhLqCWO5O8G7DMKURrMqyzOMV4KekzQdGg6Ix2+3BHdimzA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpS16-0006Wy-QN; Sun, 08 Oct 2023 07:32:12 -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 1qpS14-0006Wp-Cu for emacs-orgmode@gnu.org; Sun, 08 Oct 2023 07:32:10 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qpS12-0001sd-Jk for emacs-orgmode@gnu.org; Sun, 08 Oct 2023 07:32:10 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40684f53bfcso33161965e9.0 for ; Sun, 08 Oct 2023 04:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696764726; x=1697369526; darn=gnu.org; h=in-reply-to:content-language:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=aEeBhEXDovXemiQT/Bq8I5EptTsIR3cbXNCWUSsF/sk=; b=G3NxmKFd5wmZTraWrLONHlUOQQxy4FFgXriNVDz4kscnIIPljJuSjc0poYTz3mdQ/h i3XnGZ20IxoDvns+zlTRl7xU7kTSWm8wLhUjyRHSmylCcW2bIHedTJrskjdEk47uj5lJ ZUlkqr9TfDE313C2VETQOolisE51Tf1oGoAcjJ8/j4LBCbjmEdnzGnd0cDWcnDMPrx2f jjGKRIAbLC6RYK/N4tqeEXpvG8dgWswR5KIrbRsomziTQDtCTV2MdwqZrAXX2q0pFCUD 5ter/i3+sZtBqbiMsm1SH47jFYUIitUA39XHvpARVBQK38RIU5g1VWHzkQ3W6TBYG/rB Lqxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696764726; x=1697369526; h=in-reply-to:content-language:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=aEeBhEXDovXemiQT/Bq8I5EptTsIR3cbXNCWUSsF/sk=; b=GQH0KumhbqSmqiUsVIOhz8+zNkMjshDE1KObuJxz4VYpwuyRoFjMgfSVouJenslfqp bHmCTXpHxmSPJzaaf+dXtX3lSACq5/OuHZudpqLv17EYdWTBPBmIDn3q06zkudUpbpbI 7G1sNnKNOgKcLKWc3rhz2ClIRCxPZG2Hb2YjIkfl2S0mDZE05WCAwAkmldXKvTgy5jDa zfU4wP64WuYW07T6jV1juhtRWl73u3ww0DeQNTVfWlloCXjnm3DPWwyuxI2fLVUo+IGg g6SC+VmqCD1PWDRzjjgyy1YfNaDJE7qQ8KwjFpLJ7YQGHLtNCHFmeH0HwaX88GIxuiIF JnYg== X-Gm-Message-State: AOJu0YwXbUuJ7pjmIU7jZLlGbS/sGPDrFvBDok/h25/5GrD3AXlVcMBk xvLcybowf+TprUliDT8BEq7srL4d0D4= X-Google-Smtp-Source: AGHT+IFPbK17x/+nv4gHUk4GG72YgsHB05LNfOXnQgf/zuecL/FF3n8HPmIHjKiPvjzuCCflIvj2tA== X-Received: by 2002:a1c:4b12:0:b0:405:4a8c:d4f8 with SMTP id y18-20020a1c4b12000000b004054a8cd4f8mr11792510wma.30.1696764725717; Sun, 08 Oct 2023 04:32:05 -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 15-20020a05600c028f00b004065d67c3c9sm8383953wmk.8.2023.10.08.04.32.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Oct 2023 04:32:05 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------0dk1LsK50NFn7tQX0a0T5hXJ" Message-ID: Date: Sun, 8 Oct 2023 13:26:25 +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 To: Ihor Radchenko Cc: Org-mode References: <6afd51ff-0163-e43e-af2d-4b7129cc6734@gmail.com> <87fs2mznxd.fsf@localhost> <87y1gey3e2.fsf@localhost> <8ba636d2-7fd6-784c-75c7-128645343133@gmail.com> <87wmvxpj4t.fsf@localhost> From: Maske Content-Language: en-GB In-Reply-To: <87wmvxpj4t.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=maske1foro@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.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_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-1.818, 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: -6.51 X-Spam-Score: -6.51 X-Migadu-Queue-Id: 8F56632716 X-Migadu-Scanner: mx2.migadu.com X-TUID: 5fhvZ+rJ6fBU This is a multi-part message in MIME format. --------------0dk1LsK50NFn7tQX0a0T5hXJ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Ihor I overlooked the aspect of exporting. I propose links to arbitrary points in different files. Furthermore, I think it would be a very nice new feature, probably more opinions than mine should be heard. Thanks On 08/10/2023 11:18, Ihor Radchenko wrote: > Maske writes: > >>>> *[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? > If this was a question to me, I do not fully understand it. > >> 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 > I am a bit confused. > Do you propose footnotes to have definition in different file? Or do you > want a link to arbitrary point in different file? > > For footnotes, we will need to arrange export to search the definition > and include it into the exported file, while links have different set of > requirements. I propose --------------0dk1LsK50NFn7tQX0a0T5hXJ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi, Ihor

I overlooked the aspect of exporting.

I propose links to arbitrary points in different files.

Furthermore, I think it would be a very nice new feature, probably more opinions than mine should be heard.

Thanks

On 08/10/2023 11:18, Ihor Radchenko wrote:
Maske <maske1foro@gmail.com> writes:

*[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?
If this was a question to me, I do not fully understand it.

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
I am a bit confused.
Do you propose footnotes to have definition in different file? Or do you
want a link to arbitrary point in different file?

For footnotes, we will need to arrange export to search the definition
and include it into the exported file, while links have different set of
requirements.


I propose
--------------0dk1LsK50NFn7tQX0a0T5hXJ--