Questions tagged [org-link]
The org-link tag should be used for questions about links in org-mode files. This is a feature of org-mode that allows users to include hotlinks to org headings within the same file, to other files on the same computer (e.g. text, emails, pdfs), to urls for internet resources. Additional link types are provided by external packages.
160 questions
0 votes
1 answer
40 views
Minus sign inside circular parens in regex is confusing
In Appendix A.3 of org manual, Adding Hyperlink Types, there is this function org-man-get-page-name that extracts the page name from buffer name. Like the buffer name is "Man printf*", it ...
0 votes
0 answers
32 views
How can I create headlines out of unmatched internal links in narrowed buffers?
Given this Org buffer * Test 1 ** Test 2 *** Test 3 [[*Test 5]] ** Test 4 Narrowed: ** Test 2 *** Test 3 [[*Test 5]] Trying to open the internal link results in a prompt asking me whether to create ...
0 votes
0 answers
55 views
How to recreate the youtube custom link manually?
I want to create a custom link for IMDB that will be exactly the same as youtube. I am on Doom Emacs. So far I have the main functionality in that when I press Enter on the link it takes me to the ...
0 votes
0 answers
76 views
Headline references in org-mode export with custom link type
I want to use an org-mode custom link type x: for referring to headlines. The purpose is to add some special formatting to the exported cross-references. The initial target is LaTeX export. However, I ...
0 votes
0 answers
40 views
How to store org mode link containing full header path in description?
Assume org-id-link-to-org-use-id t File.org * Header 1 ** Subheader 1 *** Subheader 2 * Header 2 point at Subheader 2 (org-store-link nil) adds ID property and returns "[[id:6d36e91c-e8de-456a-...
1 vote
1 answer
142 views
Org doesn't resolve [[id:UUID::*subtree name][link name]] hyperlinks
I'm trying to make org links leveraging the org-id-link-to-org-use-id and org-id-link-consider-parent-id variables, as described in section 4.5 of the org manual (Org mode buffers paragraph's example)....
1 vote
0 answers
68 views
org-store-link relative to parent
Should it be possible to org-store-link including parents of a heading. For example in a document like this: * heading 1 ** subheading 1 * heading 2 ** subheading 1 there is ambiguity if you want to ...
1 vote
0 answers
162 views
In Org Roam, how do I capture into a subtree, and insert the link to the newly captured node?
I have the following capture template: ("s" "scanner entry" entry "* ${title}\n:PROPERTIES:\n:DIARY_DATE: %^U\n:END:\n\n%?" :target (file "scanner/diary.org&...
2 votes
0 answers
35 views
Clicking on a url link in a code block evaluates instead of opening the link
I have some code blocks in my org file which have url links inside them, but clicking on them evaluates the codeblock and returns the result in the *Messages* buffer (similar to C-x C-e for eval-last-...
1 vote
0 answers
85 views
Org mode: How do I create links with spaces in the directory names?
It seems that I can have links where there are spaces in the filenames, but not in directory names. For example: [[file:FC2/VA/Veterans_Payment_Statement/22-03-05 VPS.jpg][22-03-05 VPS.jpg]] works, ...
1 vote
3 answers
358 views
Emacs org-mode: how to create link to a certain search agenda?
In 'Emacs org-mode' i can create links to headings and other things where I want to jump quickly. How can I create a link in 'Emacs org-mode' which opens a certain search agenda? At the moment I have ...
0 votes
1 answer
55 views
Link org-mode to external file with "[" or "]" in the path
I have a "file name.txt" file whose full path is "G:/path1/[TAG] path2/file name.txt" How do I write the link to the external file "file name.txt" in org-mode? If I use [[...
0 votes
0 answers
53 views
Internal link to a headline by it's number in org-mode
I'm using dynamic headline numbering in my org file and I want to use those numbers as a internal link targets. For example within a org file structured like this: * 1 section ** 1.1 subsection I can ...
0 votes
1 answer
85 views
How to set org mode to edit file when click on html file link?
The default action when click on a html file link will open it in browser. How to config the action of click to distinct web links and disk file link, so the web link starts with http or https will be ...
1 vote
0 answers
32 views
Track navigation after opening an org link
This is a longshot, but does the following exist already? You have an link in your org file like: * TODO Learn elisp [[info:eintr#Arguments][eintr#Arguments]] You open that link. You go to the next ...