From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: repeat the last single shell command Date: Thu, 18 Jul 2013 13:35:15 +0200 Message-ID: <20130718113515.GA27804@kuru.dyndns-at-home.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1374147338 27032 80.91.229.3 (18 Jul 2013 11:35:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 11:35:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 18 13:35:40 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UzmUl-0006vL-HD for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jul 2013 13:35:39 +0200 Original-Received: from localhost ([::1]:56600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzmUl-0005FR-5k for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jul 2013 07:35:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzmUX-0005FL-Go for help-gnu-emacs@gnu.org; Thu, 18 Jul 2013 07:35:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzmUU-0007wR-7I for help-gnu-emacs@gnu.org; Thu, 18 Jul 2013 07:35:25 -0400 Original-Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:56033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzmUU-0007vu-0x for help-gnu-emacs@gnu.org; Thu, 18 Jul 2013 07:35:22 -0400 Original-Received: by mail-ee0-f42.google.com with SMTP id c4so1662132eek.29 for ; Thu, 18 Jul 2013 04:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=7W2A0d+CcV+pOdDEEuFQ1MydSwhe32FNO3klFOqkTJE=; b=U3mq1dBhJbVLs00+Pt2dhISHtZic57tS2/Vuv6gBxBRW5VxsTYfOYFXXDR50ysAa/y /VHm6deqOUDVkf1tsBnbhGriN7lj3Q3rLdIjm2ba/xMiD2MsIhu+BS7blOrZU7CrMyz5 26YTMo0c55Jhayso7aWWsiIqaMORtr+3DzXUS7Y8AfpulWvmd12KQbnhdU3vXNxjzytP qKO1weA34SKRW6QSuKkmjTIfFeVrKWQK2FfBGZfHunCUCvMXU417nSVK0Va3z2FnpGJP B0cKur1+TtdMn9KuCQgWBPFFcjsXuvb4xkP7kveqMIEgHPZwHvdXS0FY4scQbLzkUNZv Nggw== X-Received: by 10.15.33.132 with SMTP id c4mr11024571eev.12.1374147320024; Thu, 18 Jul 2013 04:35:20 -0700 (PDT) Original-Received: from kuru.dyndns-at-home.com ([2001:610:120:3001:f2de:f1ff:fe37:c76c]) by mx.google.com with ESMTPSA id n42sm18492904eeh.15.2013.07.18.04.35.17 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 18 Jul 2013 04:35:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92226 Archived-At: On Thu, Jul 18, 2013 at 11:55:40AM +0200, Luca Ferrari wrote: > On Thu, Jul 18, 2013 at 11:31 AM, yi lu wrote: > > Will "Up" arrow instead of "M-p" work? > > > > Yes, it works, but that's pretty much the same of M-p. I'd like to > know if there's some shortcut, let's say like M-!!, to immediatly > repeat the last command. Otherwise I have to define a function. Maybe you are looking for repeat-complex-command, C-x ESC ESC? -- Suvayu Open source is the future. It sets us free.