Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!pacbell!pbhyf!rob From: rob@PacBell.COM (Rob Bernardo) Newsgroups: comp.mail.elm Subject: Re: Emacs motion keys for Elm 2.2 (^P and ^N) Keywords: emacs cursor motion thanks Message-ID: <5044@pbhyf.PacBell.COM> Date: 17 Apr 89 21:53:33 GMT References: <1350@gwusun.gwu.edu> Reply-To: rob@PacBell.COM (Rob Bernardo) Organization: Pacific * Bell, San Ramon, CA Lines: 26 +My co-worker John Kelso and I are both GNU emacs users, and had a +small patch to add ^P and ^N commands to scroll up and down the +messages. These commands work like the J and K (capitals) commands. +It is a relatively benign patch (2 extra lines in one file). So, for +all those Gnumacs lovers out there, the patch is at the end if this +message. A few things to be considered: 1. There is another place where command keystrokes are processed, src/showmsg_c.c, for processing a subset of the "index screen" commands while in "postpager mode". 2. You will need to update your help files to indicate the new command keystrokes, as well as help. c. 3. What are you going to do for emacs-like commands analogous to the existing 'j' and 'k' commands? (These are like the 'J' and 'K' commands but skip over deleted messages.) (And then, of course, is the Users.guide and Ref.guide.) -- Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library Email: ...![backbone]!pacbell!pbhyf!rob OR rob@pbhyf.PacBell.COM Office: (415) 823-2417 Room 4E850O San Ramon Valley Administrative Center Residence: (415) 827-4301 R Bar JB, Concord, California