Article View: gnu.emacs.help
Article #189397Re: *Help* buffer in view-mode?
From: Mike Williams
Date: Tue, 05 Mar 1991 17:32
Date: Tue, 05 Mar 1991 17:32
42 lines
2573 bytes
2573 bytes
+-- In article <9103042156.AA01444@aps1.spa.umn.edu> zoo@APS1.SPA.UMN.EDU ("david d [zoo] zuhn") writes:
|
| 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.
|
| [...etc...]
|
| Has someone done this (*Help* in view-mode) and made it work?
You may be better off to use ehelp.el, from the 18.55 distribution,
which defines an electric-help mode (using electric.el). This binds SPC
to scroll-down, DEL to scroll back, etc. and you can add further
key-bindings by changing electric-help-map. To give it a go, add the
following two lines to your ~/.emacs:
+--- .emacs ---
| (require 'ehelp) ; electric help
| (fset 'help-command ehelp-command) ; plug it in
As an aside, I personally try to stay away from view-mode, and use (a
modified version of) Wolfgang Rupprecht's more-mode instead. "more.el"
is available from the ohio-state elisp archives:
more 87-11-19
Wolgang Rupprecht, <wolgang@mgm.mit.edu,mit-eddie!mgm.mit.edu!wolfgang>
tut.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/as-is/more.el.Z
Just like more(1). Doesn't do a recursive edit.
--
/-------------------- byrd@comp.vuw.ac.nz --------------------\
| Mike Williams, Victoria University of Wellington, Aotearoa. |
\--- It's not an optical illusion, it just looks like one. ---/
(P.S. This account will probably disappear in early March.)
Technical Details
Message-ID:
<BYRD.91Mar5123239@embassy.comp.vuw.ac.nz>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!byrdReferences:
<9103042156.AA01444@aps1.spa.umn.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,2f3181b44e780ac X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-03-05 16:07:20 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!byrd From: Mike.Williams@comp.vuw.ac.nz (Mike Williams) Newsgroups: gnu.emacs.help Subject: Re: *Help* buffer in view-mode? Message-ID: <BYRD.91Mar5123239@embassy.comp.vuw.ac.nz> Date: 5 Mar 91 17:32:39 GMT References: <9103042156.AA01444@aps1.spa.umn.edu> Sender: news@comp.vuw.ac.nz (News Admin) Followup-To: gnu.emacs.help Organization: Dept. of Computer Science, Victoria Uni. of Wellington, NZ. Lines: 36 Nntp-Posting-Host: embassy.comp.vuw.ac.nz In-Reply-To: zoo@APS1.SPA.UMN.EDU's message of 4 Mar 91 21:56:52 GMT X-News-Software: GNUS 3.13