emacs - 如何使任何 emacs 缓冲区中的组织语法链接看起来像组织模式?

标签 emacs org-mode

我正在使用 emacs 组织模式来管理我的笔记。我经常希望使用来自文件的链接到这个笔记,我正在其他模式下编辑这些文件,比如 AUCTeX。

See here for a descriptive screenshot . (我还不允许在这里发布图片。)

存储和关注此链接非常有效。但我发现阅读链接的完整组织语法令人不安:[[file:notes.org::*note][Description]] ,这显然没有折叠到 org-mode 之外。

我想知道是否有任何次要模式可以将此类链接折叠到可点击的 Description ,就像在组织模式下完成的一样。

最佳答案

您可以使用 Org-mode 之外的链接。

4.5 Using links outside Org

You can insert and follow links that have Org syntax not only in Org, but in any Emacs buffer. For this, you should create two global commands, like this (please select suitable global keys yourself):

(global-set-key "\C-c L" 'org-insert-link-global)
(global-set-key "\C-c o" 'org-open-at-point-global)

-- 来源:Using-links-outside-Org
编辑(2012 年 11 月 1 日):截至 2011 年 10 月,启用类组织链接的次要模式不存在,但有 discussions .现在存在次要模式,它被称为 org-link-minor-mode并包含在 org-contrib 中.

关于emacs - 如何使任何 emacs 缓冲区中的组织语法链接看起来像组织模式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5166608/

相关文章:

emacs - 组织模式习惯一致性图未显示

Emacs:单个缓冲区中的多种字体

emacs - 在 org 模式下重新归档列表项

Emacs:组织模式电子表格:通过 hline 定位

emacs - 如何在emacs中使用[delete]键删除区域

emacs - Paredit Forward slurp "C-)"不适用于 Windows 7 上的 emacs

emacs - 查看 emacs 中的分隔列

org-mode - 在组织模式下,我应该使用单个顶级标题还是多个?

html - 如何删除组织模式 html 导出中的页脚详细信息?

emacsclient -eval "(insert\"有些东西\")"对我不起作用