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: Refactoring of emacs-lisp/autoload.el Date: Thu, 14 Aug 2008 13:52:24 -0400 Message-ID: References: <20080812162333.GA7999@muc.de> <20080813141133.GC3010@muc.de> <20080814131739.GD2593@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218736497 1780 80.91.229.12 (14 Aug 2008 17:54:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 17:54:57 +0000 (UTC) Cc: Glenn Morris , Chong Yidong , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 14 19:55:48 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 1KTh2B-00017P-Ka for ged-emacs-devel@m.gmane.org; Thu, 14 Aug 2008 19:54:52 +0200 Original-Received: from localhost ([127.0.0.1]:54309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTh1F-0004JS-6t for ged-emacs-devel@m.gmane.org; Thu, 14 Aug 2008 13:53:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTgzs-0003pD-Fb for emacs-devel@gnu.org; Thu, 14 Aug 2008 13:52:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTgzr-0003oV-OZ for emacs-devel@gnu.org; Thu, 14 Aug 2008 13:52:28 -0400 Original-Received: from [199.232.76.173] (port=43466 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTgzr-0003oJ-KH for emacs-devel@gnu.org; Thu, 14 Aug 2008 13:52:27 -0400 Original-Received: from smtp-04.arnet.com.ar ([200.45.191.26]:37515) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KTgzr-0002Ty-0p for emacs-devel@gnu.org; Thu, 14 Aug 2008 13:52:27 -0400 Original-Received: (qmail 1553 invoked from network); 14 Aug 2008 17:50:38 -0000 Original-Received: from unknown (HELO ceviche.home) (200.117.153.208) by 0 with SMTP; 14 Aug 2008 17:50:38 -0000 Original-Received: by ceviche.home (Postfix, from userid 20848) id B84C6B40B9; Thu, 14 Aug 2008 13:52:24 -0400 (EDT) In-Reply-To: <20080814131739.GD2593@muc.de> (Alan Mackenzie's message of "Thu, 14 Aug 2008 13:17:39 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:102465 Archived-At: >> Yes, that sounds fine. > What I'll be doing is sorting the "no-autoloads" list so that it's in the > same order as the file entries. I can then loop through all the files, > testing in turn whether the file was a "no-autoload" or had its own > section, and take the appropriate action. That will mean never having to > search loaddefs.el for an entry, and not having to use `member' in the > "no-autoloads" list, since I will be stepping through both from start to > finish. Sounds fine. Tho using member hasn't been a problem until now (even with its O(n^2) behavior), so I wouldn't waste any time trying to avoid it. Stefan