» Friday, 16 January A.D. 2009
git --help in emacs
I groused the other day about git command --help being broken in emacs's shell-mode. Today I discovered a (sort of) remedy for that. You can put:
[man] viewer = woman
in the appropriate configuration file. git command --help will then invoke Emacs's woman mode to read man pages inside Emacs...which is sort of a win, I suppose. You'll then probably also want to set woman-use-own-frame to nil, so that you don't have to switch windows to read things.
Aside: woman is kind of scary; nearly 5000 lines of elisp for reading manpages...and it doesn't even have all the features that man does. For instance, man has this clever variable, Man-notify-method, that enables you to specify exactly where you want the buffer with the manpage to pop up. woman has no such feature, and probably should.
posted by Nate @ 9:38PM