From xemacs-m  Sun Jun  1 03:13:39 1997
Received: from elc1.dina.kvl.dk (elc1.dina.kvl.dk [130.225.40.228])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA18053
	for <xemacs-beta@xemacs.org>; Sun, 1 Jun 1997 03:13:38 -0500 (CDT)
Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by elc1.dina.kvl.dk (8.6.12/8.6.4) with ESMTP id KAA12320; Sun, 1 Jun 1997 10:12:07 +0200
Received: (abraham@localhost) by zuse.dina.kvl.dk (8.6.12/8.6.4) id KAA00973; Sun, 1 Jun 1997 10:13:35 +0200
To: xemacs-beta@xemacs.org
Subject: Xemacs text-property-bug with insert?
Organization: The Church of Emacs
X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM<U{B+4e{k79.Ya{~':DblFPCg$
 @60,BfLv2@SKZ19cMWK0/C'v;tM:|6B'R}U1rp6CL&kN({9<zF/V{:JCg27yC)9oZjeqcQawzKfiNL
 t9}`vjmK["dRQC/qGFQq"%u|Q`:6{"Rz}b(dnl_"3$Jtqimi>|8MBp/
From: Per Abrahamsen <abraham@dina.kvl.dk>
Date: 01 Jun 1997 10:13:35 +0200
Message-ID: <rjg1v2pwpc.fsf@zuse.dina.kvl.dk>
Lines: 19
X-Mailer: Gnus v5.4.46/Emacs 19.34
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


If you insert and evaluate the following in a clean buffer, the word
"hello" will be *bold* _*and*_ _underline_.  As I understand how text
properties are supposed to work, it should only be *bold*.

1234512345

(put-text-property 1 6 'face 'bold)
(put-text-property 6 11 'face 'underline)

(put-text-property 1 11 'front-sticky 't)
(put-text-property 1 11 'rear-nonsticky nil)
(put-text-property 1 11 'start-open nil)
(put-text-property 1 11 'end-open nil)

(save-excursion
  (goto-char 6)
  (insert "hello"))

