unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* use-package
@ 2016-05-02 17:07 Uwe Brauer
  2016-05-02 18:47 ` use-package Kaushal Modi
  2016-05-03 22:21 ` use-package Stefan Monnier
  0 siblings, 2 replies; 30+ messages in thread
From: Uwe Brauer @ 2016-05-02 17:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hello

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


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)
       (package-initialize)
       (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?

thanks

Uwe Brauer 





^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2016-05-16 16:49 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-02 17:07 use-package Uwe Brauer
2016-05-02 18:47 ` use-package Kaushal Modi
2016-05-03 10:47   ` use-package Uwe Brauer
2016-05-03 14:01     ` use-package Kaushal Modi
2016-05-03 22:28       ` use-package Stefan Monnier
2016-05-04  3:33         ` use-package Kaushal Modi
2016-05-04 12:09           ` use-package Stefan Monnier
2016-05-04 16:22         ` use-package Phillip Lord
2016-05-04 16:44           ` use-package Drew Adams
2016-05-05 13:34             ` use-package Phillip Lord
2016-05-05 14:00               ` use-package Drew Adams
2016-05-05 15:56                 ` use-package Kaushal Modi
2016-05-05 16:12                   ` use-package Drew Adams
2016-05-10  9:20                     ` use-package Phillip Lord
2016-05-10  9:18                   ` use-package Phillip Lord
2016-05-11 11:42                     ` use-package Kaushal Modi
2016-05-12 21:04                       ` use-package Phillip Lord
2016-05-13 11:56                         ` use-package Stefan Monnier
2016-05-14 22:27                           ` use-package Phillip Lord
2016-05-15  3:22                             ` use-package Stefan Monnier
2016-05-13 15:38                         ` use-package Drew Adams
2016-05-16 15:16                           ` use-package Phillip Lord
2016-05-16 16:49                             ` use-package Drew Adams
     [not found]                         ` <mailman.2761.1463153947.7477.help-gnu-emacs@gnu.org>
2016-05-14  7:37                           ` use-package Rusi
2016-05-10  9:13                 ` use-package Phillip Lord
2016-05-05  9:51       ` use-package Uwe Brauer
2016-05-05 13:38         ` use-package Phillip Lord
2016-05-03 22:21 ` use-package Stefan Monnier
2016-05-05 10:15   ` use-package Uwe Brauer
2016-05-05 23:41     ` use-package Stefan Monnier

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