[comp.emacs] *Help* buffer in view-mode?

zoo@APS1.SPA.UMN.EDU ("david d [zoo] zuhn") (03/05/91)

I'd like to have my *Help* buffer in view mode by default, so that I
can page through it in the same general way I can page through the
*info* buffer (space to scroll down, etc.)

I see a view-mode in view.el, but there is a note saying that bad
things will happen if it is called without a buffer attached, so it
looks like I cannot just add ("\\*Help\\*$" . view-mode) to the
auto-mode-alist.  

Then in help.el I see that output is done with
"with-output-to-temp-buffer", so I wrote a small function to set the
mode to view-mode, if the buffer name is "*Help*":

   (defun temp-mode-view (buffer)
     (if (string-match (buffer-name buffer) "*Help*")
         (view-mode buffer)))

   (setq temp-buffer-show-hook 'temp-mode-view)


This seems to be in the right general direction, but I get a recursive
edit whenever I use help now.  

Has someone done this (*Help* in view-mode) and made it work?  


Thanks.

david d [zoo] zuhn		Univ. of Minnesota Dept. of Astronomy
zoo@aps1.spa.umn.edu		      Automated Plate Scanner Project