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 06:59:24 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: This is a simple question Date: 18 Oct 2001 09:55:44 -0400 Organization: NASA Goddard Space Flight Center Message-ID: 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> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1003413465 2689 128.183.220.71 (18 Oct 2001 13:57:45 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 18 Oct 2001 13:57:45 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:14885 Date: 2001-10-18T13:57:45+00:00 List-Id: "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! -- -- Stephe