Xref: utzoo gnu.emacs.help:1350 comp.emacs:10239 Path: utzoo!utgpu!watserv1!watmath!uunet!samsung!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: zoo@APS1.SPA.UMN.EDU ("david d [zoo] zuhn") Newsgroups: gnu.emacs.help,comp.emacs Subject: *Help* buffer in view-mode? Message-ID: <9103042156.AA01444@aps1.spa.umn.edu> Date: 4 Mar 91 21:56:52 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: zoo@aps1.spa.umn.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 31 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