From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: Very basic questions. Date: Sat, 16 Sep 2006 12:28:08 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <450bdfd3$0$75037$14726298@news.sunsite.dk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158406856 1327 80.91.229.2 (16 Sep 2006 11:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Sep 2006 11:40:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 16 13:40:55 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GOYXV-0007k3-Qd for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Sep 2006 13:40:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GOYXV-0002Xt-CN for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Sep 2006 07:40:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Thunderbird 1.5.0.5 (X11/20060812) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 28 Original-NNTP-Posting-Host: 62.56.73.25 Original-X-Trace: news.sunsite.dk DXC=7La4GlU@Hg21@QH[VaTAe9YSB=nbEKnk; UA0OV0@KUU; G1[Bg<0aH50\VT\m5_SIb6U_42Df:PaK8TcL2h5ahoT?kF_>m>CYcV?05M6B]=RkIg7 Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:141788 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37410 Archived-At: > > In runtime, how does "require" know where the feature list is? There is only > machine code then. > John, (require 'feature) searches the paths listed in 'load-path', this can be added to using (add-path). It looks for a file called "feature.el" or "feature.elc". Emacs packages can either be in source-code, which have an extension '.el', or be pre-compiled, where they have the extension '.elc'. Pre-compiled packages run faster than packages dynamically compiled from source. The pre-compiled emacs tends to come with its packages pre-compiled as well, there will be sources for the packages where you got emacs from. HTH, Coin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.