Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!ig!agate!garnet!weemba From: weemba@garnet.berkeley.edu (Matthew P Wiener) Newsgroups: comp.emacs Subject: Re: Wanted: REAL vi mode for GNU emacs Message-ID: <12789@agate.BERKELEY.EDU> Date: 30 Jul 88 08:22:33 GMT References: <380002@hpausla.HP.COM> <380006@hpausla.HP.COM> Sender: usenet@agate.BERKELEY.EDU Reply-To: weemba@garnet.berkeley.edu (Matthew P Wiener) Organization: Brahms Gang Posting Central Lines: 40 In-reply-to: cjh@hpausla.HP.COM (Clifford Heath) In article <380006@hpausla.HP.COM>, cjh@hpausla (Clifford Heath) writes: >Having looked further at vip mode, I'm sure it's fixable; here's my >list of fix requests (please post fixes here!) most severe first: I'm not going to fix these. Just clues for someone who wants to. >- Deletions to end of buffer don't work, e.g. Gdd, dG etc simply don't delete. That *should* be easy to fix. But I don't know if the code makes it so. >- Word movement uses the Emacs rules which are quite inferior to vi's A change in syntax-table would do that. >- After an insert, the cursor should stop on the last char inserted. Same goes > for $ which should go TO the last char on the line, not after the last. Sounds either trivial or grotty. >- There is no indication of end of buffer, You mean the "~"s? Oh wow, I forgot about them. Well, I suppose putting in 50 say fake "~"s in your buffer would be possible, and then doing a little extra dallying when you do a save. Yeah. >- and innocent movement > commands (j, +, etc) extend the buffer. That is positively gross. I rewrote next-line to not do that long long ago, but it's an incomplete fix to the general case. It's the only Stallmanism that I absolutely loathe. (How about a flag or something?) >- There are some superfluous 'Beginning of buffer' and 'End > of buffer' messages. Sounds like he's using (beginning-of-buffer) instead of (goto-char 1) etc. If so, it's easy to fix. ucbvax!garnet!weemba Matthew P Wiener/Brahms Gang/Berkeley CA 94720 "Nil sounds like a lot of kopins! I never got paid nil before!" --Groo