如何强制组织模式在另一个框架中打开链接?

N.N*_*.N. 8 emacs org-mode

在Org-mode中,可以有链接和顶部开放链接.由Org-mode中的http://orgmode.org/orgcard.txt列出C-u C-c C-omouse-3强制链接在另一个窗口中打开.如何对帧进行相应的操作,即如何强制链接在另一帧中打开?

我想要的是C-c C-o按默认工作,但C-u C-c C-o强制链接在另一个框架中打开.

(有关窗口和框架的区别,请参阅http://www.gnu.org/software/emacs/manual/html_node/emacs/Frames.html.)

我在23.3.1中运行Org-mode 7.6.

Jon*_*pin 5

我只是测试,你可以得到它的包装工作,org-open-at-point在一个(let )为自定义的功能。

在这种情况下,我只是在当前值的前面org-link-frame-setup加上所需的前缀,find-file-other-frame以确保如果您在其他链接类型上使用该命令,则该命令不会失败。

(defun zin/org-open-other-frame ()
  "Jump to bookmark in another frame. See `bookmark-jump' for more."
  (interactive)
  (let ((org-link-frame-setup (acons 'file 'find-file-other-frame org-link-frame-setup)))
    (org-open-at-point)))
Run Code Online (Sandbox Code Playgroud)

我怀疑您需要将其绑定到除之外的其他关键序列C-u C-c C-o,除非Emacs允许您将其专门绑定到该序列。