unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Jai Dayal <dayalsoap@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: optional packages on startup?
Date: Tue, 26 Jul 2011 12:21:46 +0530	[thread overview]
Message-ID: <81y5zl5ybh.fsf@gmail.com> (raw)
In-Reply-To: <CAMJ-YiS00feFiP8AmNTdtwnuXFqi4-hYOc_eXDpE2Rb1HhpMHw@mail.gmail.com> (Jai Dayal's message of "Tue, 26 Jul 2011 00:42:46 -0600")


> Hi,
>   In emacs, I have a lot of things that load up (cscopes, cedet,
> ecb).  Since I have to ssh into a proxy, and then into the main
> server, there's a bit of latency for emacs to start up.

Never do a (require 'package) - either for uncompiled or compiled
packages.

Always compile the installed packages - autoloads ensures that the
packages are loaded on demand. 

There lots of other things that you could do but the above two steps
will ensure visible improvements.

> Is there an easy way to say 'emacs simple filename.cpp' and if simple
> is present, it skips over some number of packages?  Doing emacs
> filename.cpp, however, would load all packages.
>
> Thanks!
> Jai
>
>

-- 



  reply	other threads:[~2011-07-26  6:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26  6:42 optional packages on startup? Jai Dayal
2011-07-26  6:51 ` Jambunathan K [this message]
2011-07-26  6:56   ` Jambunathan K
2011-08-05  8:10   ` Oleksandr Gavenko
2011-07-26  6:52 ` Andreas Röhler
2011-07-26  8:33 ` Peter Dyballa
2011-07-26 12:13   ` Perry Smith
     [not found]     ` <CAMJ-YiSmDHLRpLV+bLrMuP3kdx8zQnoSsv_RLTz2DFuDc4xAww@mail.gmail.com>
     [not found]       ` <CAMJ-YiR7=i+HX1Pr+1x7p4rzMOPnUSBuo9cqxVYfFZSsqtrtmg@mail.gmail.com>
2011-07-29 16:46         ` Fwd: " Jai Dayal
2011-07-29 16:54           ` Perry Smith
2011-07-29 20:47           ` Peter Dyballa

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=81y5zl5ybh.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=dayalsoap@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).