Subject: bug#9871: `query-replace' and friends break text properties

From: Štěpán Němec <[email-masked]>
Date: Wed, 26 Oct 2011 00:20:35 +0200

emacs -Q
(put-text-property (point-min) (point) 'oh-no! t)
M-<
M-% buffer RET fluffer RET y

Whoops, the property's gone in the replaced text.

The replacement commands should honour text properties just as
`self-insert-command' does.

-- 
Štěpán