all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Mark Oteiza <mvoteiza@udel.edu>
Cc: Richard Copley <rcopley@gmail.com>,
	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:58:27 -0400	[thread overview]
Message-ID: <CAM-tV-9Azxs6LD6Kxui9q_3bse1O0En=wNmyC+5ZtWZiNvRu+w@mail.gmail.com> (raw)
In-Reply-To: <20161105003402.GA30846@holos.localdomain>

On Fri, Nov 4, 2016 at 8:34 PM, Mark Oteiza <mvoteiza@udel.edu> 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.





  reply	other threads:[~2016-11-05  0:58 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
2016-11-05  0:58                   ` Noam Postavsky [this message]
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='CAM-tV-9Azxs6LD6Kxui9q_3bse1O0En=wNmyC+5ZtWZiNvRu+w@mail.gmail.com' \
    --to=npostavs@users.sourceforge.net \
    --cc=24873@debbugs.gnu.org \
    --cc=mvoteiza@udel.edu \
    --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.