From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Subtle bugs in interval code. Date: Fri, 23 Mar 2007 18:32:34 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1174689290 25149 80.91.229.12 (23 Mar 2007 22:34:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2007 22:34:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 23 23:34:43 2007 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 1HUsLK-00015j-Q2 for ged-emacs-devel@m.gmane.org; Fri, 23 Mar 2007 23:34:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUsNH-0000Cj-Bt for ged-emacs-devel@m.gmane.org; Fri, 23 Mar 2007 17:36:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUsNE-0000A6-M8 for emacs-devel@gnu.org; Fri, 23 Mar 2007 18:36:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUsNE-00008c-61 for emacs-devel@gnu.org; Fri, 23 Mar 2007 18:36:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUsNE-00008O-3v for emacs-devel@gnu.org; Fri, 23 Mar 2007 17:36:40 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUsLG-0000Tw-RE for emacs-devel@gnu.org; Fri, 23 Mar 2007 18:34:38 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HUsJG-0002kn-Is; Fri, 23 Mar 2007 18:32:34 -0400 In-reply-to: (storm@cua.dk) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:68435 Archived-At: Studying the code in interval.c for merge_properties and intervals_equal, I noticed that they use Fmemq to search for a given property on a plist. This is a simple thing, so how about writing an explicit loop in those two places, which does exactly the right thing? No need to make it a subroutine. It probably should not do QUIT;.