From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to speed up emacs start time? Date: Thu, 30 Jul 2009 17:30:32 -0700 Message-ID: References: <3b9893450907301716l24ed658fpb11060fba7143fe3@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249000270 3640 80.91.229.12 (31 Jul 2009 00:31:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 00:31:10 +0000 (UTC) To: "'n179911'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 02:31:03 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWg1W-0005BE-Sx for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 02:31:03 +0200 Original-Received: from localhost ([127.0.0.1]:41442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWg1W-00033k-AW for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 20:31:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWg1D-00033b-Em for help-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:30:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWg19-00032M-R2 for help-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:30:43 -0400 Original-Received: from [199.232.76.173] (port=54280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWg19-000328-Nt for help-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:30:39 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:24013 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWg19-0003O5-JU for help-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:30:39 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6V0WRHm017728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 31 Jul 2009 00:32:28 GMT Original-Received: from abhmt010.oracle.com (abhmt010.oracle.com [141.146.116.19]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6V0UY6q030906; Fri, 31 Jul 2009 00:30:34 GMT Original-Received: from dradamslap1 (/141.144.168.5) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 30 Jul 2009 17:30:32 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <3b9893450907301716l24ed658fpb11060fba7143fe3@mail.gmail.com> Thread-Index: AcoRdFyLwF3adp9cQmuYmfGyIHu+GQAASH7Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt010.oracle.com [141.146.116.19] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A723B2A.0054:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:66548 Archived-At: > In my .emacs, I have > (setq load-path (cons "~/bin/emacslib" load-path)) > (require 'icicles) > > And in my ~/bin/emacslib, I have > > $ ls > icicles-chg.el icicles-doc1.el icicles-fn.el > icicles-mode.el icicles.el > icicles-cmd1.el icicles-doc2.el icicles-mac.el icicles-opt.el > icicles-cmd2.el icicles-face.el icicles-mcmd.el icicles-var.el > > Can you please tell me how can I speed up emacs startup time? Is there > anyway to compile the .el. files so that emacs can come up faster? 1. C-x d ~/bin/emacslib 2. Use `m' to mark each of the icicles files, except *-chg* and *-doc*. 3. `B', then confirm, to byte compile all of the marked files. You're done. If you modify any of the source files that you've byte-compiled (e.g. you downloaded a later version), you can use `M-x byte-recompile-directory' to recompile any that whose *.elc files are out of date. That's like a mini-`make' for byte-compiled files.