From 0f00c351aad2c962146c7841901bf23ea6dfa6d9 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 14 Sep 2022 00:27:11 +0100 Subject: (Emacs)+org-link-frame-setup Always open a new frame when opening link in org-mode: predictable, safe behaviour which leaves it up to my window manager as to what to do next. Most of my opened links are files that I want to examine along with the org file I opened them from: this allows me to do exactly that. --- Emacs/.config/emacs/config.org | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Emacs/.config') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 7773d23..23dd428 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2238,6 +2238,11 @@ Emacs was very helpful here. (org-indirect-buffer-display 'current-window) (org-export-backends '(ascii html latex odt)) (org-imenu-depth 10) + (org-link-frame-setup '((vm . vm-visit-folder-other-frame) + (vm-imap . vm-visit-imap-folder-other-frame) + (gnus . org-gnus-no-new-news) + (file . find-file-other-frame) + (wl . wl-other-frame))) (org-eldoc-breadcrumb-separator " → ") (org-enforce-todo-dependencies t) (org-fontify-quote-and-verse-blocks t) -- cgit v1.2.3-13-gbd6f