From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: `make' written in elisp Date: Mon, 03 Jan 2005 22:38:24 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1104810404 4216 80.91.229.6 (4 Jan 2005 03:46:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2005 03:46:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 04:46:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ClfeV-0004fO-00 for ; Tue, 04 Jan 2005 04:46:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Clfpg-0002A9-Eo for ged-emacs-devel@m.gmane.org; Mon, 03 Jan 2005 22:58:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Clfoi-0001Q3-Rv for emacs-devel@gnu.org; Mon, 03 Jan 2005 22:57:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Clfoe-0001Nd-NQ for emacs-devel@gnu.org; Mon, 03 Jan 2005 22:57:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Clfoe-0001N4-Lp for emacs-devel@gnu.org; Mon, 03 Jan 2005 22:57:04 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Clfcq-0005jF-JV for emacs-devel@gnu.org; Mon, 03 Jan 2005 22:44:52 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1ClfWa-0007tC-Ff; Mon, 03 Jan 2005 22:38:24 -0500 Original-To: Ralf Angeli In-reply-to: (message from Ralf Angeli on Mon, 03 Jan 2005 20:28:05 +0100) 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: main.gmane.org gmane.emacs.devel:31788 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31788 Automatically determining variables specific to the site the package is being installed at configuration time is a means to cut down load times. There are things where it is not efficient or feasible to carry out the respective tests each time the package is loaded. I am surprised to hear that. Many Emacs Lisp packages search for files they need to use, and they generally do so either when first loaded into a session, or each time they are executed. We have never tried to make any of them save the results between sessions, but it seems to be fast enough. Is AUCTeX doing something that is particularly slow? Besides writing values to init files the configuration process is used to check if external tools required for building or running the package are present and provide necessary features. A special case might be preview-latex which has a TeX part besides the Elisp part. Why is it necessary to do this? It seems to me that it would be just fine to look for these things when the user tries to use them. to try to use the command when the user asks to do