From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky 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:58:27 -0400 Message-ID: References: <831syrld8g.fsf@gnu.org> <20161104193513.GA22185@holos.localdomain> <87lgwzc8y8.fsf@gmx.net> <20161104205329.GA24042@holos.localdomain> <20161104233540.GA26298@holos.localdomain> <20161105003402.GA30846@holos.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1478307571 13775 195.159.176.226 (5 Nov 2016 00:59:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2016 00:59:31 +0000 (UTC) Cc: Richard Copley , Stephen Berman , 24873@debbugs.gnu.org To: Mark Oteiza Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 05 01:59:23 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 1c2pKB-0000sg-EV for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Nov 2016 01:59:11 +0100 Original-Received: from localhost ([::1]:41640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2pKD-0007Xq-50 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Nov 2016 20:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2pK5-0007XZ-E6 for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2pK2-0000j5-Bx for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2pK2-0000iW-7S for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c2pK1-0005g8-PA for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 20:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Nov 2016 00:59:01 +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.147830751521790 (code B ref 24873); Sat, 05 Nov 2016 00:59:01 +0000 Original-Received: (at 24873) by debbugs.gnu.org; 5 Nov 2016 00:58:35 +0000 Original-Received: from localhost ([127.0.0.1]:45228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2pJb-0005fO-2m for submit@debbugs.gnu.org; Fri, 04 Nov 2016 20:58:35 -0400 Original-Received: from mail-oi0-f46.google.com ([209.85.218.46]:36584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2pJZ-0005fC-HV for 24873@debbugs.gnu.org; Fri, 04 Nov 2016 20:58:33 -0400 Original-Received: by mail-oi0-f46.google.com with SMTP id v84so185615785oie.3 for <24873@debbugs.gnu.org>; Fri, 04 Nov 2016 17:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=yBtT1SZKceVnYo+rEJuxiC6aOo7EL7xP4HhKdgUFkA8=; b=DVaqvIGwGHDHpgaMOmtwmJocqf830UFPJUa0p3WpFIFPvewemQ+XvTP7+LZWuciFXs 5yxfnSaVb7zVpmQ/AMqoY92LjVvjX5BNrfqBo7wOaerCkgVHjQ+OIa0iyTf9ZXQFolrv sSJ8sA5kIbTXwgeD8RYNm+hNN+7i0olaTHssn4v4VZcL5i1FCOn5oVKeh5uLMB6V5fIB rU934iDRtG1E7u5W52mNHcMVseDFYMNFlCGV+0pmias85qIJgzVy4VEDSkqa5rlxAJP+ eOH/TUWUgDsezfuoxT4j3dRXZi8MZSb4gu++e4Kjg8gWw6SFnqnS5VBOd3+nkur0awiP 5o+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=yBtT1SZKceVnYo+rEJuxiC6aOo7EL7xP4HhKdgUFkA8=; b=TKaNaxdb7MbyDc5iKdwNj6djYuExYnKmjT9WbZF9LIFdCkVlp1N1IZLC0DcFc7bx8o x2Xtarkz5bKnw8NgNPtQtBCckmE4r5qEv+CfufzbUnhr6G/IZaVa9J4+QvHKMDF91iQT 4/iWqrbvcX0Sn0yHeVRU8ZFyBwue1nhA1IXb0ffa4kV7FuxenD+70tkHrDXt4SsgxzoJ SWiKF2aA5fkbwfSpfamTaJkd9Wa8+naq8EMVKNu8K1F7h2T9iHj52kjaIx49AZtt8/F2 Y90ZBgNQfmj38JdzsVVufhApGUjvDO8wiOjeL/H6XLhs2NgvpTmxy3WwMkT8AwDzujm5 UjxA== X-Gm-Message-State: ABUngvd8dOif3uplNKEBjVzhnz114KBHn8mYVdGrKh++bRuwma3+zGKfQS9E6AaozOGmGcF3tjFpdlXlgYv/Yg== X-Received: by 10.157.20.176 with SMTP id d45mr13224143ote.2.1478307508029; Fri, 04 Nov 2016 17:58:28 -0700 (PDT) Original-Received: by 10.157.4.86 with HTTP; Fri, 4 Nov 2016 17:58:27 -0700 (PDT) In-Reply-To: <20161105003402.GA30846@holos.localdomain> X-Google-Sender-Auth: YKlSKxC1bHbvgoqFjS5zhEd-MFU 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:125363 Archived-At: On Fri, Nov 4, 2016 at 8:34 PM, Mark Oteiza wrote: > 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) I think you need make minibuffer-history into a dynamic variable for this to work.