From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Newsgroups: gmane.emacs.help Subject: command-history-repeat used with query-search Date: Fri, 1 Mar 2013 14:53:51 -0800 (PST) Message-ID: <0c1caef0-99ef-4413-b7f0-a178fea27d2f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362207762 31519 80.91.229.3 (2 Mar 2013 07:02:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Mar 2013 07:02:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 02 08:03:04 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 1UBgTH-0007Iv-Fr for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 08:03:03 +0100 Original-Received: from localhost ([::1]:33916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBgSv-0005u8-8I for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 02:02:41 -0500 X-Received: by 10.224.213.197 with SMTP id gx5mr6337483qab.8.1362178431583; Fri, 01 Mar 2013 14:53:51 -0800 (PST) X-Received: by 10.49.75.66 with SMTP id a2mr373725qew.21.1362178431540; Fri, 01 Mar 2013 14:53:51 -0800 (PST) Original-Path: usenet.stanford.edu!dd2no4255019qab.0!news-out.google.com!y6ni621qaj.0!nntp.google.com!dd2no4255007qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.89.145.141; posting-account=czAMxQoAAAAUEojshw4CrIvcwSdulymE Original-NNTP-Posting-Host: 108.89.145.141 User-Agent: G2/1.0 Injection-Date: Fri, 01 Mar 2013 22:53:51 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:197030 X-Mailman-Approved-At: Sat, 02 Mar 2013 02:02:25 -0500 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:89316 Archived-At: I was frustrated that when I wanted to repeat use of "query-search" in a bu= ffer, using "list-command-history" and "command-history-repeat" (bound to "= x"), I wasn't able to watch the stepping through the buffer of interest, be= ing asked each time if I wished to make the substitution and seeing the lin= e of code that I was being queried about. I decided to modify function "command-history-repeat" so that I could watch= "query-search" operate. My elisp skills needed some exercise, so I did so= . After writing the modified code, I did a search to see if anyone else had d= one something similar. I didn't find anything. Please comment if I overlo= oked something. I am using GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN