From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EPp5Ibft9mUl2gAAqHPOHw:P1 (envelope-from ) for ; Sun, 17 Mar 2024 14:18:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EPp5Ibft9mUl2gAAqHPOHw (envelope-from ) for ; Sun, 17 Mar 2024 14:18:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ShUD0MSR; dmarc=pass (policy=none) header.from=posteo.net; 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=1710681527; a=rsa-sha256; cv=none; b=roN6qhaPbWTACrE0ibjzlI9otKQZTV8VOiCkqsHu8T6yojZ+/thI25a8A4hjKRpV3FlWLV HHRUmRvmXoDHagqObABvix0Z0kOH/jr2reNTf3pnG/laF0p2wV46peibgrCKY9QHokx+Nr P6AacoEmEu0sobu8SON019zTcLO+BsBQ8kK++2QFf5N6L7IOYRPGqKzDCkgwwq6o2zXLHx 7UM/JT23aWD0oy9iK3uMbBGt7ykJVFJpBn0yX/XMkwZjei8t7qAVaq7nZ25pGiK7MrF9Pf qRlBr6V697KhG4N5PHX24faSp8OyJ9DO3u/cv0Xj7zn7j6fAsmEOQJQ9JDmlGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ShUD0MSR; dmarc=pass (policy=none) header.from=posteo.net; 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=1710681527; 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=wSc2TdijsLfx5gBQ2ds5XAHGZCxd2jfJcKZSh9SKOrw=; b=jshlt6hPq3/HyP/xKM2hZUr421IC9mAEFoWpu4t8Fjn02dYNsV84WasoraiRyRcObAaDlb hml1thqpqRyM9ETEIM977GKHySSfekkEneNKjh/6xEfjEdN+7xSRcHIFy4A+HcTTYUHJ4K m3YfWsA2HiNVQfsaOuMW5mmDVH/CTHdXcaD8sxUREQ7/8uZGwajgL6G0RZUistxDD4wDba cE5/MM6GsBVxU4/4lJr2sXzpfnNgJsSLtf0Jp00r0NjGwZaKr9Mul03YV/1RDWqQrfbGIY rx/3ZosfceO4v2g9bAyDv5s9ZvEg80PDeGHEcy9HYKKbYCvxRT5uZtPtIAQZGg== 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 4CA6EC07F for ; Sun, 17 Mar 2024 14:18:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlqOi-0007W8-D9; Sun, 17 Mar 2024 09:17: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 1rlqOe-0007Vx-QU for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 09:17:52 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlqOc-0004Js-UE for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 09:17:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7A9CE240028 for ; Sun, 17 Mar 2024 14:17:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710681466; bh=A1AIeC7RG5n997Qpc7A9rlxAEK/eYvZghsjLkQuYq88=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=ShUD0MSRRr1Z1M2mY/EZ7WiIjehLbRqvEbNKYi6g6XnCdz3iXRr3JOK0hkMAk4XE6 G3xRKhtH8NZqt33uPs0GLxM3U04wfOjv39bSWrI51myP/HlOnz1WRxYvR+irbLEuMV Zv1bkmUUBbMPFkMnff7imzMU3wnC0neMdLMNG+4vJh+R9vPaD+2IMbQX36BDEduBau KE1cuh6hQYY9O7la0GCG9Ww/pdQ6wQkh7joWz1HeiNH5FWq1lJ+npjAGGw0zOYaRFI QzBadghKUQAiQMM95lIEXGBTcK9TuB64DzNbR+Y30tD4miaiw3rvxiq7HPJC4YhX+U 2XhONw8KtWUvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TyJST5GJfz9rxN; Sun, 17 Mar 2024 14:17:45 +0100 (CET) From: Ihor Radchenko To: Rudi C Cc: emacs-orgmode@gnu.org Subject: Re: How do I link to a specific line in an org-babel block? In-Reply-To: References: Date: Sun, 17 Mar 2024 13:17:39 +0000 Message-ID: <87frwpyp3g.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.49 X-Spam-Score: -5.49 X-Migadu-Queue-Id: 4CA6EC07F X-TUID: XSaqluk7/VqH Rudi C writes: > How do I link to a specific line in an org-babel block? a.org: #+begin_src emacs-lisp (message "Hello world!") (message "Hello other worlds!!!") ; (ref:greetworlds) #+end_src b:org [[./a.org::(greetworlds)]] See https://orgmode.org/manual/Literal-Examples.html > I tried using [[file:.../my.org::search-term]] , but this only works for > jumping to a heading, not an arbitrary line. (It does work for non-org > files.) That's because "search-term" is used for fuzzy search, which is limited to headings by default. You can customize `org-link-search-must-match-exact-headline' to change this. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at