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: text-property-any Date: Fri, 25 Jan 2008 10:51:56 -0500 Message-ID: References: <878x2erlbf.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201276375 1784 80.91.229.12 (25 Jan 2008 15:52:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2008 15:52:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 25 16:53:05 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JIQrT-0000aT-3z for ged-emacs-devel@m.gmane.org; Fri, 25 Jan 2008 16:52:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIQqx-0006jX-9c for ged-emacs-devel@m.gmane.org; Fri, 25 Jan 2008 10:52:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIQqt-0006iE-8p for emacs-devel@gnu.org; Fri, 25 Jan 2008 10:52:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIQqk-0006f3-VF for emacs-devel@gnu.org; Fri, 25 Jan 2008 10:52:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIQqk-0006f0-Pn for emacs-devel@gnu.org; Fri, 25 Jan 2008 10:52:14 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIQqi-0007nl-GN for emacs-devel@gnu.org; Fri, 25 Jan 2008 10:52:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CADOUmUfO+J95dGdsb2JhbACQJQEwnhF/ X-IronPort-AV: E=Sophos;i="4.25,251,1199682000"; d="scan'208";a="13210188" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 25 Jan 2008 10:51:56 -0500 Original-Received: from pastel.home ([206.248.159.121]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id FQY95356; Fri, 25 Jan 2008 10:51:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 73FDD858A; Fri, 25 Jan 2008 10:51:56 -0500 (EST) In-Reply-To: <878x2erlbf.fsf@escher.local.home> (Stephen Berman's message of "Fri, 25 Jan 2008 16:12:20 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:87493 Archived-At: > The value of (text-property-any start end 'foo "bar") is always nil, > because text-property-any in effect uses `eq' to check property values. > Would there be bad consequences if it used `equal' instead? There are places where code expects properties to be compared with `eq', yes. So we could add what you're requesting, but only as an option. E.g. add a "compare-function" option that can default to `eq' but can be set to anything else you fancy. Stefan