From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.help Subject: Re: Hard to switch from vi Date: Wed, 11 Oct 2006 18:21:02 -0400 Message-ID: <877iz61okx.fsf@ashbery.wjsullivan.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160611674 14944 80.91.229.2 (12 Oct 2006 00:07:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2006 00:07:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 02:07:49 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXo6n-0002ZE-AK for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Oct 2006 02:07:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXo6m-0004mI-QK for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Oct 2006 20:07:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXo6W-0004kD-5x for help-gnu-emacs@gnu.org; Wed, 11 Oct 2006 20:07:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXo6U-0004io-U2 for help-gnu-emacs@gnu.org; Wed, 11 Oct 2006 20:07:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXo6U-0004iX-GZ for help-gnu-emacs@gnu.org; Wed, 11 Oct 2006 20:07:14 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GXoEb-0007ED-39 for help-gnu-emacs@gnu.org; Wed, 11 Oct 2006 20:15:37 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GXo6F-0002Rp-Nq for help-gnu-emacs@gnu.org; Thu, 12 Oct 2006 02:06:59 +0200 Original-Received: from m095e36d0.tmodns.net ([208.54.94.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Oct 2006 02:06:59 +0200 Original-Received: from john by m095e36d0.tmodns.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Oct 2006 02:06:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: m095e36d0.tmodns.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:wzPPN4Hf1hc17p32jLdCyk8D1A0= 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:37991 Archived-At: Wen Weng writes: > 2. Is there a repeat last command command like the dot command in vi? > You've gotten other answers to this; let me add repeat-complex-command. ,----[ C-h f repeat-complex-command RET ] | repeat-complex-command is an interactive compiled Lisp function in `simple.el'. | It is bound to , , , C-x M-:, C-x M-ESC. | (repeat-complex-command ARG) | | Edit and re-evaluate last complex command, or ARGth from last. | A complex command is one which used the minibuffer. | The command is placed in the minibuffer as a Lisp form for editing. | The result is executed, repeating the command as changed. | If the command has been changed or is not the most recent previous command | it is added to the front of the command history. | You can use the minibuffer history commands M-n and M-p | to get different commands to edit and resubmit. | | [back] `---- -- -John Sullivan -http://www.wjsullivan.net -GPG Key: AE8600B6