[Top][All Lists]

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


From: Uwe Brauer
Subject: use-package
Date: Mon, 02 May 2016 17:07:41 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)


Using GNU emacs 25.1.50, emacs need some 20sec to start up, Ā«thanksĀ» to my
complicated init file.

Now I have heard that use-package could considerable shorten the startup

My init file is structured in the following way

(defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
(cond (running-xemacs
           (load-file "~/xemacs/init/xemacs_init.el")
           (setq custom-file "/home/oub/xemacs/init/custom-init.el")))

(cond ((and (not running-xemacs)
       (setq inhibit-x-resources t)
       (setq custom-file "/home/oub/emacs/init/custom-init.el")
       (let ((gc-cons-threshold most-positive-fixnum))
         (load-file "~/emacs/init/emacs_init.el")
         (load-file "/home/oub/emacs/init/custom-init.el")))))

Now my real init file, emacs_init.el

contains calls to many official packages such as auctex, orgmode, gnus
to name a few. These calls I presume I am able to transfer to the
use-package syntax.

But I have also private files, with some hacks, one file with my global
keybindings etc

How do I treat those files?

Maybe somebody with experience in use-package could give me an advice?


Uwe Brauer 

reply via email to

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