Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!mcvax!cernvax!ethz!ethz-inf!wyle From: wyle@inf.ethz.ch (Mitchell Wyle) Newsgroups: comp.lang.modula2 Subject: Re: EMACS Binding for Modula-2 Keywords: vi does it better Message-ID: <332@ethz-inf.UUCP> Date: 17 Jul 89 13:52:55 GMT References: <8907062021.AA13058@thinman.ctc.contel.com> <54474@tut.cis.ohio-state.edu> Reply-To: wyle@inf.ethz.ch Organization: ETH Zurich Lines: 65 In article <54474@tut.cis.ohio-state.edu> Doug Kerr writes: >In article <8907062021.AA13058@thinman.ctc.contel.com> Modula2 List writes: >>Does anyone have a set of macros for a syntax directed editor (or at least a >>set of skeleton templates) for Modula-2 and Emacs that they would like to >>share. >GNU Emacs contains a Modula-2 editing support package. ...and it ain't so good. I watched the emacs fanatics use it and explain how great it is before porting professor Gutknecht's sara macro set to vi. The "electric modula2" emacs macro set which comes with gnu has the following shortcomings: 1. It is not orthogonal. Some macros are 4 keystrokes, others are 2, still others are command-meta-shift-control-left-toe-under-up 7. 2. It saves an average of 5 keystrokes a pop, not 25 (like mine) 3. It's in emacs (blech) and if your box doesn't have emacs you're sol. (that's "sh*t out of luck" for you non anglo-people) Here (once again) is Mitch's port of Gutknecht's sara modula-2 macro package in vi map macros: begin 644 elec.m2.exrc M(@HB(%1H92!S87)A(&UA8W)O('-E="!T