From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: xml-parse-file and text properties Date: Tue, 25 Jul 2006 10:00:13 -0400 Message-ID: References: <41021.128.165.123.18.1153773482.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153836107 794 80.91.229.2 (25 Jul 2006 14:01:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Jul 2006 14:01:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 25 16:01:45 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 1G5NTS-0002A7-Ji for ged-emacs-devel@m.gmane.org; Tue, 25 Jul 2006 16:01:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5NTO-00084g-QF for ged-emacs-devel@m.gmane.org; Tue, 25 Jul 2006 10:01:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G5NTD-00084N-6W for emacs-devel@gnu.org; Tue, 25 Jul 2006 10:01:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G5NT8-00083m-WC for emacs-devel@gnu.org; Tue, 25 Jul 2006 10:01:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5NT8-00083j-RG for emacs-devel@gnu.org; Tue, 25 Jul 2006 10:01:06 -0400 Original-Received: from [209.226.175.4] (helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G5NU2-00089m-07; Tue, 25 Jul 2006 10:02:07 -0400 Original-Received: from localhost ([70.55.146.79]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060725140016.KYDR27612.tomts16-srv.bellnexxia.net@localhost>; Tue, 25 Jul 2006 10:00:16 -0400 Original-Received: by localhost (Postfix, from userid 20848) id AD89390A6; Tue, 25 Jul 2006 10:00:13 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Mon, 24 Jul 2006 23:09:30 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:57609 Archived-At: > It seems cleaner to me to define a property symbol (like `composition' or > `fontified') as "necessary" to the text if it (the symbol) has a non-nil > value for one of its properties -- say, `necessary', or `textual'. Then > there could be `strip-superficial-properties' that removed text properties > whose names lacked the property. > I think that is a good idea. Maybe an approach along the lines of what we do with front-sticky would make sense, this way every particular use of a property can be separately marked as needing to be kept or not. Stefan