Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!pa.dec.com!bacchus!mwm From: mwm@pa.dec.com (Mike (My Watch Has Windows) Meyer) Newsgroups: comp.sys.amiga.introduction Subject: Re: CYGNUS vs GNU (Was Re: Emacs for the Amiga 1000 ? (MicroEmacs?)) Message-ID: Date: 25 Jan 91 17:26:19 GMT References: <1991Jan10.010629.6752@unicorn.cc.wwu.edu> <633@caslon.cs.arizona.edu><4798@media-lab.MEDIA.MIT.EDU><1991Jan11.001849.954 9@zorch.SF-Bay.ORG> <1881dceb.ARN09670@prolix.ccadfa.oz.au><4849@media-lab.MEDIA.MIT.EDU><1891004e.ARN263f@starsoft> <1894a191.ARN2788@prolix.ccadfa.oz.au> Sender: news@pa.dec.com (News) Followup-To: comp.sys.amiga.introduction Distribution: comp Organization: Missionaria Phonibalonica Lines: 27 In-Reply-To: dac@prolix.ccadfa.oz.au's message of 25 Jan 91 15:51:13 GMT In article <1894a191.ARN2788@prolix.ccadfa.oz.au> dac@prolix.ccadfa.oz.au (Andrew Clayton) writes: If you have 'common macros', when you're building new macro's, it's kinda cute to press the key sequence to activate an EXISTING macro whilst defining your new macro. Putting it another way, if I have a macro assigned the my "(" on my numeric keypad, and want to move it to the ")" key on the '0' key, I just do AM()AM, and it copies the macro to the new key. Therefore if you have your "common macro's" bound to strange keys, you can 'build' complex macros by adding them together in a new macro. I kinda like the way mg does it better (naturally - I made it that way). If you run one macro while defining another, it just inserts the _keystrokes_. So you your example wouldn't copy the macro; the latter one would just invoke the earlier one. The reason I prefer this is that it allows me to do things like define a macro to indent N lines, using an "indent-line" macro. I can later switch to a mode where "indent-line" indents C code instead of text, and the indent N lines macro works as you'd expect.