[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: History for query replace pairs
From: |
Juri Linkov |
Subject: |
Re: History for query replace pairs |
Date: |
Sat, 09 Aug 2014 02:38:15 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
> The question is: how could it be integrated into the current
> query-replace interface, that is how could the user choose
> from a history of defaults (if he does not want to choose the
> latest default which he can access with RET).
Since the default values are displayed in a special format
using an arrow
Query replace (default from1 -> to1):
a history navigation key should bring the pair into the minibuffer
in the same format like
Query replace (default from1 -> to1): from2 -> to2
Then the user has to be careful to not remove the arrow
while editing the inserted values in the minibuffer.
Another problem is how to parse such format
when a from/to value contains the arrow "->"
Query replace (default from1 -> to1): from2 -> from2 -> to2 -> to2