From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: xml-parse-file and text properties Date: Sat, 22 Jul 2006 12:15:34 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1153559754 32311 80.91.229.2 (22 Jul 2006 09:15:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2006 09:15:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 22 11:15:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G4DaS-0007on-9k for ged-emacs-devel@m.gmane.org; Sat, 22 Jul 2006 11:15:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4DaR-000464-Ca for ged-emacs-devel@m.gmane.org; Sat, 22 Jul 2006 05:15:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G4DaF-00045q-RQ for emacs-devel@gnu.org; Sat, 22 Jul 2006 05:15:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G4DaD-00045Y-8R for emacs-devel@gnu.org; Sat, 22 Jul 2006 05:15:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4DaD-00045U-0f for emacs-devel@gnu.org; Sat, 22 Jul 2006 05:15:37 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G4Dao-0001Iq-8h for emacs-devel@gnu.org; Sat, 22 Jul 2006 05:16:14 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-215-253.inter.net.il [84.228.215.253]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id EFV27484 (AUTH halo1); Sat, 22 Jul 2006 12:15:33 +0300 (IDT) Original-To: JD Smith In-reply-to: (message from JD Smith on Fri, 21 Jul 2006 14:45:27 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57468 Archived-At: > From: JD Smith > Date: Fri, 21 Jul 2006 14:45:27 -0700 > > This is similar to the improved method Richard proposed yesterday > (insert-file-contents using a temporary buffer). Remarkably enough > (and highly surprising to me), even inserting the XML file contents in > a temporary buffer is enough to get '(fontified nil) text properties > added all over I don't see anything surprising here, since font-lock is now ON by default. You should be able to overcome this if you turn off font-lock-mode in the temporary buffer, before inserting the file's contents.