> I don't think it makes sense to see "foo" here, since "foo" was never > used as replacement text.
It seems what you want is a separate history for each of from/to prompts. You can do this by the following settings: (defvar query-replace-from-history nil) (defvar query-replace-to-history nil) (setq query-replace-from-history-variable 'query-replace-from-history) (setq query-replace-to-history-variable 'query-replace-to-history) `query-replace-from-history-variable' and `query-replace-to-history-variable' are both defcustoms, but using Customize to set them doesn't make much sense, because anyway you have to put code in .emacs declaring new history variables with defvar. -- Juri Linkov http://www.jurta.org/emacs/ _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
