Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!rutgers!ll-xn!mit-eddie!mit-amt!mob From: mob@mit-amt.MIT.EDU (Mario O. Bourgoin) Newsgroups: net.unix-wizards Subject: Re: Vi vs. Emacs -- the religious wars start again... Message-ID: <382@mit-amt.MIT.EDU> Date: Tue, 21-Oct-86 21:56:10 EDT Article-I.D.: mit-amt.382 Posted: Tue Oct 21 21:56:10 1986 Date-Received: Wed, 22-Oct-86 05:49:36 EDT References: <4327@brl-smoke.ARPA> <357@maynard.UUCP> <113@twg-ap.UUCP> <847@cuuxb.UUCP> <1586@ncoast.UUCP> Reply-To: mob@media-lab.UUCP (Mario O. Bourgoin) Organization: MIT Media Lab Lines: 31 In article <1586@ncoast.UUCP> allbery@ncoast.UUCP writes: >| And one volley for the other side: I really like to be able to say >| "15j" to go down 15 lines, and "40a -" to be able to make an >| 80 column dashed line. Does Emacs, (or any other editor, for that >| matter) provide this repeat n times facility? (this is not a >| rhetorical question, I don't know...) > >That trick is impossible in modeless editors without a "temporary macro" >feature that can be repeated; TECO comes to mind... In GnuEmacs, it is a matter of saying ^u. In JOVE, you can say Escape. >+--------------- >| P.S. A Challenge to those Other Editor users, I can write a vi macro to >| reverse the words on a line... can you? >+--------------- > >A macro to do that would be ugly. Or worse, impossible to understand because >of "little tricks". In Emacs, you write a function to do that kind of thing. If I'm allowed to use numeric arguments to tell the macro how many words there are, easily and clearly. Otherwise, it is simpler to use a function. I do agree that it serves little purpose to argue editors. Emacses could include better functions to handle words and lines. I say, whatever works for you. I just wanted to show that Emacs does work for me. --Mario O. Bourgoin