Commit graph

89 commits

Author SHA1 Message Date
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
syl20bnr 953209214e Change scope to current and default to all for now
Also made the delimiters ultra-bold.
2015-04-19 01:04:05 -04:00
Tu Do 8bf70ec3ba [feature] Add highlight-parentheses [#1173]
highlight-parentheses highlights the sexp scope the cursor is in and
3 upper sexp levels. We don't have to actually place the cursor on a
parenthesis just to see where it ends or begins. This package takes of this
issue regardless where we are in the sexp.
2015-04-19 00:42:09 -04:00
syl20bnr fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
syl20bnr 71b68500d0 New dotfile variable dotspacemacs-search-tools
Default list is `("ag" "pt" "ack" "grep")
Resolve #1158
2015-04-14 22:23:57 -04:00
syl20bnr b0559c7f4d Startup buffer release note 2015-04-13 02:17:48 -04:00
syl20bnr dac29ce71c Namespace spacemacs buffer functions with spacemacs-buffer prefix 2015-04-12 00:24:03 -04:00
Carl Lange 4c42247287 Add toggle change log (WIP) 2015-04-11 10:52:05 -04:00
syl20bnr f72088e74b Add variable dotspacemacs-verbose-loading
By default to nil.
Can speedup the loading process.
2015-04-05 23:45:02 -04:00
syl20bnr 57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr f42b686f4c Fix and tweaks for startup lists 2015-04-02 00:12:19 -04:00
Carl Lange d478955481 Startify stuff 2015-04-02 00:03:06 -04:00