从Emacs跳到Zotero失败
当我单击Zotero链接时,我想跳到Zotero,例如zotero:// select/itect/tock/1_2s5a64qi
在我的org文件中,但第一次行不通(无响应)。打开.emacs文件和mx ret rest-buffer ret
后,我返回到了org文件,这次我可以成功地跳到Zotero。什么原因?
(defun zotero-org (path)
(browse-url (format "zotero:%s" path)))
(org-add-link-type "zotero" 'zotero-org)
这是我用来添加新链接类型的方法。
I'd like to jump to zotero when I click zotero links like zotero://select/items/1_2S5A64QI
in my org file, but at the first time it doesn't work (no response). After opened the .emacs file and M-x RET eval-buffer RET
, I backed to the org file, this time I can jump to the zotero successfully. What cause it?
(defun zotero-org (path)
(browse-url (format "zotero:%s" path)))
(org-add-link-type "zotero" 'zotero-org)
This is what I use to add a new link type.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
加载组织后,您需要添加链接。
此外,
org-add-link-type
自9.0起就被过时了。使用org-link-set-parameters
。You need to add-link after org is loaded.
Besides,
org-add-link-type
is obsolete since 9.0; useorg-link-set-parameters
instead.