Commit graph

100 commits

Author SHA1 Message Date
Eoin Houlihan
1a853d5759 Fix minimize spelling mistake 2015-10-14 00:32:46 -04:00
Daniel Luna
b4545a7b96 Shows error in *Messages* buffer when loading .spacemacs 2015-10-14 00:26:13 -04:00
syl20bnr
455dd22553 core: set error flag when calling user dotfile functions 2015-10-12 09:58:46 -04:00
justbur
8b5428d320 core-dotspacemacs: Make call-func macro safer
Catch errors in executed function and signal them to the user in the
spacemacs buffer. We don't want loading to silently fail because there
is a problem in dotspacemacs/user-config for example.
2015-10-12 09:53:37 -04:00
syl20bnr
1cf9b73f84 core: replace powerline by spaceline 2015-10-11 00:16:47 -04:00
Eivind Fonn
92254bc3af code: refresh modeline after syncing 2015-10-10 23:21:03 -04:00
syl20bnr
3c7ad38e4d core: remove dotspacemacs-verbose-loading
verbose is activate with --init-debug
2015-10-07 15:51:40 -04:00
justbur
539ff07890 core-keys: Allow major-mode-leader to be nil
The dotfile says that setting the major-mode leaders to nil will disable
the functionality, but there were a couple of places where that option
was not being respected.
2015-10-07 15:51:39 -04:00
person808
28c5298f4c Use built-in evil variable to set Y behavior. 2015-10-05 12:17:27 +02:00
Eivind Fonn
a64e1cf5d0 Document cursor color by state only in GUI
Fix #1944

[ci-skip]
2015-10-05 12:07:45 +02:00
syl20bnr
14fd2b48e9 New variable dotspacemacs-remap-Y-to-y$ 2015-09-28 23:09:44 -04:00
syl20bnr
383b1bec20 Update dotspacemacs/config and dotspacemacs/init occurrences 2015-09-28 02:05:18 -04:00
person808
952a848738 Add missing value to dotfile tests. 2015-09-23 18:08:28 -10:00
syl20bnr
fe4d6a7d79 core: fix dotspacemacs/install and tweak choice descriptions 2015-09-19 01:05:17 -04:00
syl20bnr
a4fd6407b2 core: tweak prompt for dotfile recovery 2015-09-16 21:37:42 -04:00
Christopher McCloud
44f1ee55d7 add recovery from malformed .dotfile to core
If spacemacs encounters errors on the initial load of the user
.spacemacs file, now defaults to loading the default template.
Additionally, temporarily suspends pruning of orphan packages to make it
easier for users to recover after they fix their dotfile.

Previously, errors would cause the spacemacs boot process to halt,
leaving users with an almost stock emacs configuration. Now, users will
have a default spacemacs available to them to fix the error.

adds layer preservation.

add prompt for preferred editing style on recovery

Remove advice after first run.

add dotspacemacs/safe-load as function.

moves style prompt into dotspacemacs/init advice

add hybrid as valid editing style.

move conditional into dotspacemacs/load-file.
2015-09-16 21:28:12 -04:00
Robert O'Connor
3f2e885811 Rename spacemacs-core to spacemacs-base
Per the discussion in #3002. A comment in #3047 prompted this PR.
2015-09-16 21:22:35 -04:00
justbur
098e43c8ff Temporary fix for #2995
This sets the default distribution back to spacemacs. This is for people
who for whatever reason don't set `dotspacemacs-distribution` in their
dotfile.
2015-09-12 13:52:52 +02:00
syl20bnr
3b7d66d118 sync-configuration-layers: add option to skip tests 2015-09-11 23:04:55 -04:00
syl20bnr
6e0ca23db8 core: set default distribution in template to spacemacs-core
Also remove version-control layer from template and add emacs-lisp
to initial value for dotspacemacs-configuration-layers
2015-09-11 23:00:33 -04:00
justbur
f59cb5b215 core: Add choice of distro on install
Ref #2926
2015-09-11 21:27:36 -04:00
justbur
6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
syl20bnr
6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00
ralesi
2ccb4ab7df Allow specification of helm location. 2015-09-07 01:06:29 -04:00
syl20bnr
d11fb1c4a0 core: add variable dotspacemacs-helm-no-header
Hide the helm header whenever there is only one source.
Also correctly set back the default height for headers.
2015-09-07 01:06:29 -04:00
justbur
bd8369918b Clean-up which-key dotfile options 2015-09-07 01:06:27 -04:00
Tim Jäger
91057d5986 Switched dotfile options to which-key
Renamed option
Added buffer position option
Updated template
Updated documentation
2015-09-07 01:06:27 -04:00
Eivind Fonn
973a1b6c48 Bugfix: call user-config when syncing layers 2015-09-02 08:28:02 +02:00
syl20bnr
fba874d64d core: add hybrid as allowed value in dotfile 2015-08-31 23:35:28 -04:00
syl20bnr
92b8c31e36 core: always execute all dotfile tests 2015-08-31 23:27:18 -04:00
syl20bnr
cf5e12100d core: save dotfile before executing the tests 2015-08-31 23:26:47 -04:00
syl20bnr
18611cfbd2 core: compute list of dotspacemacs variables for init tests 2015-08-31 23:16:14 -04:00
syl20bnr
04b2a3a459 core: tweak dotfile test results buffer modes
Make it read-only in view mode with indent mode one.
Disable flyspell if necessary.
2015-08-31 22:14:12 -04:00
syl20bnr
40c01e67b7 core: wrap long lines in core-dotspacemacs.el 2015-08-31 22:08:10 -04:00
syl20bnr
26b2a5c029 core: execute dotfile tests when SPC f e R
The test results buffer is displayed only if there are errors.
Make dotspacemacs/test-dotfile return non-nil when all the tests passed.
dotspacemacs/test-dotfile takes an optional parameter to hide the
result buffer.
2015-08-31 21:52:47 -04:00
justbur
a30695c459 Convert dotspacemacs-tests to org-mode output 2015-08-31 21:26:10 -04:00
justbur
51022543a8 Add tests for correctness of .spacemacs
Note this makes a critical (but backwards compatible) change
to .spacemacs.template
2015-08-31 21:26:03 -04:00
ralesi
4d96e652ad Set up resize setting to enable auto-resize for helm. 2015-08-30 23:54:11 -04:00
syl20bnr
e410812d59 New macro dotspacemacs|symbol-value and improved diminish
Now it is possible to have unicode symbols in GUI and not in
terminal using emacsclient

Do to so, dotspacemacs-mode-line-unicode-symbols must be set to
the symbol 'display-graphic-p which will be lazily evaluated
via the macro dotspacemacs|symbol-value

This is especially useful for users having troubles with unicode
characters in their terminal but wants to use them in GUI client.
2015-08-14 12:25:54 -04:00
justbur
252f26d555 Make default private layer directory explicit 2015-07-23 22:28:26 -04:00
justbur
e1eed07c30 Add option for .spacemacs.d/init.el .spacemacs file
Setting SPACEMACSDIR overrides location of .spacemacs.d

Add dotspacemacs-directory variable

Add dotspacemacs-directory to layer search path
2015-07-23 22:25:39 -04:00
syl20bnr
0ad99623a4 Add "any" value for dotspacemacs-highlight-delimiters 2015-07-23 20:41:52 -04:00
syl20bnr
26c4e2ab80 core: remove monokai and zenburn from dotfile template
They are not part of spacemacs core since several releases so
they should not be treated differently than other themes.
2015-07-09 01:01:20 -04:00
syl20bnr
9213c6b7f2 core: change default value for dotspacemacs-themes
Make spacemacs themes official default themes for spacemacs
2015-07-04 23:51:32 -04:00
syl20bnr
cd70f04827 Refactor auto-save of files
See committed documentation.
2015-06-18 23:54:07 -04:00
Tu Do
4a19bd9d33 [Fix #1453] Re-enable auto-save-mode
- Re-enable
- Move all autosave files to spacemacs-cache-directory
- Allow Auto-saving directly on current buffer.
- Add option to customize.
- Update .spacemacs template.
2015-06-18 23:13:26 -04:00
syl20bnr
549b18a97e New dotfile variable dotspacemacs-use-ido 2015-05-31 21:48:16 -04:00
Yen-Chin Lee
afde9f223c dotspacemacs/location should respect dotspacemacs-filepath value
Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-05-02 22:11:55 -04:00
person808
ab6a987d96 Fix typos in .spacemacs template. 2015-04-27 23:29:44 -04:00
syl20bnr
5930597e50 New variable: dotspacemacs-additional-packages
Adding packages to this list will install them without
needing them to be wrapped in a layer.
Ideal for niche languages of any package that don't need
any configuration.
2015-04-21 00:33:23 -04:00