From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 oHN9GVvmQWVQAgAA9RJhRA:P1 (envelope-from ) for ; Wed, 01 Nov 2023 06:47:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oHN9GVvmQWVQAgAA9RJhRA (envelope-from ) for ; Wed, 01 Nov 2023 06:47:07 +0100 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 A93AB5A4C3 for ; Wed, 1 Nov 2023 06:47:06 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=red-bean.com header.s=202005newsp header.b=GUd4A2n5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=red-bean.com (policy=none); 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=1698817627; a=rsa-sha256; cv=none; b=XiyXQyas6p1UravWuGoFtnRqKdGfMIv90rPbhPYrlRRMQ628EwHmIyLg5J86y79/uFy0ED nGy0+ykGByp26jYUhdbCUBa/ZskHctwbWZ4IbHrnixz7B49lGfCXg/Fzmz8oonJvmVynwA dRi8CMUUqmMygm7xyILPXnLa9hTlESXwiuv6ULB619PKWJJcWwbDYRYigQodp22nHHwjS2 IEpnUQABNlaRF8TlQzlKpMwuipa2bKXSBSiImhZ1tQan5Q6gchTLqYT2TakSUCm7Og2Fvv yAsfXhZyI0zanXW3kQ3d5ABlvkyZk9yAX6WME7gdo/Fvv0j1n5/SJ1qTklos+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=red-bean.com header.s=202005newsp header.b=GUd4A2n5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=red-bean.com (policy=none); 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=1698817627; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=xFpFyNbFWvB3PKkng5bEa053/4ihDApUqhwVmF1bn4c=; b=EcbD2+zit8+AhkUfuzwPF6QsKy9SwUoW0778joJ285MUveDncLaRCwvTA14676Mi7CPBmE MWC/PmLvsX8uuy/Eci1MIvRHYL10J9fAYz1Bfs6jCa7SoMWi11b367TL6BGgJMOMWf9D5Q 6vZr6c4BVEb6ygHbJoaoYIS2y9SrhMsuOxSS7ght+wUhUemZOaC+z70hM6wjnXzfUdfE7K IjKS66LQrGIfKKRuRwFkaICGj6Zk/RpmWHzDG6UW6V6iZBeqg0wNF8YEviP1fHOvR4x2If 7ZzWcW1dunq4K+TXr+HE6x3h4QGhkZ33GpMJs+wzKcgilpDlpSgjaa4dDeyORA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qy43T-0000SM-Q4; Wed, 01 Nov 2023 01:46:15 -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 1qy43S-0000S6-FR for emacs-orgmode@gnu.org; Wed, 01 Nov 2023 01:46:14 -0400 Received: from sanpietro.red-bean.com ([45.79.25.59]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qy43P-0005KP-BX for emacs-orgmode@gnu.org; Wed, 01 Nov 2023 01:46:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=red-bean.com; s=202005newsp; h=Content-Type:MIME-Version:Message-ID:Date: Reply-To:In-reply-to:References:Subject:To:From:Sender:Cc: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xFpFyNbFWvB3PKkng5bEa053/4ihDApUqhwVmF1bn4c=; t=1698817568; x=1700027168; b=GUd4A2n5xybgSHnHtuuPpu9lQSLUgF+cVqWw0DfS57XdH+3aeBtKDgfwyZ04bF1mO+WZUqshNEM BCkD1AQQj0dywckRPJ+v6SrTMhtAAknMzIy2uT8fA3TJ40LQP6CcDhuAH7aZ/dq9924vP+l0r9hIv Za6kliuaohVgwkziyMit94qpJZU0igapxGqrefDDzAnfKpvMf5/HyCGxT5NJSbI0D1p+LFI3ei0jk Q3ZjYPNlhuDwtUfhiZol6kHOiTO0zfnD0J5bFlNFLBfEO41S/XO67F8U+2761SbK0DYcWswkE7FBF nH47VFuAyzssQLUdG0Ejj8inyV08sQjpoMvA==; Received: from 99-112-125-163.lightspeed.cicril.sbcglobal.net ([99.112.125.163]:39516 helo=floss) by sanpietro.red-bean.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qy43K-00EnoP-Md for emacs-orgmode@gnu.org; Wed, 01 Nov 2023 05:46:06 +0000 From: Karl Fogel To: Org Mode Subject: Re: [FR] A more general case than footnotes References: <6afd51ff-0163-e43e-af2d-4b7129cc6734@gmail.com> <87fs2mznxd.fsf@localhost> <87y1gey3e2.fsf@localhost> <8ba636d2-7fd6-784c-75c7-128645343133@gmail.com> <87wmvxpj4t.fsf@localhost> <87bkd8m41s.fsf@localhost> In-reply-to: <87bkd8m41s.fsf@localhost> Date: Wed, 01 Nov 2023 00:46:05 -0500 Message-ID: <877cn2auw2.fsf@red-bean.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=45.79.25.59; envelope-from=kfogel@red-bean.com; helo=sanpietro.red-bean.com 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_HELO_PASS=-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: , Reply-To: Karl Fogel 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-Queue-Id: A93AB5A4C3 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.01 X-Spam-Score: -2.01 X-TUID: 3q7iJyWzDRt7 Ihor Radchenko writes: >Maske writes: > >> 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. > >See: >- >https://list.orgmode.org/orgmode/118435e8-0b20-46fd-af6a-88de8e19fac6@app.fastmail.com/ >- >https://list.orgmode.org/orgmode/CAJniy+OVD0NCWZZTPit5T7wvsbLbgLLXZmPub5tgq3gsHsGhYw@mail.gmail.com/ >- >https://list.orgmode.org/orgmode/CAJcAo8s=cjNY-7-mA1zQk3R9HEWYreTatdVeHfJ39ccM9=kMog@mail.gmail.com/ > >The idea is not new, but we need someone to implement it one way >or another. At my company, I implemented something that (I think) does what Maske and those earlier threads are getting at: https://code.librehq.com/ots/ots-tools/-/blob/main/emacs-tools/oref.el We often use it with Org Mode files, but it's not specific to Org Mode -- it works with any plaintext format. In fact, our most common use case is cross-referencing from precise locations in LaTeX files to precise locations in Org Mode files. A couple of days ago I happened to post [1] on the Emacs Humanities list about a updated version of oref.el. Maske noticed that post, and referred me to this thread here. My original announcement post from a year ago [2] is a good place to get a quick overview of how oref.el works. At the time I wrote oref.el, I didn't know about org-id.el. But it wouldn't be too hard to make oref.el automagically compatible with Org ":ID:" properties. I.e., `oref-do-ref' would jump to them, copy them, etc, in just the same way it currently does with native oref references. And the oref ref files cache would just become the union of `oref-ref-files-cache' and `org-id-files'. While I'll hand-wave a bit on the details right now, I think there is a natural compatibility available. If people are interested in this extension of oref.el, let me know. Best regards, -Karl [1] https://lists.gnu.org/archive/html/emacs-humanities/2023-10/msg00001.html [2] https://lists.gnu.org/archive/html/emacs-humanities/2022-10/msg00009.html