Previous: , Up: Hyperlinks  

4.5 Targeted links

File links can contain additional information to make Emacs jump to a particular location in the file when following a link. This can be a line number or a search option after a double colon.

Here is the syntax of the different ways to attach a search to a file link, together with an explanation:

[[file:~/code/main.c::255]]                 Find line 255
[[file:~/ Target]]                Find ‘<<My Target>>
[[file:~/]]            Find entry with custom id

Further reading
Chapter 4 of the manual