同时读取多个Emacs信息文件 [英] Reading multiple Emacs info files simultaneously
问题描述
对于阅读编程(和其他)文档,Emacs INFO模式非常出色。非常出色,我想能够同时阅读Emacs Lisp信息文件和组织模式信息文件,而不必返回信息树的开头。要么我已经错过了一些明显的东西,要么我将需要一些Emacs Lisp来实现目标。再一次,有人可能已经破解了这个坚果。所以我想我的问题是:在Emacs中同时阅读多个INFO文件的做法是什么?
For reading programming (and other) documentation, the Emacs INFO mode is outstanding. So outstanding that I would like to be able to read say, the Emacs Lisp info file and the org-mode info files simultaneously without traversing back up to the beginning of the info tree. Either I've missed something obvious or I will need to hack some Emacs Lisp to achieve the goal. And yet again, someone may have already cracked this nut. So I guess my question is: what is the state of the practice for reading mulitple INFO files in Emacs simultaneously?
推荐答案
如果你请查看'info
命令的文档(默认绑定到 Ch i ),您会发现您可以轻松创建新的 * info *
带数字前缀的缓冲区。
If you look at the documentation for the 'info
command (bound to C-h i by default), you'll find that you can easily create new *info*
buffers with a numeric prefix.
C-u 1 C-h i
C-u 42 C-h i
创建名为 * info *< ; 1>
和 * info *< 42>
。
'信息
命令是(强调我的):
Documentation for the 'info
command is (emphasis mine):
输入信息,文档浏览器。
可选参数file-or-node
指定要检查的文件;
默认是顶级目录
Info。从程序调用,
file-or-node可以指定一个Info(节点)
(FILENAMENODENAME)。
可选参数缓冲区指定
Info缓冲区名称;默认缓冲区
名称是信息。如果缓冲区存在,
只需切换到缓冲区。否则,
创建一个新的缓冲区,顶级
Info目录。
Enter Info, the documentation browser. Optional argument file-or-node specifies the file to examine; the default is the top-level directory of Info. Called from a program, file-or-node may specify an Info node of the form `(FILENAME)NODENAME'. Optional argument buffer specifies the Info buffer name; the default buffer name is info. If buffer exists, just switch to buffer. Otherwise, create a new buffer with the top-level Info directory.
在交互式使用中,非数字
前缀参数指示此命令
从
minibuffer中读取文件名。 数字前缀参数
选择信息缓冲区,前缀为
,附加到Info缓冲区
名称。
In interactive use, a non-numeric prefix argument directs this command to read a file name from the minibuffer. A numeric prefix argument selects an Info buffer with the prefix number appended to the Info buffer name.
此外,默认情况下,在 * info *
缓冲区中, Mn 绑定到'clone-buffer
,这将创建一个新的 * info *
缓冲区查看同一页。
Also, by default, in the *info*
buffer, M-n is bound to 'clone-buffer
, which will create a new *info*
buffer looking at the same page.
这篇关于同时读取多个Emacs信息文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!