From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: Resume-ing a query-replace Date: Wed, 5 Jun 2013 08:10:56 -0400 Message-ID: References: <3eb6e12f-843b-46fb-8196-533f035d5d05@googlegroups.com> <9d25d71e-2f98-45d7-898f-d7480aa3d2a0@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1370434312 7276 80.91.229.3 (5 Jun 2013 12:11:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2013 12:11:52 +0000 (UTC) Cc: emacs To: Alan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 05 14:11:53 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 1UkCZF-0007ie-Hv for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jun 2013 14:11:53 +0200 Original-Received: from localhost ([::1]:46755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkCZE-000240-Jn for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jun 2013 08:11:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkCZ3-00023a-KS for help-gnu-emacs@gnu.org; Wed, 05 Jun 2013 08:11:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkCYy-0001EP-PI for help-gnu-emacs@gnu.org; Wed, 05 Jun 2013 08:11:41 -0400 Original-Received: from mail-vc0-f174.google.com ([209.85.220.174]:61886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkCYy-0001EI-KW for help-gnu-emacs@gnu.org; Wed, 05 Jun 2013 08:11:36 -0400 Original-Received: by mail-vc0-f174.google.com with SMTP id kw10so1037747vcb.19 for ; Wed, 05 Jun 2013 05:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LltPA51kcKzIMd3Nskgl2wiNZbMuv0u5hVISmT1wZtw=; b=Wfv/XbbzpTG9L+EtoQfRZyV+XNrmapmrK2+bnnJFmOYqJUKpYtbCiZvcmmf1s6srZ/ LEoetiO38O9SeO5u376gXE7EpzPjXQBicO8qL95KAPrNVK0ThIXwIhDSut3dwDkSa1Iv CcEcGOrhfbp7q6n1/7DiCira9DGUxMZ4KLHz4XSyjGuTqea3q3Zdtg38h6goOvbWBIEp odRILFVx4Z/zajWL/xb8CfK6irDH5XcUQtzkNFeKVNdljQ3fHnIhqtb85CJRk89qottF bhNpuvR8EBZ8IE07xZ1ANt4xpLWq3ktAy17qo1u3KShuiCcmbQUgz2PfqxNMzuGP9CkV BfVg== X-Received: by 10.220.85.66 with SMTP id n2mr20581087vcl.31.1370434296304; Wed, 05 Jun 2013 05:11:36 -0700 (PDT) Original-Received: by 10.220.50.78 with HTTP; Wed, 5 Jun 2013 05:10:56 -0700 (PDT) In-Reply-To: <9d25d71e-2f98-45d7-898f-d7480aa3d2a0@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.174 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:91321 Archived-At: On Tue, Jun 4, 2013 at 11:31 PM, Alan wrote: > On Sunday, June 2, 2013 6:41:03 AM UTC-5, Tim Visher wrote: >> On Sat, Jun 1, 2013 at 9:43 AM, Alan wrote: >> > On Thursday, May 30, 2013 10:35:20 AM UTC-5, gentsquash wrote: >> >> The doc for `dired-do-query-replace-regexp' has >> >> >> >> "...If you exit (C-g, RET or q), you can >> >> resume the query replace with the command M-<." >> >> >> >> Is there a version of `query-replace-regexp' with that same >> >> "resume" feature? [Possibly bound to a different key] >> >> > Have you considered command "repeat-complex-command"? >> >> The only way that would be useful is if you've done nothing else since >> the last query-replace operation. It might be helpful, but probably >> not. >> > "repeat-complex-command" can refer to more than just the last executed command. One can even use a regexp to specify which command to go back to. Interactive function "command-history" illustrates the possibilities. Wow. Another really useful Emacs feature I had no idea existed! http://www.gnu.org/software/emacs/manual/html_node/emacs/Repetition.html When you initially responded I thought that repeat-complex-command was what executed when I typed `C-x z`. Notably, I suppose, is that isearch commands are not typically included in that list, but they can be made to be. Thanks! -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail