From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#24873: 26.0.50; isearch-query-replace from regexp isearch doesn't add to replace-regexp history list Date: Fri, 4 Nov 2016 20:34:02 -0400 Message-ID: <20161105003402.GA30846@holos.localdomain> References: <831syrld8g.fsf@gnu.org> <20161104193513.GA22185@holos.localdomain> <87lgwzc8y8.fsf@gmx.net> <20161104205329.GA24042@holos.localdomain> <20161104233540.GA26298@holos.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1478306151 25655 195.159.176.226 (5 Nov 2016 00:35:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2016 00:35:51 +0000 (UTC) User-Agent: Mutt/1.7+23 (87911ba95dae) (2016-08-17) Cc: Stephen Berman , 24873@debbugs.gnu.org To: Richard Copley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 05 01:35:47 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2owz-0002pt-Vz for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Nov 2016 01:35:14 +0100 Original-Received: from localhost ([::1]:41585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2ox2-0004CV-LS for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Nov 2016 20:35:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2owt-0004AH-KE for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2owo-0001xl-Pd for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:35:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2owo-0001xA-KI for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c2owo-00058E-9a for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Nov 2016 00:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24873-submit@debbugs.gnu.org id=B24873.147830605119653 (code B ref 24873); Sat, 05 Nov 2016 00:35:02 +0000 Original-Received: (at 24873) by debbugs.gnu.org; 5 Nov 2016 00:34:11 +0000 Original-Received: from localhost ([127.0.0.1]:45211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2ovy-00056u-SJ for submit@debbugs.gnu.org; Fri, 04 Nov 2016 20:34:11 -0400 Original-Received: from mail-qk0-f195.google.com ([209.85.220.195]:32799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2ovx-00056h-Sa for 24873@debbugs.gnu.org; Fri, 04 Nov 2016 20:34:10 -0400 Original-Received: by mail-qk0-f195.google.com with SMTP id x190so7029963qkb.0 for <24873@debbugs.gnu.org>; Fri, 04 Nov 2016 17:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7Sh77urMDCWeXG3QseN92TD4m6SyTjO7AAk6JgUvRXA=; b=0N84BXGDSkUdR6uq2Vg2itFv9vnXNyW/rd6rHDuKsLUV6x/08ighAj/yLmUb+FWHXi js6mpAwuqI/LZPVR9Pz18xYTX1q5dYtRf7mwPln1pdSvQUt+UzTrDjTNanizPFAAlJO9 Ixm0mpY3yiQoUgM3d5g8b6ajCHg83BYI42+XG7+wmjDe2dGtJzjA9AX0mjokduYeTjFk /+jmNXJYu0emhMmUooE/bjLH0wcgUAuQePGXQlONEF34iNGtVpp7MWr55P+hMeejYCYi nU1gChoFT0su1/WG0HEynP+ffhFOaeliSw4UFGMpiGBSkVx0eYCQKOiJTULOki23aeq+ RIhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7Sh77urMDCWeXG3QseN92TD4m6SyTjO7AAk6JgUvRXA=; b=Wj37b+6zqxalOxKmKCXjrLKxVrn5r07mGUQU15ZE15HoI58MFWiKY42SVJNRkE46JX vwnzQd7/94argTd9qvb4x3HlC+z8yWm4lNEw4HhHej/Tw9l7Aar/3DRaST54rXkVxctK KizM4ScgECBHfYZ+jCTS0MnhhK7uFMqxS5q9e4nlhSD6U5hjQGvk7WDNC3Vfdd+q1Ctr OdFVQf641SOLutDa8r9sPrB3MGOWsSvCPuP50jhE/2k79RffQlQ/+HBwRC6WRT49kQHV 2GEKNtHfPKDMrQwr2MH7KxPDHJYZTGtsce8Lz9B0bQqsRbmow6hPuqHBRjrEImw4b3hT W5/w== X-Gm-Message-State: ABUngvegU7qkGA0ZP7f8yQCWachXfYnGK5GrPDQhMKQXs9msLBaNlAk2bPnerva7YUeEdMue X-Received: by 10.55.162.79 with SMTP id l76mr15886853qke.17.1478306044194; Fri, 04 Nov 2016 17:34:04 -0700 (PDT) Original-Received: from holos.localdomain ([69.250.222.218]) by smtp.gmail.com with ESMTPSA id a187sm9252936qkg.25.2016.11.04.17.34.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2016 17:34:03 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id B981266231; Fri, 4 Nov 2016 20:34:02 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20161104233540.GA26298@holos.localdomain> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125362 Archived-At: Does the following fix it for you? diff --git a/lisp/replace.el b/lisp/replace.el index 4fc48d4..60948ef 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -198,7 +198,7 @@ query-replace-read-from (setq-local text-property-default-nonsticky (cons '(separator . t) text-property-default-nonsticky))) (if regexp-flag - (read-regexp prompt) + (read-regexp prompt nil 'minibuffer-history) (read-from-minibuffer prompt nil nil nil nil (car (if regexp-flag regexp-search-ring search-ring)) t)))))