From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: command-history-repeat used with query-search Date: Sat, 02 Mar 2013 13:19:16 +0530 Message-ID: <877glqgs1v.fsf@gmail.com> References: <0c1caef0-99ef-4413-b7f0-a178fea27d2f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362210594 19325 80.91.229.3 (2 Mar 2013 07:49:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Mar 2013 07:49:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 02 08:50:15 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 1UBhCu-0003Iq-L7 for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 08:50:12 +0100 Original-Received: from localhost ([::1]:44813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBhCZ-0000sQ-HH for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 02:49:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBhCO-0000sL-Bf for help-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:49:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBhCN-00030S-BV for help-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:49:40 -0500 Original-Received: from mail-pa0-f44.google.com ([209.85.220.44]:62698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBhCN-00030L-5O for help-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:49:39 -0500 Original-Received: by mail-pa0-f44.google.com with SMTP id kp1so2255410pab.17 for ; Fri, 01 Mar 2013 23:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=XXE3sQex4gh9dXRSvPENmHToF9+gXTiASd8m+MU8aE4=; b=c9cw4Fp5Tdtt4tKww4wyPQOj+EkQ17JrUr1APJOLqPqcMlsD3jDqrEixuQ1lLV/Vwb 03PRzqIlV6uC9vrGu8M1MlfmlYC8S1MhQzJMxwAiOUKO+nZYFrjp/jXY4hchiaKmFgLk CKvkkEm0RCC4mWc3K7xgwkl7f/rwALQA97H+ZjfVHXgmbP2p0bve1/WciaPOQvpRfSaW uvTCxRhFH+ujgks0tt867JncMx5eezATBckZLSeta9AXKhUZpAkpMtLyJr1ylipb2HHd QkWrqr+AgThGnOaKtF8p163UwrtLAuaMVjPHggNi/L2i1UzrvgUIUiayDtp4RHYOWTEh QXxg== X-Received: by 10.66.164.133 with SMTP id yq5mr22136148pab.160.1362210578092; Fri, 01 Mar 2013 23:49:38 -0800 (PST) Original-Received: from debian-6.05 ([115.241.67.54]) by mx.google.com with ESMTPS id f9sm15956257paz.12.2013.03.01.23.49.34 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 01 Mar 2013 23:49:36 -0800 (PST) In-Reply-To: <0c1caef0-99ef-4413-b7f0-a178fea27d2f@googlegroups.com> (Alan's message of "Fri, 1 Mar 2013 14:53:51 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.44 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:89318 Archived-At: Did you mean to show us the modified code? If yes, then you forgot to attach it. Alan writes: > I was frustrated that when I wanted to repeat use of "query-search" in > a buffer, using "list-command-history" and "command-history-repeat" > (bound to "x"), I wasn't able to watch the stepping through the buffer > of interest, being asked each time if I wished to make the > substitution and seeing the line 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 done something similar. I didn't find anything. Please comment > if I overlooked something. > > I am using > > GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN > --