From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8bc34e14e4555720 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-18 09:10:42 PST Path: archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news1.tor.metronet.ca!nnrp1.tor.metronet.ca!not-for-mail Message-ID: <3BCEFED0.2060302@home.com> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: This is a simple question References: <9pk4t7$tbm$1@trog.dera.gov.uk> <87zo762rta.fsf@deneb.enyo.de> <9pkc0r$m5j$1@trog.dera.gov.uk> <9pkddm$afh$1@nh.pace.co.uk> <9pvdp5$8im$1@nh.pace.co.uk> <3BC48598.80703@home.com> <87lmije4lt.fsf@deneb.enyo.de> <3BC5D230.6030702@home.com> <3BCB228E.1010700@home.com> <9qhsvv$e01$1@a1-hrz.uni-duisburg.de> <3BCDBC41.3070305@home.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Oct 2001 16:09:52 GMT NNTP-Posting-Host: 198.96.47.195 NNTP-Posting-Date: Thu, 18 Oct 2001 10:09:52 MDT Organization: MetroNet Communications Group Inc. Xref: archiver1.google.com comp.lang.ada:14897 Date: 2001-10-18T16:09:52+00:00 List-Id: Stephen Leake wrote: > "Warren W. Gay VE3WWG" writes: >>Georg Bauhaus wrote: >>>Warren W. Gay VE3WWG wrote: >>>:>>> On GNU Emacs, the command is called 'repeat', and it's bound to >>>'C-x >>>:>>> z' by default, and for subsequent invocations of this command, >>>'z' is :>>> sufficient. >>>: : Well, I tried it and its functionality is either broken, or left >>>: wanting. What I found was that while it works good for simple things >>>: (even their "complex repeat"), it did not work well for repeating >>>: the last executed macro. >>>I'm not sure if I understand this. If it is the last keyboard >>>macro you want to call, then C-x e does this, repeatedly if you >>>want... >> >>Let me explain: If you collect a macro with 3 steps in it, and >>you execute it with C-x e, then this executes the 3 steps of the >>macro (so far, so good). You then do C-x z, and it again executes >>the equivalent of C-x e, which performs the 3 steps again. This >>part is OK also. If you then now just do "z" (to further "repeat"), >>only the last step of the 3-step macro is executed. This is >>where it falls down. > > Ok. So keep doing C-x e. Or do C-u 5 C-x e to repeat it 5 times. Or > bind call-last-kbd-macro to a function key, say F3. Then you have a > single keystroke for repeating the last macro. > > You seem to be saying "since I can't repeat a macro with a single > keystroke, I won't use Emacs". That seems a very narrow view! But.. but, I _am_ using Emacs. Just not the same flavour as you. The other thing that this does say, is that this particular function is extremely useful to me. This was something that was well recognized by Prime's Emacs, which goes back to my first post on this subject. Doing C-x e to repeat is much too slow. Binding it to F3 to compensate for the weakness is not only a hack, its also inconvenient to reach, and is a form of editor "modality". It works, but seems more like a last resort to me. -- Warren W. Gay VE3WWG http://members.home.net/ve3wwg