Questions tagged [hyperlinks]
The hyperlinks tag has no usage guidance.
73
questions
1
vote
0
answers
32
views
Headline as the default description for an org-id link
I am using org-id to create links to different headlines in an org file. When using org-insert-link (C-c C-l), I select id as the link type option. Then I press RET. I have :complete configured to ...
-1
votes
1
answer
68
views
How can I create a hyperlink on text naming a variable, so clicking shows `C-h v` help?
I have a number of documentation variable. Would it be possible ta have a help page with a list of lines that when I click on one the variable gets printed in the help buffer. An then be able to go ...
0
votes
0
answers
22
views
Opening hyperlinks stops working when browser runs in sandbox (firejail)
Opening links (e.g. [[https://www.example.com][example]]) stops working when browser (librewolf) runs in a sandbox (firejail). The only output it gives is "nil". It works again when sandbox ...
4
votes
2
answers
243
views
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?
1
vote
0
answers
21
views
Add the ID property of headings as the `name` attribute in the HTML export
E.g., suppose I have this heading:
* some heading
:PROPERTIES:
:ID: 6d4e4087-4b74-4c74-8195-19b4ccd3e8fe
:END:
I like the exported HTML element to have the attribute
name="ID-6d4e4087-4b74-...
1
vote
1
answer
31
views
Importing text with hyperlinks
I have a file in (say) odt format that contains hyperlinks, like this, and I want to edit the content of this file using emacs-org. I can't just copy paste the content from *odt to *org, the links don'...
0
votes
1
answer
58
views
Hyperlinks to webpages in a named buffer
I can add hyperlinks to webpages in the docstring. But is it possible to do the same when writing text in a named buffer?
(defvar msg "URL `https://www.gnu.org/proprietary/proprietary.html'"...
0
votes
1
answer
24
views
How to access to a location in terminal through external link in org file?
I use org-mode and I often copy-paste path in a note file. Is it possible to have link or similar so it open a new terminal and go directly in the location indicated by the path.
I don't know much ...
0
votes
1
answer
54
views
How can I enclose a link in brackets in org-mode for html export?
I want to create links in my html output that are enclosed in brackets, so look like this: [PDF]. I used to be able to do this by enclosing the whole link in the org file in another pair of brackets, ...
0
votes
2
answers
77
views
org-store-link: how to make docview default PDF link
Whenever I use org-store-link and org-insert-link for PDFs, it stores the link as file: type. This will open the link as an external PDF file with my OS PDF viewer.
Is there a way to set up org-store-...
0
votes
1
answer
84
views
How can I create a link to an outline attachment in Org mode?
I am trying to create links within the body of an outline to files that are attached to that outline using the guidance in the documentation
***** Test outline ...
0
votes
0
answers
34
views
Display link font face in same color as the surrounding face
I'd like to remove :foreground color specificity from link face so that it displays in the same color as the surrounding face. For example, in the below image, "link" should be brown and &...
0
votes
0
answers
104
views
org-open-at-point on file without suffix does not open file
I have a link in an org document, [[file:/home/thor/org/journal/20210824]]. This file exists, and the path is correct. I have tested this with other files as well. If the file does not have a suffix, ...
0
votes
1
answer
402
views
How do org mode internal links work with no custom ids?
I am viewing a file which consists of a table of contents followed by the content. Each ToC entry appears to be an internal link of the form [[#fixes][Fixes]].
My understanding is that these internal ...
0
votes
1
answer
138
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
0
answers
27
views
How to specify a LINK in org-anniversary to jump from org-agenda
The idea is to add a LINK after
%%(org-anniversary 2006 3 21) World Down Syndrome Day (%d years) <LINK>
So when I see it in my agenda for that day, I can click and jump to a ORG heading in a ...
3
votes
1
answer
2k
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 ...
1
vote
1
answer
273
views
Orgmode html export: how to include equation cross references?
According to my reading of the documentation, something like this should work in my org file:
#+NAME: eq:one
\[
x^2+y^2=z^2
\]
You can see, by considering equation [[eq:one]] that a sum of squares...
...
0
votes
2
answers
181
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 ">&...
2
votes
1
answer
230
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} ...
0
votes
1
answer
196
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
0
answers
21
views
No sound when using hyperlinks for videos in org-mode
I am working in GNU Emacs 27.1 (2020-08-26). My operating systems is Ubuntu 20.04 and I am using Firefox 83.0 (64-Bit) for Ubuntu.
Currently I observe the following challenge: When starting a ...
3
votes
1
answer
286
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 ...
1
vote
0
answers
55
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/...
0
votes
0
answers
480
views
Drag and drop a file to org buffer to insert a link to this file
On Windows it is possible to create a link holding the Meta (Alt) key while dragging a file.
Is it possible to create a link to a file when it is dragged from an Explorer over to emacs holding the ...
0
votes
2
answers
490
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 ...
4
votes
0
answers
87
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 ...
0
votes
1
answer
129
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 ...
3
votes
1
answer
1k
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 ...
0
votes
1
answer
252
views
Can org-mode radio targets show their definition when hovering over them with the mouse?
Org-modes radio targets are useful for automatically adding definitions to terms used in a text. You can define a term within triple angled brackets, like in this definition line:
<<<my ...
2
votes
1
answer
191
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 ...
0
votes
0
answers
33
views
Link and adjacent text get merged: how to preven that?
Say I start with:
{}{foo}
and insert a link inside the first pair of braces:
{https://emacs.stackexchange.com/questions/ask}{foo}
It will link to
https://emacs.stackexchange.com/questions/ask%7D%...
1
vote
0
answers
104
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
0
answers
371
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
1
answer
154
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
1
answer
151
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
0
answers
349
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
1
answer
822
views
How to link to a LaTeX label within align* environment in Orgmode?
I am using org mode to write documents with math, and then exporting to latex. Consider an unnumbered align environment with two equations:
\begin{align*}
x = 1\\
y = 2
\end{align*}
Now, number the ...
10
votes
1
answer
2k
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 ...
1
vote
1
answer
366
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. ...
4
votes
1
answer
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/][...
0
votes
1
answer
109
views
Redirect compilation mode hyperlink to external tool
I have a working compilation error matcher, that contains the path to a file. The compilation buffer correctly adds a hyperlink to that file and I can open it in emacs. However, the file in question ...
4
votes
1
answer
2k
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 ...
1
vote
1
answer
273
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 ...
7
votes
2
answers
322
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 ...
12
votes
3
answers
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 ...
2
votes
1
answer
488
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
1
answer
350
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 ...
4
votes
1
answer
356
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 ...
1
vote
1
answer
328
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 ......