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: FIXED!! Re: Clarification of eval-after-load [was: Problem mit symlinks, locate-library and load-history] Date: Sun, 21 May 2006 22:39:05 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1148265747 15020 80.91.229.2 (22 May 2006 02:42:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 May 2006 02:42:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 22 04:42:24 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 1Fi0NC-00055a-A6 for ged-emacs-devel@m.gmane.org; Mon, 22 May 2006 04:42:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi0NB-0000ei-JR for ged-emacs-devel@m.gmane.org; Sun, 21 May 2006 22:42:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fi0K3-0007rq-OI for emacs-devel@gnu.org; Sun, 21 May 2006 22:39:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fi0K2-0007qb-Og for emacs-devel@gnu.org; Sun, 21 May 2006 22:39:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi0K2-0007qJ-G6 for emacs-devel@gnu.org; Sun, 21 May 2006 22:39:06 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fi0Nw-0008BU-6F for emacs-devel@gnu.org; Sun, 21 May 2006 22:43:08 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Fi0K1-0002yU-4F; Sun, 21 May 2006 22:39:05 -0400 Original-To: Alan Mackenzie In-reply-to: (message from Alan Mackenzie on Sun, 21 May 2006 09:39:50 +0000 (GMT)) 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:54991 Archived-At: >I don't like the use of regexp-opt. Can you get rid of that? I'm not quite sure exactly what you don't like about it. I don't like having to load it in order for Emacs to start up. I am sure this can be implemented some other way. . Thus this regexp is now only built once for each eval-after-load call, and regexp-opt.elc doesn't need to be preloaded. That is somewhat of an improvement; but given how limited your use of these regexps is, can't you construct them without regexp-opt? I think that won't really be hard. HOWEVER, regexp-opt.elc WASN'T BEING LOADED AT emacs START UP, thus causing an error, because .../lisp/emacs-lisp isn't on load-path at emacs start up. Avoiding the use of regexp-opt would eliminate the need for this, too. Please try that; I think you will find it is not very hard.