From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kDPvH50+1WOATwEAbAwnHQ (envelope-from ) for ; Sat, 28 Jan 2023 16:26:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cA/oH50+1WOZnwAA9RJhRA (envelope-from ) for ; Sat, 28 Jan 2023 16:26:21 +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 31AF83D5FE for ; Sat, 28 Jan 2023 16:26:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLn52-0008W9-UM; Sat, 28 Jan 2023 10:25:24 -0500 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 1pLn4z-0008Vc-Od for emacs-orgmode@gnu.org; Sat, 28 Jan 2023 10:25:22 -0500 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLn4x-00050h-2N for emacs-orgmode@gnu.org; Sat, 28 Jan 2023 10:25:21 -0500 Received: by mail-pf1-x431.google.com with SMTP id z1so2108791pfg.12 for ; Sat, 28 Jan 2023 07:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=Udzyeplu+uSOiBGLyBSt3OahIOc0BpYKTgXFhOrfwxc=; b=mkdfZkFxd1N3RGHLL8LBATWNcGnQY03Mf+73UYb/vf6CnediedxN2WsoksF//RPvQA V6fybPofSbK0Tzwv/qe3OkEoh1VnMRUkj+KgfHJ/neMx6LNAZ/dAAM7TWgqaAxS6jGQM ONEYMKhdh8x/ylTekHIEsMVjBUdMMGZoX0XyJsyHj+dtPPnpzznRIp5U3VoLC4Elz8E8 FeDnLeTyIvetc9xLVyX5m8aBdcgKa+Cn+/iAYLkfwf0FEOFNLyQgV1fdxNG5V9ftrTt8 H/Mo4J/Ip24Q5SNzb3JznBPx4cz514VhpI1uWflyig9QaLg2JYenPSsVFK4k9N0If9vf ZS/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Udzyeplu+uSOiBGLyBSt3OahIOc0BpYKTgXFhOrfwxc=; b=tv2Vmul86z3BWfS1qQ82rWfl/a8x9OR4/qIXTftwiceZoAwP6QzoPtg/YmvDibtfVp 89j6TBY/z1HWF3iGkR9750B9uf3NQf9+ZFj/tT1EC67uH4DxgYZvz57y5AhyTNDU4QoR 2qHVc02Jo08Lyri1S4AQ5+0mwRqKOn8Mq2a376x6QfTxtVaLNIvVbBwz1mZ6i9L/UKHW TXMcSD8i/6oM+wTJhP6aczb90NeFtuurTACFAgnRslHfzGOSA60qAcqvNV7I/NuVjws+ 5Px4hAs9NPTne/r+blTnprZrUmoPf9FEBveWfUee2vzCGAHRu+vRbI59txeN4HknOSoZ vdFw== X-Gm-Message-State: AO0yUKWFQuyjwHZJ2E6+IPZ7UYdn8qtB1Tf9x5/Wq4CCtft3cxxNTzOZ 6GkYC2B6iQed3le/IPfObBI= X-Google-Smtp-Source: AK7set/5FqHEKQF3X5KdnFaxy382H5viF6P92su0vraHrYw3OTlS60WBWSm4sFjtPTLLhLPhAFsDDw== X-Received: by 2002:a05:6a00:4c9c:b0:592:5d3e:63d5 with SMTP id eb28-20020a056a004c9c00b005925d3e63d5mr7862335pfb.5.1674919517417; Sat, 28 Jan 2023 07:25:17 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id q22-20020aa79836000000b00575caf80d08sm4474531pfl.31.2023.01.28.07.25.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Jan 2023 07:25:16 -0800 (PST) Message-ID: Date: Sat, 28 Jan 2023 22:25:11 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Internal links to lines in different org files Content-Language: en-US To: kevin lucas , emacs-orgmode@gnu.org References: From: Max Nikulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=manikulin@gmail.com; helo=mail-pf1-x431.google.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 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, NICE_REPLY_A=-1.148, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674919581; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Udzyeplu+uSOiBGLyBSt3OahIOc0BpYKTgXFhOrfwxc=; b=eG74h09xPcLYPMFSo/LRxoPYesDkiraDMtphPgpj8aMaMNIocjn5eUFjDRYq6dZfiA4kjy dZZL/c/BncjzcxEVqWOpnSfrtIUPcLRpXpmPIC38PIyyXcYdTG1RucINBnosTP6Op/Vxu+ Y5QxXNGgUfx9Tyy9SwJUFNEnLILbE1tyR+8z6qreDeMcO0GUg7RFyqHMLet8hzOFU66hwU +ufgPmfSOzgfmoWcYUUF80EmqoCjETxHoZ5fyhxAjcsxgrOnXMfQjAySu9hHfC4jnR3nk1 DweM+K2f4yp1B0ddhIjH4GvhYdw1eZ3Yq0xmXPAt1x7c1hXDzqknXmk2JMyq1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mkdfZkFx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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=1674919581; a=rsa-sha256; cv=none; b=h8ORTeS/vA3ZAu//6R7YaRCU2BcEtvl+/vQ0dA7ai/897CPbqsRZZpLpaRCF0IrXxY+y+1 nujRa8TnYSyy+kUilEAbo0NsK3xwcCK2jFQpiwZVP4VMtj3Vv54IRk93saigU5jK2mNj6F 4HzgxiYrv0cMaLTHdjkFcz6pBmzz5APk5le3rIT79foCbc+wf5Hf8kplqZMfv32+Si+dRg BiOuu9ZYnejgwKaA+t+JITf327b4nce63p/0JnDD3sS8dGaYLdxQ7/2TuvKHHtbnIfoX9Z YkZNL3XcHI/P+mYFgiCuS8ng+bum1iszcrs4JGIYDjdKoEDZ2P8soagEkFK0LA== X-Spam-Score: 7.63 X-Migadu-Spam-Score: 7.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mkdfZkFx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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" X-Migadu-Queue-Id: 31AF83D5FE X-Migadu-Scanner: scn1.migadu.com X-TUID: iePeDYdgJs99 On 28/01/2023 19:35, kevin lucas wrote: > from a different org file write a link like [[foo::my_code][Some code]] > and have it refer back to the exact line in the first file. Usually links in org start with "type:" prefix. I can not say it for sure, but your link looks like a fuzzy link (search in the same file). I recommend you to run M-x org-link RET for a report on possible issues with your file. > 2. If this behavior isn’t in org mode, could it be added? First of all, have a look into (info "(org) Search Options") https://orgmode.org/manual/Search-Options.html Notice "file:" type of the links. > 3. Connected to this: if I export an org file containing an ordinary > link to another node to PDF, the PDF compiles and I get a dead link in > the file. If one tries to export org files with these double colon links > there's an error message `Unable to resolve ID "foo::myname"`. Is there > a way to generate the PDF just like in the first case? Export may be affected by some bugs. Try to open PDF file in a browser to inspect what is the target of the exported link.