From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.help Subject: Re: if both .emacs and .emacs.elc,which one emacs load? Date: Fri, 23 May 2003 22:45:02 -0400 Organization: The Ohio State University Dept. of Computer and Info. Science Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <1xyoi93s.fsf@tu202155.tsinghua.edu.cn> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053744413 10689 80.91.224.249 (24 May 2003 02:46:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 02:46:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat May 24 04:46:51 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JP3a-0002mH-00 for ; Sat, 24 May 2003 04:46:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JP27-0000FD-W5 for gnu-help-gnu-emacs@m.gmane.org; Fri, 23 May 2003 22:45:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cis.ohio-state.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: gamma.cis.ohio-state.edu Mail-Copies-To: nobody User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (usg-unix-v) Cancel-Lock: sha1:CiRx1z7+YoeDLVKISaXE7BnWaHc= Original-Xref: shelby.stanford.edu gnu.emacs.help:113641 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10137 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10137 Xiong Guanglei writes: > can .emacs.elc speed up the loading process? Not typically. Byte-compiling pays off when code is evaluated many times. The lisp in your .emacs is typically executed only once. Besides, it's not worth your time you'll lose someday when you'll edit the non-compiled version, expect a change to happen, and you'll forget to re-compile it, and wonder why your change didn't have any effect. -- Benjamin