emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ISSUE] source block coderef link does not work when not under same headline
@ 2019-06-15  7:46 stardiviner
  2019-06-15  9:50 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: stardiviner @ 2019-06-15  7:46 UTC (permalink / raw)
  To: Org Mode


Here is an example, on first coderef link, it can work. But not work on second
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


-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] source block coderef link does not work when not under same headline
  2019-06-15  7:46 [ISSUE] source block coderef link does not work when not under same headline stardiviner
@ 2019-06-15  9:50 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-06-15  9:50 UTC (permalink / raw)
  To: stardiviner; +Cc: Org Mode

Hello,

stardiviner <numbchild@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-15  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-15  7:46 [ISSUE] source block coderef link does not work when not under same headline stardiviner
2019-06-15  9:50 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).