From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: simgle repeat? Date: 12 Apr 2005 18:28:45 GMT Organization: IBM T.J. Watson Research Center Message-ID: <425c135d_4@news1.prserv.net> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1113329880 23546 80.91.229.2 (12 Apr 2005 18:18:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2005 18:18:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 12 20:17:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DLPwV-0003n4-JL for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Apr 2005 20:16:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DLPWr-0002L4-TN for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Apr 2005 13:50:25 -0400 X-Newsreader: xrn 9.02 Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: yktgi01e0-s5.watson.ibm.com Original-X-Trace: 12 Apr 2005 18:28:45 GMT, yktgi01e0-s5.watson.ibm.com Original-Lines: 20 Original-X-Complaints-To: abuse@prserv.net Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!newsfeed.us.prserv.net!prserv.net!news1.prserv.net!alpha.watson.ibm.com!kgold Original-Xref: shelby.stanford.edu gnu.emacs.help:130045 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25609 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25609 Rui Tiago Matos writes: > One vim feature which is really handy (and my vim user house mate is > always teasing me about :-) is the single repeat command aka "dot" or > "."[1] > > So is there anyway to have anything like it in emacs? keyboard macros are a more powerful version of the dot command. Start recording, do anything you want, and stop recording. When you play back the macro, it reruns the keystrokes, They can of course include insert and delete and cursor movement, but also cut and paste, transpose, case changes, searching, saving a file, editing a file, go to next instance of a grep list, etc. For me, keyboard macros are what makes emacs #1. -- Ken Goldman kgold@watson.ibm.com 914-784-7646