Commit graph

1416 commits

Author SHA1 Message Date
syl20bnr 0ce597e205 core: improve docstring for dotspacemacs-mode-line-unicode-symbols 2018-06-11 12:45:28 -04:00
syl20bnr 6a51d557da Also defer helm loading on idle 2018-06-11 01:34:08 -04:00
syl20bnr bd316f4c30 core: add new macro spacemacs|add-transient-hook
Transient hooks vanishes when they are evaluated.
2018-06-11 01:30:18 -04:00
syl20bnr 86b4e6f76b core: move point before [ S P A C E M A C S ] at startup
Avoid having multiple "Open quick help..." in the minibuffer at startup.
2018-06-10 03:05:35 -04:00
syl20bnr ac247396f3 core: avoid unecessary output in message buffer at startup
Unless in debug mode.
2018-06-10 02:49:51 -04:00
syl20bnr c2211b32e3 core: new function configuration-layer/load-file 2018-06-10 02:46:16 -04:00
syl20bnr 39bf9e516c core: fix warning about quoted lambda in core-configuration-layer.el 2018-06-10 02:45:34 -04:00
syl20bnr a0a3ff0c20 core: refactor the progress bar
Spacemacs is slow to startup so better give it a not buggy progress bar :-)

* Move progress bar code to core-progress-bar.el file
* Remove the counters at the end of the progress bar
* Fix update of the progress bar value
* Fix progress bar size when staring Emacs maximized
2018-06-10 02:32:29 -04:00
James Wang f393ca2ef7 Fix editing style test 2018-06-09 00:05:28 -04:00
syl20bnr 3a2740f7e6 Remove dotspacemacs-helm-xxxx variables from templates
Seems we forgot to remove it when they have been moved to the helm layer.
2018-06-08 02:24:38 -04:00
syl20bnr b282e553ba Use dotspacemacs backward compatibility macro instead of aliases 2018-06-08 02:24:38 -04:00
syl20bnr 9539e4206d Rename Vim style related variable to vim-style-xxxxx
Update the documentation
Define alias for backward compatibility
2018-06-08 02:24:38 -04:00
Benjamin Reynolds 6c7e9f9a73 Fix typo in spacemacs/plist-get docstring (#10803) 2018-06-07 00:55:37 -04:00
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Nasser Alshammari 8da66b5e37 Latest updates of spacemacs-theme (#10810) 2018-06-05 16:47:24 -04:00
syl20bnr 2df4db5c60 core: new function spacemacs/plist-get
Made to play well with modified plist. Replace spacemacs/mplist-get by
spacemacs/plist-get in spacemacs|add-company-backends
2018-06-04 01:19:44 -04:00
syl20bnr 7e8989de35 Add emacs-27.0.50 as default value in dotfile template 2018-05-31 23:20:27 -04:00
Compro Prasad 13633b081b Fixes #10723 - Properly check for executable rather than file (#10735)
Given the executable name is "emacs", now this executable will be auto located
as per the PATH environment variable.
2018-05-31 23:17:46 -04:00
bmag 72bd99b10a define-toggle: add option for custom off-message 2018-05-28 19:00:37 +03:00
syl20bnr 92fac263a8 core: re-evaluate layer variables after package configuration
It allows to put package variable with a default value set by spacemacs in
the layer variables. For instance to set treemacs position to the right, you can
now do it like this:

(treemacs :variables treemacs-position 'right)
2018-05-28 11:23:57 -04:00
Miciah Dashiel Butler Masters 78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
timor 3e4b35a46d core: Ask if unsaved changes in issue reports are about to be discarded
This prevents against working on an issue report and then accidentally killing
its buffer and losing everything just right before you are done....
2018-05-23 23:44:19 +03:00
JAremko ce5842fa63 Remove old tools. 2018-05-20 18:09:22 +03:00
syl20bnr d65bcb592d core: disable auto-start of Emacs server by default 2018-05-20 04:43:26 -04:00
syl20bnr caf5822f40 dump: add variable dotspacemacs-enable-emacs-pdumper
Controls wether the portable dumper is activated or not
2018-05-20 04:43:18 -04:00
syl20bnr 4407bfa8b3 dump: better cancelling of running dumping process 2018-05-20 03:58:48 -04:00
syl20bnr 7ff9b6ac17 dump: force redump with SPC f e R 2018-05-20 03:58:48 -04:00
syl20bnr 583630df1b dump: save dump files in .cache/dumps directory 2018-05-20 03:58:48 -04:00
syl20bnr 3fa3311985 dump: add function spacemacs/emacs-with-pdumper-set-p 2018-05-20 03:58:48 -04:00
syl20bnr ea1b4815b8 dump: improve messages feedback when dumping 2018-05-20 03:58:48 -04:00
syl20bnr 4f75fe5e3b dump: add command line parameter --force-dump
If provided on the command line then force a redump of Emacs not matter what.
2018-05-20 03:58:48 -04:00
syl20bnr af4b4df031 dump: fix warning about layer list changed outside of dotfile func. 2018-05-20 03:58:48 -04:00
syl20bnr 5dec672861 dump: new function configuration-layer/message 2018-05-20 03:58:48 -04:00
syl20bnr fe0e743ab5 dump: dump Emacs only if the layer list has changed 2018-05-20 03:58:48 -04:00
syl20bnr 067abee605 dump: new function spacemacs-run-from-dump-p 2018-05-20 03:58:48 -04:00
syl20bnr 82e02c9ba2 Fix typo in default value for dotspacemacs-emacs-dumper-dump-file 2018-05-20 03:58:48 -04:00
syl20bnr 088f0f9dc2 dump: revert minimum version to 25.1 2018-05-20 03:58:48 -04:00
syl20bnr 89035d837b dump: add dotspacemacs variables to control the dump
* new dotvariable dotspacemacs-emacs-pdumper-executable-file
* new dotvariable dotspacemacs-emacs-dumper-dump-file
* dump emacs if dotspacemacs-emacs-pdumper-executable-file is non nil
2018-05-20 03:58:48 -04:00
syl20bnr d7a5137c56 Rename function to dump variables
Remove potential ambiguity with an actual whole spacemacs dump
2018-05-20 03:58:48 -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 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
syl20bnr 862e81e49a core: hide loading message at startup unless --debug-init 2018-05-20 02:44:34 -04:00
syl20bnr e9b8ed34c5 core: fix bug where layers.el files could be loaded multiple times 2018-05-20 02:33:28 -04:00
syl20bnr b58a1d7b73 core: fix bug where packages.el files were loaded multiple times 2018-05-20 02:32:57 -04:00
Igor Kupczyński d726ee750a Add new doom-themes
- doom-city-lights
- doom-dracula
- doom-nord
- doom-nord-light
2018-05-15 01:37:55 +03:00
syl20bnr d8479b8f72 core: add optional append local paremeters to spacemacs/add-to-hooks 2018-05-12 00:18:51 -04:00
Benno Fünfstück d0833bc8a2 core-themes-support.el: add eziam theme names 2018-05-09 23:40:17 +03:00
William Roe 4acf1cd6d6 Add kaolin themes to spacemacs-theme-name-to-package
This helps with using kaolin themes, so that spacemacs doesn't try to install
the specific theme name from ELPA.
2018-05-09 23:02:05 +03:00
syl20bnr 2be6e4e338 core: update Quelpa to last version
Fixes #10653
2018-05-07 01:05:41 -04: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