From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "jronald" Newsgroups: gmane.emacs.help Subject: Re: Very basic questions. Date: Sat, 16 Sep 2006 19:59:27 +0800 Organization: Bentium Ltd. (CN99) Message-ID: References: <450bdfd3$0$75037$14726298@news.sunsite.dk> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1158410430 10600 80.91.229.2 (16 Sep 2006 12:40:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Sep 2006 12:40:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 16 14:40:30 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 1GOZT7-0003EA-NA for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Sep 2006 14:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GOZT7-0006RB-6J for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Sep 2006 08:40:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!news.szu.edu.cn!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 222.64.162.33 Original-X-Trace: news.yaako.com 1158407967 18451 222.64.162.33 (16 Sep 2006 11:59:27 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Sat, 16 Sep 2006 11:59:27 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Response Original-Xref: shelby.stanford.edu gnu.emacs.help:141789 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:37411 Archived-At: "Colin S. Miller" ??????:450bdfd3$0$75037$14726298@news.sunsite.dk... >> >> 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". > > Do you mean that "provide" modifies the files, both .el and .elc? I just can't imagine. > 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.