unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'n179911'" <n179911@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: How to speed up emacs start time?
Date: Thu, 30 Jul 2009 17:30:32 -0700	[thread overview]
Message-ID: <A90C5DF2A52540A2BF8E7F7865CA2D81@us.oracle.com> (raw)
In-Reply-To: <3b9893450907301716l24ed658fpb11060fba7143fe3@mail.gmail.com>

> 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.






  reply	other threads:[~2009-07-31  0:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-31  0:16 How to speed up emacs start time? n179911
2009-07-31  0:30 ` Drew Adams [this message]
     [not found] ` <mailman.3540.1249000245.2239.help-gnu-emacs@gnu.org>
2009-07-31  7:44   ` Elena
2009-07-31 14:34     ` Drew Adams
2009-08-01 20:09       ` Johan Bockgård
2009-08-01 20:26         ` Drew Adams
     [not found] <mailman.3539.1248999408.2239.help-gnu-emacs@gnu.org>
2009-07-31  0:33 ` Rafael
2009-07-31  7:51   ` n179911
2009-07-31  8:11     ` Jonatan Andersson
     [not found]   ` <mailman.3561.1249026712.2239.help-gnu-emacs@gnu.org>
2009-07-31  8:33     ` Anselm Helbig
2009-07-31  9:23       ` Peter Dyballa
     [not found]       ` <mailman.3567.1249032229.2239.help-gnu-emacs@gnu.org>
2009-07-31 10:02         ` Anselm Helbig
2009-07-31 15:53           ` Peter Dyballa
2009-08-02 16:12     ` Rugxulo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A90C5DF2A52540A2BF8E7F7865CA2D81@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=n179911@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).