From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: user-init-file source vs. compiled Date: Thu, 01 Feb 2007 17:41:52 -0500 Message-ID: References: <87abzxve6v.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170369758 8205 80.91.229.12 (1 Feb 2007 22:42:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2007 22:42:38 +0000 (UTC) Cc: Juanma Barranquero , Emacs Devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 01 23:42:30 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCkdR-00024K-17 for ged-emacs-devel@m.gmane.org; Thu, 01 Feb 2007 23:42:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCkdQ-0002gF-KO for ged-emacs-devel@m.gmane.org; Thu, 01 Feb 2007 17:42:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HCkcy-0002ZS-K7 for emacs-devel@gnu.org; Thu, 01 Feb 2007 17:42:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HCkcw-0002Yn-Um for emacs-devel@gnu.org; Thu, 01 Feb 2007 17:42:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCkcw-0002Yg-Ov for emacs-devel@gnu.org; Thu, 01 Feb 2007 17:41:58 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HCkcw-0004xj-6O for emacs-devel@gnu.org; Thu, 01 Feb 2007 17:41:58 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 61BFD2CF22F; Thu, 1 Feb 2007 17:41:57 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 82CE03FE0; Thu, 1 Feb 2007 17:41:52 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 716CF6C1B2; Thu, 1 Feb 2007 17:41:52 -0500 (EST) In-Reply-To: <87abzxve6v.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 01 Feb 2007 15\:02\:48 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: Linux 2.6 (newer, 3) 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:65757 Archived-At: >>> File name, including directory, of user's initialization file. >>> If the file loaded had extension `.elc', and the corresponding source file >>> exists, this variable contains the name of source file, suitable for use >>> by functions like `custom-save-all' which edit the init file. >> >> I think we should *strongly* recommend not to compile the .emacs file. >> It's a dumb thing to do, unless you're a masochist anyway. > Currently, the Emacs manual says > If you have a large amount of code in your `.emacs' file, you > should rename it to `~/.emacs.el', and byte-compile it. *Note Byte > Compilation: (elisp)Byte Compilation, for more information about > compiling Emacs Lisp programs. I clearly disagree. If there's no loop in your .emacs, then byte-compiling won't bring you any benefit. And if there are loops and byte-compiling is important to make them fast enough, then you should most likely take those things out of your .emacs and move them to a separate file/package. Stefan