信息索引(内部和非emacs) [英] info indexing (within and without emacs)

查看:136
本文介绍了信息索引(内部和非emacs)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

信息是否提供了将 foo.info 文件链接到信息主索引的任何工具?



上下文是这样的:我想避免维护自己的索引( foo.info 的信息页面在 /abc/def/foo.info中,...)。



想法是能够输入 info foo 并开始阅读页面,或者在emacs中键入 Mx info RET foo RET 并开始导航。

解决方案


  • 对于其他 *。info 文件,来自Emacs,请参阅文档 - 例如(信息)Emacs信息变量(信息)专家信息。基本上,您只需在 dir 菜单(信息的顶级目录级别)中添加一个条目。


  • 此外,您可以使用信息创建虚拟图书。




    • 香草Emacs给你我< kbd>(命令 Info-virtual-index ),它创建与您输入的字符串相匹配的节点(跨所有手册)的虚拟索引。


    • 更好的是, 信息+ 可以将任何Info节点(页面)从任何手册添加到虚拟书籍。你可以有任何数量的这样的虚拟书籍。 (命令 Info-save-current-node )添加当前节点, v (命令 Info-virtual-book )访问虚拟书 - 即保存节点的菜单。




Does info provide any facility to link a foo.info file to info's main index?

The context is this: I would like to avoid maintaining my own index ("the info page for foo.info is in /abc/def/foo.info, ...").

The idea is to be able to type info foo and start reading the page, or, within emacs, to type M-x info RET foo RET and also start navigating.

解决方案

  • For additional *.info files, that is, ones that don't come with Emacs, see the doc -- e.g. (info) Emacs Info Variables and (info) Expert Info. Essentially, you just add an entry to the dir menu (the top-level, directory level of Info).

  • Besides that, you can create virtual books with Info.

    • Vanilla Emacs gives you I (command Info-virtual-index), which creates a virtual index of nodes (across all manuals) that match a string you enter.

    • Better yet, Info+ lets you add any Info nodes (pages) at all, from any manuals, to a virtual book. You can have any number of such virtual books. . (command Info-save-current-node) adds the current node, and v (command Info-virtual-book) visits a virtual book -- that is, a menu of saved nodes.

这篇关于信息索引(内部和非emacs)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆