Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!ucbvax!ucdavis!iris!kwok From: kwok@iris.ucdavis.edu (Conrad Kwok) Newsgroups: comp.emacs Subject: Re: MicroEmacs 3.9e Message-ID: <1100@ucdavis.ucdavis.edu> Date: 12 Feb 88 00:31:17 GMT References: <4118@ptsfa.UUCP> Sender: uucp@ucdavis.ucdavis.edu Reply-To: kwok@iris.UUCP (Conrad Kwok) Organization: U.C. Davis - College of Engineering Lines: 32 In article <4118@ptsfa.UUCP> res@ptsfa.UUCP (stockwell-1140galaxy-Bob Stockwell) writes: > >2) Question: I don't like the way ^N jumps the screen when I try to scroll > the last line. Is there a way to scroll only one line at a time? > I don't know the reason for your first problem but for your second question, I have a suggestion. To scroll one line at a time at the bottom of the window, you may first move-window-down (^X ^N) and then goes to next-line (^N). If you don't want to type 3 control keys, you may define a macro to do it and then bind ^N to the execute that macro. For instance, assume you use macro 30: 30 store-macro !if &equal $cwline $wline move-window-down next-line !else next-line !endif !endm bind-to-key execute-macro-30 ^N Include the above lines in your .emacsrc or emacs.rc file -- Conrad internet: kwok@iris.ucdavis.edu csnet: kwok@ucd.csnet csnet: kwok%iris.ucdavis.edu@csnet.relay uucp: {ucbvax, uunet, lll-lcc, ...}!ucdavis!iris!kwok