From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ISSUE] source block coderef link does not work when not under same headline Date: Sat, 15 Jun 2019 11:50:51 +0200 Message-ID: <87a7ejp478.fsf@nicolasgoaziou.fr> References: <87a7ejuw8d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36180) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hc5L6-0005nY-B4 for emacs-orgmode@gnu.org; Sat, 15 Jun 2019 05:51:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hc5L5-0000pT-Fc for emacs-orgmode@gnu.org; Sat, 15 Jun 2019 05:51:12 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:59485) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hc5L5-0000di-8y for emacs-orgmode@gnu.org; Sat, 15 Jun 2019 05:51:11 -0400 In-Reply-To: <87a7ejuw8d.fsf@gmail.com> (stardiviner's message of "Sat, 15 Jun 2019 15:46:26 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: stardiviner Cc: Org Mode Hello, stardiviner writes: > Here is an example, on first coderef link, it can work. But not work > on second What is "it"? > same coderef link. Seems because of ~org-link-search~ can't search across headline > scope? > > #+begin_src org > ,* Test coderef in source block > > ,#+begin_src emacs-lisp > (print "hi") ; (ref:kk) > ,#+end_src > > [[(kk)]] > > ,* test across headline > > [[(kk)]] > #+end_src I cannot reproduce it: C-c C-o allows me to navigate back to the source block from any of these links. Regards, -- Nicolas Goaziou