GNU bug report logs - #9871
`query-replace' and friends break text properties

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Štěpán Němec <stepnem@HIDDEN>; dated Tue, 25 Oct 2011 22:29:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Oct 2011 22:28:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 25 18:28:11 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RIpTf-0007yp-6y
	for submit <at> debbugs.gnu.org; Tue, 25 Oct 2011 18:28:11 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <stepnem@HIDDEN>) id 1RIpTd-0007ye-I1
	for submit <at> debbugs.gnu.org; Tue, 25 Oct 2011 18:28:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stepnem@HIDDEN>) id 1RIpRw-0003sb-2s
	for submit <at> debbugs.gnu.org; Tue, 25 Oct 2011 18:26:25 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:48721)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stepnem@HIDDEN>) id 1RIpRw-0003sX-1M
	for submit <at> debbugs.gnu.org; Tue, 25 Oct 2011 18:26:24 -0400
Received: from eggs.gnu.org ([140.186.70.92]:50922)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stepnem@HIDDEN>) id 1RIpRv-0001kF-5w
	for bug-gnu-emacs@HIDDEN; Tue, 25 Oct 2011 18:26:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stepnem@HIDDEN>) id 1RIpRt-0003s2-SQ
	for bug-gnu-emacs@HIDDEN; Tue, 25 Oct 2011 18:26:23 -0400
Received: from mail-fx0-f41.google.com ([209.85.161.41]:39484)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stepnem@HIDDEN>) id 1RIpRt-0003rs-Hh
	for bug-gnu-emacs@HIDDEN; Tue, 25 Oct 2011 18:26:21 -0400
Received: by faat2 with SMTP id t2so1332551faa.0
	for <bug-gnu-emacs@HIDDEN>; Tue, 25 Oct 2011 15:26:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=from:to:subject:date:message-id:mime-version:content-type
	:content-transfer-encoding;
	bh=UUVYpFYs+Pkox8bfPsk1RZI4YHWVeiWxMcHSI+tNZZQ=;
	b=RfU1PHcGg8lQ5D1VHmRWYfeZ/7r5dd1cRrmuiO9lz9RYNaNOYkK1hSEj+HBs5MBSlz
	r1S8y3tYtDPI9OIAQ8tAYjIMbxNHOc7h1N1MOEEZrSr1cdVACIHvKNaZg7LOx4cH0pTu
	8bm36LE6jaL/EkAC2LaqBiox86Gi/Xrv+Qoqo=
Received: by 10.223.63.206 with SMTP id c14mr54098654fai.7.1319581580563;
	Tue, 25 Oct 2011 15:26:20 -0700 (PDT)
Received: from localhost (176.119.broadband10.iol.cz. [90.177.119.176])
	by mx.google.com with ESMTPS id 5sm129027fad.9.2011.10.25.15.26.19
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 25 Oct 2011 15:26:20 -0700 (PDT)
From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= <stepnem@HIDDEN>
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Subject: `query-replace' and friends break text properties
Date: Wed, 26 Oct 2011 00:20:35 +0200
Message-ID: <87fwig4sss.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -4.9 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.9 (----)

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.

--=20
=C5=A0t=C4=9Bp=C3=A1n




Acknowledgement sent to Štěpán Němec <stepnem@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#9871; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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