emacs - 我如何在 emacs 中使用 "linkify"非组织模式缓冲区

标签 emacs org-mode

<分区>

Possible Duplicate:
How to make org syntax links in any emacs buffer look like in org-mode?

我不介意使用 org-mode,但使用非星号标题。我在 How can I use other heading styles like twiki ---+ or mediawiki == h2 == in org-mode? 中问过这个问题

但我想要的主要事情是“链接化”一个缓冲区——一个可能是非组织模式的缓冲区。

例如使 [[file:/some/long/path][display name]] 之类的链接显示为类似于“display name”的内容,并且可以单击。或者只是 [[file:/some/path]],或者 org-mode 支持的其他链接类型。

问:有没有办法在 org-mode 之外的 emacs 中获得这样的链接功能?

最佳答案

我认为文本属性是您要寻找的。 Elisp 信息文件甚至包含一个关于“可点击文本”的条目,文本 -> 文本属性 -> 可点击文本。该部分实际上包括一个非常详细的示例,说明如何实现您提到的那种事情。

关于emacs - 我如何在 emacs 中使用 "linkify"非组织模式缓冲区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11697111/

相关文章:

osx-mountain-lion - Emacs 的组织模式 : how to automatically "process to PDF" on save?

emacs - 从组织模式导出到 HTML : how to include reference using bibtex

haskell - 这 ? emacs/haskell 和 ghc 模式下的标记

emacs - 如何在目录中递归查找文件

php - 配置 Emacs 以进行 Web 开发 (PHP)

emacs - 更改 Emacs 键映射(从 C-c s 到 C-\)

emacs - 获得emacs M-;产生//样式注释

emacs - 使用 mit-scheme 而不是 guile 进行组织模式代码块评估

emacs - 使用组织模式导出时,目录 div 位置错误

emacs - 如何在 org-mode 中逐行评估代码?