Questions tagged [hyperlinks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
2answers
805 views

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 ...
11
votes
1answer
2k views

Org-mode external links not working when exported to HTML

I have 2 .org files: // a.org contains the anchor <<my_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 ...
10
votes
2answers
3k views

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 ...
9
votes
1answer
1k views

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 ...
8
votes
3answers
2k views

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 ...
8
votes
1answer
4k views

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-...
7
votes
1answer
2k views

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 ...
7
votes
1answer
290 views

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 ...
5
votes
1answer
161 views

`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) ---------------- <mouse-2> at ...
5
votes
2answers
239 views

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 ...
4
votes
3answers
912 views

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<<<abc>>> other name for alphabet * foo<<<foo>>> see bar * bar<<<bar&...
4
votes
1answer
1k views

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/][...
4
votes
1answer
1k views

How to (correctly) hex encode a URL so that it becomes a valid address I can paste into my web browser?

Here is a valid URL which loads the intended page when I paste it into my browser: https://en.wikipedia.org/wiki/Blue_(disambiguation) For reasons I will explain later, I want to hex encode the last ...
4
votes
1answer
642 views

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 ...
4
votes
1answer
274 views

Set the default link description

I am tryping out org-wiki.el to create a personal wiki in org-mode. The package offers a custom link type wiki:<page> which creates a link like wiki:myPage that matches up with myPage.org. I'm ...
4
votes
0answers
53 views

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 ...
3
votes
2answers
84 views

Remember visited links in manual

I am going through emacs inbuilt Elisp tutorial. By default emacs fontifies( changes color ) visited links color like this This fontification lasts only for current session. If i restart emacs, all ...
3
votes
1answer
529 views

How can Markdown mode follow links?

I found this today by chance: I visited the help file on split-string with C-h f split-strings: split-string is a compiled Lisp function in ‘subr.el’. (split-string STRING &optional ...
3
votes
3answers
2k views

How can I get all file links in one org-mode file?

There are some local file links existed randomly in my org-mode file. most of them are image links, like (file:images/samples.png) along with some other urls. What I want to do is that parse all these ...
3
votes
1answer
98 views

Replace existent link in org-mode with org-stored link

Assume that I have a hyperlink to a file in org-mode - [[file:~/Documents/one_document.txt][this is a link to one file]] And then for some reason I want to update the linked file to some other file ...
3
votes
1answer
591 views

Org: linking to heading which contains a link

Like the title says. I like to organize papers/books/etc that I've read, usually with a heading that has the name and a link to a pdf file. Unfortunately, once a link is inserted in a heading it ...
2
votes
1answer
2k views

Adding links to locally stored images with a description to an org file

I am trying to insert images into an org-file using absolute paths (which include spaces) and a description, and then export them to PDF via LaTeX. I am entering the link using C-c C-l, which should ...
2
votes
1answer
134 views

How can I generate a link back to a specific point in an org mode file that I can paste into an external application?

I am working on a Mac. I want to capture a link to a specific note within an org document that I can paste into another external application. In this case, I am using 'Things' (an external Mac OS X ...
2
votes
1answer
366 views

how to get org-mode to recognize markdown-style links?

I'd like to get org-mode to recognize hyperlinks written in Markdown syntax, that is, links in this format: [markdown link syntax](https://daringfireball.net/projects/markdown/syntax) How do I add ...
2
votes
2answers
191 views

Problems with backslashes in hyperlinks in Emacs org-mode on Windows

I'm struggling again with Emacs 24.4 and org-mode (version 8.3beta (release_8.3beta-1013-g187dae`` @ c:/Users/mbec.POLYWBR/Documents/sorga/org-mode/org_current/lisp/) I'm having problem with paths ...
2
votes
0answers
93 views

Link to individual Org-mode tag from headline

I frequently want to follow an individual tag on a headline to see all the other headlines with that tag, however currently the entire tag block is bound as an agenda link, not each tag. I've read up ...
2
votes
0answers
232 views

Format <<<target links>>> in org-mode for printing

Is there a way to format target links created by org-mode when using radio targets such as the following: <<<some text>>> where that some text is linked back When outputting to ...
1
vote
1answer
237 views

how do I capture point in arbitrary file as orgmode external file link?

I had this once upon a time but I have misplaced the bit that did it. In an arbitrary file at point I want to make an external file orgmode link that sticks around long enough to paste elsewhere. I ...
1
vote
1answer
819 views

Add clickable text in read only buffer?

If i have a writable buffer, i can use this to insert hyperlink. (require 'button) (insert-button "foo" 'action (lambda (x) (find-file "~/test.py"))) But i have to add clickable text property to a ...
1
vote
1answer
70 views

Link string to url and make it clickable

In my LaTeX code I have strings like: \arXivid{1602.00735} that create, in the generated PDF file, a link to, e.g. https://arxiv.org/abs/1602.00735. I'd like to have the string \arXivid{1602.00735} ...
1
vote
1answer
80 views

How can I change what happens when I click on a pdf-tools link?

I read pdfs with pdf-tools, but I think what I'm asking may apply to more than pdf-tools alone. In any case, as an example, some research paper pdfs have references with clickable links - say a link ...
1
vote
1answer
217 views

shorten or control the length of url link in org mode without bitly packages

I have very long url, for example, https://www.youtube.com/channel/UCGM8KgUXqsS4d8-4rgWRWKg/playlists, how can I tailor it into a shorter form? Like : https://www.youtube.com/channel/UC... [here ......
1
vote
1answer
1k views

Insert entries and link to entries from org-contacts

I am trying to write functions that insert entries, or link to entries of my contacts org-mode file using org-contacts. The functions would work as follows: First prompt for a contact name (maybe ...
1
vote
1answer
436 views

Mouse click on links does not work

Somehow my left mouse click does not work on links anymore. I can put the cursor, hit Return and get a link opened. But a mouse click gives this on the "Message" buffer: call-interactively: Wrong ...
1
vote
1answer
257 views

Basic Org-mode: links handling - explanation of `C-c l` (manual unclear)

The compact org-mode guide says C-c l Store a link to the current location. This is a global command (you must create the key binding yourself) which can be used in any buffer to create a link. ...
1
vote
1answer
190 views

org-return-follows-link with footnotes?

I want to follow footnote links in org-mode by positioning the point over the link and hitting the return key. In my init.el file, I have (setq org-return-follows-link t) which works fine for regular ...
1
vote
1answer
342 views

org - hyperlink to external image: Function to download it and adjust link to local location?

I have an org file and buffer named test.org that contains this line: [[https://en.wikipedia.org/wiki/Emacs#/media/File:Emacs_Dired_buffers.png][myimg]] I want to put my cursor/point somewhere on ...
1
vote
2answers
823 views

How to create list of links to files in a folder and annotate them using org-mode?

I am trying to use org-mode to make a list of files to read, with links to pdfs and write the notes corresponding to it in one file. Using org-fstree, I can get list of all links as headlines #+...
1
vote
1answer
889 views

How can I insert a link from one org file into another?

This is probably simple and I've been trying to develop some lisp skills but I'm completely stumped. What I'm trying to do is insert a link in one file every time a TODO state change occurs (probably ...
1
vote
0answers
44 views

Any way to embed links with part of their content in Emacs?

The question itself might be confusing given I'm using the word embed here, which have different meaning. What i mean by that is: Embed like what chat.stackoverflow does. Say I'm posting a single SO/...
1
vote
0answers
75 views

How to implement a nice read-only buffer with accordions and buttons/hyperlinks?

We would like to devise an Emacs front-end that queries a back-end (generating a list of items in JSON format or so, each with a title, long description, and an URL), and displays this list in a ...
1
vote
0answers
235 views

Regular expression to match a URL

I am trying to construct a regexp for URLs (for grabbing them out quickly out of a paragraph, region, etc.). I don't need it advanced, but I am having some troubles with it. Here is my attempt, which ...
1
vote
1answer
108 views

How to make implicit link target from timestamp in org-mode?

In org-mode I usually create several notes with timestamps under a headline, for example: * idea [2018-09-26 Wed 09:39] \\ General description of idea. ** idea development [2018-09-26 Wed 09:...
1
vote
0answers
229 views

org-mode links to gnus articles with imap

When using gnus with nnimap (IMAP access to a remote mail server) and linking gnus articles (e-mail messages) in org-mode files. What are the pros and cons of gnus storage methods (for articles) in ...
0
votes
1answer
45 views

How to delete a link in org mode in spacemacs

I was trying to delete a link and replace it with the description in org mode. And I thought there would be a command to do it. But I could not find one. There is a solution here. But the question is ...
0
votes
2answers
293 views

mu4e (gnus) MS safelinks decoder

Today I got scared after noticing how many Microsoft ATP Safelinks had made their way into my org-mode calendar file. Therefore, is it possible to create a URL decoder to bypass Microsoft Safelinks ...
0
votes
1answer
147 views

org mode open link in browser directly

Suppose, we have a link [[https://www.google.com/][Google]]. When I put the cursor at the link and run org-open-at-point, instead of opening https://www.google.com/ in browser it downloads the page to ...
0
votes
2answers
50 views

Org-mode hook following creation of a new <<<radio target>>>

I want to call org-update-radio-target-regexp as soon as org-mode recognises that a new <<<radio target>>> has been created (which seems to happen as soon as the third ">&...
0
votes
1answer
79 views

How to make org-mode style links?

I have a regular expression and an path, e.g. ("[Bb]ackup" . "/home/user/backup.org"). Now I want every substring in the buffer that matches the regexp to look like an org-link ...
0
votes
1answer
61 views

Don't open a HTML link if drag-and-dropped to Emacs

I keep my notes in Markdown. Often I would like to collect various links by drag-and-dropping them from the browser. However, Emacs opens them instead. I know that this is probably what most people ...