后知后觉. 原来emacs何man page如此亲密!

用了这么久emacs, 居然刚刚才发现在emacs里面查man page那么方便.

1. M-x man 会默认使用光标但前位置的关键字作为man的关键字

2. 在linux buffer中的man page可以跳转到关联man page.实现man page之间的跳转

3.可以直接打开man page中提到的头文件

3 个赞

women比man mode更好用

1 个赞

of course, woman is better than man

1 个赞

確定?

那就是另外一回事了。

WoMan can only format man pages written with the usual ‘-man’ macros

WoMan implements a subset of the formatting performed by the Emacs
`man' (or `manual-entry') command to format a UN*X manual `page'
for display, but without calling any external programs.  It is
intended to emulate the whole of the -man macro package, plus those
?roff requests that are most commonly used in man pages.  However,
the emulation is modified to include the reformatting done by the
Emacs `man' command.  No hyphenation is performed.

我靠,居然还有这种操作....

后知后觉...

我非常巧合地在學習上古魔法… groff -mdoc … https://reviews.llvm.org/D49938

2 个赞