Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!utah-cs!utah-gr!thomas From: thomas@utah-gr.UUCP (Spencer W. Thomas) Newsgroups: net.emacs Subject: Re: Key Bindings in GNU Emacs Message-ID: <1794@utah-gr.UUCP> Date: Wed, 3-Sep-86 12:34:26 EDT Article-I.D.: utah-gr.1794 Posted: Wed Sep 3 12:34:26 1986 Date-Received: Thu, 4-Sep-86 21:37:53 EDT References: <8609022340.AA10481@ucbvax.Berkeley.EDU> Reply-To: thomas@utah-gr.UUCP (Spencer W. Thomas) Organization: University of Utah CS Dept Lines: 16 In article <8609022340.AA10481@ucbvax.Berkeley.EDU> escott@BONNIE.UCI.EDU (Scott Menter) writes: >The way I've been doing this is something like the following: > >(defun scroll-up-one-line ( ) "Emulate the Gosling C-z" > (interactive) > (scroll-up 1)) >(global-set-key "whatever" 'scroll-up-one-line) Well, you can do this: (global-set-key "whatever" '(lambda () (interactive) (scroll-up 1))) but then you get a pretty ugly description from C-H c (it just repeats the lambda back at you). On the other hand, you don't clutter up the name space. -- =Spencer ({ihnp4,decvax}!utah-cs!thomas, thomas@utah-cs.ARPA)