From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: do-after-load-evaluation Date: Fri, 23 Jun 2006 14:14:02 +0200 Message-ID: <85d5d0gjcl.fsf@lola.goethe.zz> References: <20060622202234.818245.FMU5392@piglet.prv.splode.com> <87sllwxpit.fsf@pacem.orebokech.com> <85lkroi94c.fsf@lola.goethe.zz> <87k678xe93.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151064899 15976 80.91.229.2 (23 Jun 2006 12:14:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jun 2006 12:14:59 +0000 (UTC) Cc: emacs-devel@gnu.org, Noah Friedman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 23 14:14:57 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 1FtkYl-0004mU-O9 for ged-emacs-devel@m.gmane.org; Fri, 23 Jun 2006 14:14:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtkYl-00052X-1t for ged-emacs-devel@m.gmane.org; Fri, 23 Jun 2006 08:14:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FtkYa-00052Q-79 for emacs-devel@gnu.org; Fri, 23 Jun 2006 08:14:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FtkYY-00052E-Tf for emacs-devel@gnu.org; Fri, 23 Jun 2006 08:14:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtkYY-00052B-Nw for emacs-devel@gnu.org; Fri, 23 Jun 2006 08:14:38 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ftkjl-0004x8-0C for emacs-devel@gnu.org; Fri, 23 Jun 2006 08:26:13 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FtkYY-0002FV-1j; Fri, 23 Jun 2006 08:14:38 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E200D1C4D3B5; Fri, 23 Jun 2006 14:14:02 +0200 (CEST) Original-To: Romain Francoise In-Reply-To: <87k678xe93.fsf@pacem.orebokech.com> (Romain Francoise's message of "Fri, 23 Jun 2006 14:12:08 +0200") 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:56117 Archived-At: Romain Francoise writes: > David Kastrup writes: > >> Any reason this is not "\\(\\`\\|/\\)foo\\(\\.elc?\\)?\\(\\.gz\\)?\\'" >> instead (should perform better)? > > The regexp is built from `load-suffixes' in a place where we can't use > regexp-opt, so it's a simple mapconcat... I'm not sure if performance > is an important factor in this context, anyway. > >> And is there a reason that .elc? is optional? > > I don't know about that... it's probably just to make the code do the > same thing as it did before the change. Probably to catch (load "foo"). Ok. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum