Commit graph

217 commits

Author SHA1 Message Date
syl20bnr
d5ebe73e68 dump: reactivate server start in init.el but nut while dumping 2018-05-20 04:43:43 -04:00
syl20bnr
14b71afb42 dump: auto-dump emacs on load if layer list has changed
* rename core-dump.el to core-dumper.el
* add function spacemacs/dump-emacs
* explicitly load core-dumper.el file in init.el
* asynchronously dump emacs if layer list has changed, see special buffer
  *spacemacs-dumper* for the output.
2018-05-20 03:58:48 -04:00
syl20bnr
87dc5f100c dump: add support for winner
pdump cannot dump window configurations so we make sure to activate winner
outside of the dump phase
2018-05-20 03:58:48 -04:00
syl20bnr
2580e43c66 Add support for dumping Spacemacs
Create dump with:

   ./emacs --batch -l ~/.emacs.d/dump-init.el \
           -eval '(dump-emacs-portable "spacemacs.pdmp")'

Load dump with:

   ./emacs --dump-file=spacemacs.pdmp

User can require/load additional libraries in new dotfile function:

   dotspacemacs/user-load
2018-05-20 03:57:54 -04:00
Aaron Jensen
997504d331 core: wrap init with file-name-handler-alist nil to speed up init
See https://github.com/hlissner/doom-emacs/wiki/FAQ#how-is-dooms-startup-so-fast
and https://www.reddit.com/r/emacs/comments/3kqt6e/2_easy_little_known_steps_to_speed_up_emacs_start/
2018-02-24 19:49:39 -05:00
Tad Fisher
662b73282c Make the Emacs server optional
Add `dotspacemacs-enable-server`, which if non-nil prevents Spacemacs from
calling `(server-start)` at init.
2018-02-24 19:49:39 -05:00
syl20bnr
72c89df995 core: add dotspacemacs-gc-cons variable 2018-01-28 23:22:38 -05:00
Aaron Jensen
7f558084f1 Increase gc-cons-threshold during startup
This should reduce startup time on some systems.
2018-01-28 23:09:50 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr
36c15b79f6 core: move versions to new file core/core-versions.el
As we need to have version files available in tests without loading the whole
init.el file.
2017-11-12 10:04:12 -05:00
syl20bnr
65d5e42b8e core: add support for stable ELPA repository hosted on GitHub
Use the official spacelpa ELPA repository.
address: https://github.com/syl20bnr/spacelpa

ELPA repository configuration is now in a file called .lock at the root of the
git repository. Its goal is to setup the ELPA repositories for a given branch
and it should not be modified! The philosophy of Spacemacs is to never fork the
git repository and this lock file has been put in the repo on purpose.

Only the master branch will have a .lock file that points to spacelpa, the
develop branch won't use the stable ELPA repository and will continue to behave
like it always did.

BUT for testing purpose and until the first major version of Spacemacs that uses
the stable ELPA repo is released I push a .lock file to develop branch that
points to spacelpa.

I understand that some people can be annoyed by this so the variable
configuration-layer--elpa-archives can be overriden by putting a setq in your
dotfile in the user-init function like this:

  (setq configuration-layer--elpa-archives
        '(("melpa"    . "melpa.org/packages/")
          ("org"      . "orgmode.org/elpa/")
          ("gnu"      . "elpa.gnu.org/packages/")))
2017-10-29 01:20:25 -04:00
syl20bnr
099bfcb0d9 Bump minimal version of Emacs to 25.1
This is required because we need the package.el elpa archive priority feature
(variable: package-archive-priorities)
2017-10-29 00:25:45 -04:00
syl20bnr
c73c4bc1ea Bump version of Spacemacs to 0.300 2017-10-29 00:25:26 -04:00
syl20bnr
cc0d8cafb2 core: rename configuration-layer/sync to configuration-layer/load
Replace the optional argument `no-install` by a global variable named
`spacemacs-sync-packages`.
Rename the hooks to reflect the renaming of the function.
Rename the flag `--no-sync` to the more explicit `--no-package-sync`
2017-07-01 10:54:37 -04:00
ZarsBranchkin
1e340f62f3 add --skip-sync startup flag
This adds a new startup flag `--skip-sync`. It will force spacemacs to skip
package synchonization. This can be useful in cases when you're working under
poor or restrictive network.

Thanks, @zaript, for this idea!
2017-07-01 09:54:21 -04:00
syl20bnr
2d8d3046c6 Bump version to 0.200.9 and add release note 2017-04-06 23:10:42 -04:00
syl20bnr
a9edb124e8 Bump version to 0.200.8 and update changelog 2017-04-02 01:24:59 -04:00
deb0ch
518f33aadf throw a real error if emacs version is too old
Many people (including me) were confused when trying to install Spacemacs on an
outdated Emacs. A message was issued, but honestly nobody thinks of going to see
the *Messages* buffer when a perfeclty normal vanilla Emacs starts up,
especially not beginners.

This way, an error is visible and users can take corrective actions.
2017-03-04 10:06:16 +02:00
syl20bnr
fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
syl20bnr
e85f03080b Bump version to 0.200.7 and update CHANGELOG.org 2017-01-02 11:14:36 -05:00
syl20bnr
fd2bcf0830 Bump version to 0.200.6 and update CHANGELOG.org 2017-01-02 01:41:35 -05:00
syl20bnr
2c4cd4dd42 core: Revert dotfile installation time and fix editing style bug
Force a call to dotspacemacs/init after dotfile installtion.
Move call to (spacemacs/maybe-install-dotfile) to spacemacs/init.
2016-11-07 10:40:39 -05:00
Eivind Fonn
24c3859d1e Install dotfile earlier 2016-11-07 10:07:28 -05:00
deb0ch
67c5b2cb01 home-buffer: adapt home buffer notes toggling to responsiveness 2016-11-07 09:14:13 -05:00
Eivind Fonn
3785a1c7b5 Update changelog and bump version to 0.200.5 2016-11-03 15:24:06 +01:00
Eivind Fonn
cdcf707027 Bump version to 0.200.4 2016-10-26 10:56:57 +02:00
syl20bnr
3aaff153bc Update change logs and bump version to 0.200.3 2016-10-18 22:52:54 -04:00
syl20bnr
c90741f983 core: update comments in init.el for gc-cons-threshold
Tell user about possible required modification of the value in their
user-config function.
2016-10-16 23:06:21 -04:00
Eivind Fonn
adfeb68e86 Update changelog and bump version to 0.200.2 2016-10-14 10:34:55 +02:00
syl20bnr
c6e673ed84 Update change log and bump version to 0.200.1 2016-10-10 01:21:35 -04:00
syl20bnr
c788da709b Bump version to 0.200 2016-10-03 00:42:38 -04:00
Eivind Fonn
5001e2167a Bump version to 0.105.22 and update change log 2016-08-19 18:03:50 +02:00
leon
a2448be4f1 Fix spacemacs-start-directory variable definition
Should use defvar so that user can override the default value.
2016-06-23 22:36:03 -04:00
syl20bnr
cbb61070fd Replace some emacs-user-directory vars and update documentation 2016-06-23 00:25:04 -04:00
Exaos-memes
904f7ea665 Define new variable: spacemacs-start-directory.
With this new variable, user can load spacemacs anywhere, e.g.
"~/.emacs.d/spacemacs/". Only user's cache directory is still hard-coded
as "~/.emacs.d/.cache/". If user want to use spacemacs this way, drop
one line as the below in "~/.emacs.d/init.el":

    (setq spacemacs-start-directory "~/.emacs.d/spacemacs/")
    (load-file (concat spacemacs-start-directory "init.el"))
2016-06-23 00:19:34 -04:00
Eivind Fonn
92b48eadea 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 22:05:56 -04:00
syl20bnr
117dcba0ed Revert "Drop support for Emacs 24.3"
This reverts commit 31bab70397 making
a new commit to put TheBB as the author.
2016-06-20 22:05:12 -04:00
syl20bnr
31bab70397 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 21:55:36 -04:00
syl20bnr
022ce991de Release note for 0.105.21 and bump version 2016-06-08 23:19:43 -04:00
Yasuharu Iida
59d30f2990 Update init.el 2016-05-11 20:47:22 -04:00
Eivind Fonn
c2fc02e900 Bump version to 0.105.20 and update change log 2016-05-10 14:40:21 +02:00
syl20bnr
a462f65af5 init: revert GC threshold to 100MB 2016-05-01 11:00:09 -04:00
syl20bnr
368c1bef9a init: move restore of GC threshold to the end of init 2016-04-29 22:27:30 -04:00
Nicolas Bertrand
d87491c602 Reduce gc-cons-threshold after init 2016-04-29 19:57:42 -04:00
syl20bnr
78be544e2c Bump version to 0.105.19 and update change log 2016-04-20 23:46:16 -04:00
syl20bnr
04ef674530 Bump version to 0.105.18 and update change log 2016-04-11 00:07:17 -04:00
syl20bnr
5c7e0b6cc8 Bump version to 0.105.17 and update change log 2016-04-09 10:17:47 -04:00
syl20bnr
d99423f218 init.el: minor typo 2016-04-07 22:52:20 -04:00
syl20bnr
09ff77fbd4 Make it possible to use spacemacs-bootstrap layer as a distribution 2016-04-06 13:12:13 -04:00
syl20bnr
50515a826a core: new function spacemacs-buffer/display-info-box
Extract and rewrite the code to display the startup info box.
2016-04-03 02:51:44 -04:00