如何有效搜索信息文档? [英] How to efficiently search Info documentation?

查看:191
本文介绍了如何有效搜索信息文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有关 tr 程序的文档。正如你所想象的,人物 t r 的组合在英语中经常发生...虽然我确定关于这个名字,我不知道它所属的部分的名称,所以我不得不显示所有的节点,并尝试搜索像 tr tr(等等。



没有更好的方法吗?

解决方案

嗯,我只能猜测以下不是为你而发生的;但是个别程序的节点真的应该列在顶级目录中,因此在您输入 Mx 信息时显示。 RET d ,您可以从中简单地使用 m tr RET



但是,如果您正在搜索不在任何目录文件中的东西,我唯一方便的是 Mx info- apropos (搜索所有的索引而不是节点标题)。



当然,在给定的手册中,您可以使用 I 来搜索其索引,这是更快而不是搜索所有这些。



编辑:这是切向的,但即将到来的Emacs 24.4(目前在NEWS文件中未记录) )在非当前手册中完成Info节点名称。



eg g (elisp) TAB 现在提供即使您当前没有查看该手册,也可以在elisp手册中的所有节点完成。



这是一个非常欢迎更改! / p>

I was looking for documentation on tr program. As you would imagine the combination of characters t and r happens fairly often in English language... Although I was sure about the name, I wasn't sure about the name of the section it belongs to, so I had to display all nodes and try searching for something like tr or tr( and so on.

Isn't there a better way to do it?

解决方案

Hmm... I can only guess that the following isn't happening for you; however nodes for individual programs really ought to be listed in the top-level directory, and hence show up when you type M-x info RETd, from where you can simply use m tr RET.

However if you're searching for something which isn't in any of the directory files, the only convenient thing I know of is M-x info-apropos (which searches all of the indexes rather than the node titles).

And of course within a given manual you can use I to search its index, which is much faster than searching all of them.

Edit: This is tangential, but an excellent improvement in the upcoming Emacs 24.4 (currently undocumented in the NEWS file) is completion for Info node names in non-current manuals.

e.g. C-hig (elisp) TAB now provides completions for all the nodes in the elisp manual, even if you are not currently viewing that manual.

This is an extremely welcome change!

这篇关于如何有效搜索信息文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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