emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [Feature Request] Provide a way to jump to noweb reference definitio


From: address@hidden
Subject: [O] [Feature Request] Provide a way to jump to noweb reference definition under point
Date: Sun, 13 Aug 2017 16:37:13 +0800

For example I have an Org buffer like this:

```org
#+NAME: define food-journal
#+BEGIN_SRC clojure
(def food-journal
  [{:month 1 :day 1 :human 5.3 :critter 2.3}
   {:month 1 :day 2 :human 5.1 :critter 2.0}
   {:month 2 :day 1 :human 4.9 :critter 2.1}
   {:month 2 :day 2 :human 5.0 :critter 2.5}
   {:month 3 :day 1 :human 4.2 :critter 3.3}
   {:month 3 :day 2 :human 4.0 :critter 3.8}
   {:month 4 :day 1 :human 3.7 :critter 3.9}
   {:month 4 :day 2 :human 3.7 :critter 3.6}])
#+END_SRC

#+BEGIN_SRC clojure
<<define food-journal>>

(take-while #(< (:month %) 3) food-journal)
#+END_SRC
```

The point is at `<<define food-journal>>`. Hope org-mode can provide and shortcut to jump to noweb reference definition `#+NAME: define food-journal`.

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]