emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replace history is broken for empty strings and/or duplicate entries


From: Juri Linkov
Subject: Re: replace history is broken for empty strings and/or duplicate entries
Date: Tue, 16 Nov 2004 18:09:44 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Tim Van Holder <address@hidden> writes:
> If a replacement is done to the empty string (i.e. if replace-string and
> its ilk are used to delete text), the replacement history does not cope
> well.
> It also ignores replacements where both sides are identical (an edge case,
> admittedly, as such replacements are pointless; however, I feel even
> pointless replacements should be kept in the history).

There is an unavoidable need to maintain a separate history of (from . to)
replacement pairs.  This would allow to get the last replacement pair
correctly.

And there is still open question about the best user interface to
access all previous replacement pairs from the replacement history.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]