all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Oteiza <mvoteiza@udel.edu>
To: Richard Copley <rcopley@gmail.com>
Cc: Stephen Berman <stephen.berman@gmx.net>, 24873@debbugs.gnu.org
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	[thread overview]
Message-ID: <20161105003402.GA30846@holos.localdomain> (raw)
In-Reply-To: <20161104233540.GA26298@holos.localdomain>

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)))))





  reply	other threads:[~2016-11-05  0:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-04 10:54 bug#24873: 26.0.50; isearch-query-replace from regexp isearch doesn't add to replace-regexp history list Richard Copley
2016-11-04 11:02 ` Eli Zaretskii
2016-11-04 11:16   ` Richard Copley
2016-11-04 19:03     ` Richard Copley
2016-11-04 19:35       ` Mark Oteiza
2016-11-04 19:59         ` Stephen Berman
2016-11-04 20:53           ` Mark Oteiza
2016-11-04 21:16             ` Richard Copley
2016-11-04 22:03               ` Stephen Berman
2016-11-04 23:35               ` Mark Oteiza
2016-11-05  0:34                 ` Mark Oteiza [this message]
2016-11-05  0:58                   ` Noam Postavsky
2016-11-13  2:42                     ` npostavs
2016-11-05 12:18                   ` Richard Copley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161105003402.GA30846@holos.localdomain \
    --to=mvoteiza@udel.edu \
    --cc=24873@debbugs.gnu.org \
    --cc=rcopley@gmail.com \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.