Questions tagged [hyperlinks]
73 questions
14
votes
3 answers
How to change faces of org-mode links depending on the link type?
Org-mode offers a variety of different link types ([http], [file], [bibtex], [magit]...). However, they all get the same look defined by the face value for org-link.
Is it possible to e.g. change the background color depending on the type of link?…

Bartholomaios
- 241
- 1
- 4
13
votes
2 answers
How to reference source blocks in org text
I want to create source blocks (in any language including LaTeX), then refer to these in the text using internal links, with descriptions as shown below. This similar post is not working for me.
I have easily been able to created many source blocks…

n1k31t4
- 669
- 8
- 18
12
votes
3 answers
Rendering URLs as clickable links
Comments in source code often contain URL's. It would be nice to have these (or links in any plain text context) rendered as clickable links for the convenience factor when navigating a file using the mouse.
Q: Is there built-in emacs functionality…

ebpa
- 7,319
- 26
- 53
11
votes
1 answer
Org-mode external links not working when exported to HTML
I have 2 .org files:
// a.org contains the anchor
<>
// b.org contains the link to my_anchor
[[file:a.org::my_anchor][My Link]]
When I click on the link in org-mode, it links correctly to the position of my_anchor in a.org. But when I…

vicch
- 173
- 6
10
votes
1 answer
In Org Mode, how do I link to internal documentation?
I want to create a clickable-link in my Org file directly to documentation built into Emacs. Is this possible to do? The documentation I want to link to are:
Emacs Lisp Intro
The GNU Emacs Lisp Reference Manual

TheOddsFavourUs
- 189
- 8
9
votes
1 answer
How to reference named table or code block in Org-mode
In Org-mode buffers, table or code block can have #+NAME: title.
But I don't know how to reference them in current buffer or in other files with org-mode hyperlink. (like one link format: [[file:some-file.org::*headline]])
Org-mode has support for…

stardiviner
- 1,888
- 26
- 45
8
votes
1 answer
Create a file link in org-mode that accepts spaces in the text
My org file looks something like this:
* Space Radiation
** Gamma Ray Info
- file://Library\March 2015\Gamma Ray Radiation Fundamentals.pdf
- some notes
However the title has spaces so the link stops at the first space. As I have literally…

Arjay-El
- 91
- 1
- 3
7
votes
2 answers
How can I manually set links in org mode?
So I'm trying to make an "autolinks mode" to emulate the functionality of notetaking software like Tomboy Notes or notes.vim, which automatically linkifies any text that happens to be the title of a note. But I'm totally new to Emacs and to Elisp.…

Jonathan
- 567
- 5
- 20
7
votes
3 answers
Radio targets in external org mode file, for glossary application
I would like to keep a list of terms in an org file, lets say glossary.org:
* ABC<<>>
other name for alphabet
* foo<<>>
see bar
* bar<<>>
see foo
Now while foo and bar would be created as internal links to the radio targets…

timor
- 430
- 3
- 9
6
votes
1 answer
Export without links
When exporting, links are converted to the relevant format. Is it possible to tell org to simply ignore links and only export their text? (that is, completely ignoring the link, not including it as plain text)
My case is for exporting to Markdown,…

amirdeq
- 207
- 1
- 8
5
votes
2 answers
Hyperlinked code navigation
I'd like to browse source code in emacs by searching for 'word' or 'tag' hits in a way somewhat similar to etags but:
clicking on words to search for matches across a code base (say a directory or project)
each click leads to a search hits listing…

Croad Langshan
- 3,192
- 14
- 42
5
votes
1 answer
`mouse-1` (button 1) follows links, like `mouse-2` does - how to modify the behavior?
I'm a beginner in Emacs.
In dired+, if I query the mouse click on a directory item with C-h k, I get the following:
----------------- up-event (short click) ----------------
at that spot is remapped to , which runs the
command…

András Kovács
- 222
- 1
- 9
4
votes
2 answers
How to link to info node from emacs-lisp comment
It is easy to find how to create links to info nodes from elisp docstrings and from org-mode files. Is there also a standard way to link to an info node section from elisp comments?

dalanicolai
- 6,108
- 7
- 23
4
votes
0 answers
Add a source reference to org blocks
During research, I often cite a passage from some website, a local document or org file. For context and later use, I always add the source reference after the block:
* Public transport
** Bus
Buses are used a lot:
#+BEGIN_QUOTE
The urban bus…

Bas Peeters
- 193
- 5
4
votes
1 answer
Org external link - can I indicate which browser/tab to be used
Suppose I have several browsers running at any given time.
Google Chrome
Google Chrome Canary
Chromium
Opera
Safari
How can I indicate in my org mode links
[[https://www.gnu.org/software/emacs/][GNU Emacs]]
which browser should be used when (C-c…

american-ninja-warrior
- 3,773
- 2
- 21
- 40