home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!cis.ohio-state.edu!src.bae.co.UK!moore
- From: moore@src.bae.co.UK (Chris Moore)
- Subject: Two ideas for implementing repeat-last-command
- Message-ID: <9207241117.AA27771@sun19.src.bae.co.uk>
- Sender: daemon@cis.ohio-state.edu
- Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
- References: <1992Jul23.211824.29843@ee.ryerson.ca>
- Date: Fri, 24 Jul 1992 11:17:43 GMT
- Lines: 26
-
-
- lfernand@ca.ryerson.ee (luis fernandes) said:
-
- > The following two ideas for implementing repeat-last-command dawned
- > on me while reading the GNU Emacs manual:
-
- > [1] Write a lisp program that parses output from 'view-lossage' and binds
- > it to a key that will repeat-last-command. Everything between either a
- > C- or M- and RET.
-
- > [2] [something similar to [1] in essence]
-
- I'm not sure whether this would be useful. Why start at C- and M- and end
- at RET? Is that just an arbitrary choice, or is there some reasoning
- there? It seems that if I do some complex sequence of commands which I
- which to repeat, it's quite likely to contain C- M- or RET somewhere in the
- middle of the sequence. Isn't it better to have two distinct key sequences
- (say, "C-x (" and "C-x )") which explicitly tell emacs when top start and
- top recording?
-
- Assuming you're not thinking of storing complex command sequences, you can
- generally use "C-x ESC" to repeat previous commands.
-
- I'm probably being dense here, but I don't really see your point.
-
- Chris.
-