Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!pyramid!prls!philabs!ttidca!retix!derrell From: derrell@retix.retix.retix.com (Derrell Lipman) Newsgroups: comp.emacs Subject: Re: vi feature I miss Message-ID: Date: 2 Mar 89 18:33:25 GMT References: <600@usl> Sender: derrell@retix.retix.COM Organization: Retix, Santa Monica Lines: 29 In-reply-to: pml@usl's message of 24 Feb 89 14:43:51 GMT In article <600@usl> pml@usl (Patrick Landry) writes: > When I first starting working with Unix I used > vi. I now use emacs because I have a version > on every computer I use regularly. There is one > feature of vi I miss; the period key. This feature > repeats the last 'editing' command issued. I have > not found a feature of Gnu-emacs which does the > same thing without user intervention (extra keystrokes). > If there is such a command, I'd like to know about > it. i have often thought about implementing this feature, but i have not determined who to ascertain the "beginning" and "end" of a command. unlike vi, you do not go in and out of "modes" (e.g. insert mode) in emacs. in vi, if you go into insert mode and enter two pages of text and then press escape to exit insert mode, that whole insert (two pages) will be repeated if you type dot. if anyone has suggestions for determining "beginning" and "end" of a command, i will implement this feature. for the time being, keyboard macros are the closest we can come. -- --derrell (derrell@retix) ------------------------------------------------------------------------------ "The process of living is the process of reacting to stress."