help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: optional packages on startup?


From: Oleksandr Gavenko
Subject: Re: optional packages on startup?
Date: Fri, 05 Aug 2011 11:10:59 +0300
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0

26.07.2011 9:51, Jambunathan K пишет:

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.

I use '(desktop-save-mode 1)', so even I do not put 'require' it is
too long wait when Emacs loading as I have many files opened with
several different file types (for all of them loaded appropriated
major mode)...

Some times I use code like this:

(eval-after-load 'grep
  '(progn
     (add-to-list 'grep-find-ignored-directories "build" t)
     (add-to-list 'grep-find-ignored-directories "dist" t)
     (add-to-list 'grep-find-ignored-directories "lib" t)

     (when (boundp 'grep-find-ignored-files)
       (add-to-list 'grep-find-ignored-files "*TAGS")
       (add-to-list 'grep-find-ignored-files "GPATH")
       )
     ))

to prevent from loading grep.el at sturtup.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]