GNU bug report logs - #12526
24.2.50; `query-replace-interactive' not always respected

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 27 Sep 2012 13:05:01 UTC

Severity: normal

Found in version 24.2.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 12526 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Juri Linkov'" <juri <at> jurta.org>, "'Dani Moncayo'" <dmoncayo <at> gmail.com>
Cc: 12526 <at> debbugs.gnu.org
Subject: RE: bug#12526: 24.2.50;
	`query-replace-interactive' not always respected
Date: Thu, 4 Oct 2012 07:15:15 -0700
FWIW, in my local version, `query-replace-read-(from|to)' provides defaults (in
order):

a. The secondary selection, if option `search/replace-2nd-sel-as-default-flag'
is non-nil.

b. Using the (function) value of option `search/replace-default-fn'.  This is a
thing-at-point function such as `non-nil-symbol-name-nearest-point' or
`word-at-point'.  If it returns a list of values then they are all available as
defaults.

c. Using `completing-read', if option `replace-w-completion-flag' is non-nil,
with default `query-replace-from-history-variable'.

d. The usual way, from the history list.

That gives the user a fair number of choices.





This bug report was last modified 12 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.