[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: History for query replace pairs
From: |
Stefan Monnier |
Subject: |
Re: History for query replace pairs |
Date: |
Sat, 25 Oct 2014 22:29:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Below is a preliminary implementation. However, there is a problem
> that after saving it to the desktop or savehist, and restoring back
> FROM-TO string pairs in the history lose text-properties.
> If there is no way to save text properties then perhaps we should have
> two history variables: one with cons pairs (FROM . TO) to save
> in the desktop, and another with a list of strings "FROM<separator>TO"
> to use in `read-from-minibuffer', and keep these two variables in sync.
We definitely shouldn't store the pairs as a single string.
But do we really need to change the history vars at all?
I mean, we currently manage to extract "the last pair" from the current
history vars, so can't we extend this hack?
Stefan
- Re: History for query replace pairs, (continued)
- 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
- Re: History for query replace pairs, Stefan Monnier, 2014/10/25
- Re: History for query replace pairs, Andreas Schwab, 2014/10/26
- Re: History for query replace pairs, Juri Linkov, 2014/10/25
- Re: History for query replace pairs,
Stefan Monnier <=
- Re: History for query replace pairs, Juri Linkov, 2014/10/26