[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: History for query replace pairs
From: |
Drew Adams |
Subject: |
RE: History for query replace pairs |
Date: |
Tue, 14 Oct 2014 14:19:48 -0700 (PDT) |
> > If you want to reuse a previous old/new replacement pair,
> > just use `C-x ESC ESC'. You have `M-p' or `M-r' to choose
> > which previous pair to reuse. And you can edit such a choice.
> >
> > What's the problem?
>
> There are no previous replacement pairs in `C-x ESC ESC'
> when M-% is invoked from isearch.
Really? That's what this all is about - `M-%' from Isearch?
I just searched this 3-month-long thread for `M-%' and found
_one_ occurrence of `M-%', and that occurrence had nothing to
do with being invoked during Isearch.
And I searched the entire thread separately for "isearch",
and found _no_ occurrences of that. Sure, it's still
possible that I missed some indirect mention of the problem
of invoking `M-%' from Isearch.
But it's truly hard to imagine that the discussion has been
focused for 3 months on finding a solution to the
`M-%'-in-isearch-default-pairs problem.
Why would a discussion of this wander all over the map for
3 months, and never once mention `M-%' during Isearch, if
that is in fact the only real use case that is problematic?
Why wait until I ask about `C-x ESC ESC' to focus on the
problem? (I mentioned `C-x ESC ESC' the first day of this
thread, BTW, but no one responded.)
This is much ado about nothing, AFAICT. Misplaced zeal,
perhaps.
If you want to find a way to pick up previous `M-%' pairs
for `M-%' when it is invoked from Isearch, then just do that.
Find a reasonable solution for Isearch, if it is an
Isearch-specific problem (as it seems to be).
If `C-x ESC ESC' is otherwise adequate (with `M-p' & `M-r')
for retrieving query-replace pairs, then maybe just use
`command-history', filtered for query-replace commands, to
supplement `M-%' during Isearch.
- Re: History for query replace pairs, (continued)
- Re: History for query replace pairs, Ted Zlatanov, 2014/10/05
- Re: History for query replace pairs, Tom, 2014/10/06
- Re: History for query replace pairs, Juri Linkov, 2014/10/06
- Re: History for query replace pairs, Juri Linkov, 2014/10/07
- Re: History for query replace pairs, Stefan Monnier, 2014/10/14
- Re: History for query replace pairs, Juri Linkov, 2014/10/14
- Re: History for query replace pairs, Alan Mackenzie, 2014/10/14
- Re: History for query replace pairs, Juri Linkov, 2014/10/14
- RE: History for query replace pairs, Drew Adams, 2014/10/14
- Re: History for query replace pairs, Juri Linkov, 2014/10/14
- RE: History for query replace pairs,
Drew Adams <=
- Re: History for query replace pairs, Alan Mackenzie, 2014/10/14
- Re: History for query replace pairs, Andreas Schwab, 2014/10/14
- Re: History for query replace pairs, Alan Mackenzie, 2014/10/14
- Re: History for query replace pairs, Andreas Schwab, 2014/10/14
- Re: History for query replace pairs, Stefan Monnier, 2014/10/21
- Re: History for query replace pairs, Juri Linkov, 2014/10/21
- Re: History for query replace pairs, Stefan Monnier, 2014/10/22
- Re: History for query replace pairs, Artur Malabarba, 2014/10/23
- Re: History for query replace pairs, Juri Linkov, 2014/10/25
- Re: History for query replace pairs, Artur Malabarba, 2014/10/25