Commit graph

315 commits

Author SHA1 Message Date
syl20bnr
6f92094797 dotspacemacs: C-c C-c executes dotspacemacs/init 2015-03-02 01:12:07 -05:00
syl20bnr
acfde2e01d dotspacemacs: C-u C-c C-c executes dotspacemacs/config at the end 2015-03-02 00:27:36 -05:00
syl20bnr
d2e4ad1535 Remove unnecessary function configuration-layer/load-file
This functions prevents some layer files from being reloaded
2015-03-02 00:18:39 -05:00
syl20bnr
9ee798e10c Display a quick help message when opening a dotfile 2015-03-01 23:51:38 -05:00
syl20bnr
293ca1c8bd C-c C-c in .spacemacs to resync the packages 2015-03-01 23:02:14 -05:00
syl20bnr
206b1a13ae Refactor init.el and rename core-spacemacs-mode.el to core-spacemacs.el 2015-03-01 22:12:09 -05:00
syl20bnr
687204183a Add dotspacemacs major mode 2015-03-01 12:49:39 -05:00
syl20bnr
8aeb6e24c0 Move dotfile layer and settings declaration in their own functions
layers declaration are now in `dotspacemacs/layers` function
settings are now part of the `dotspacemacs/init` function
2015-02-28 23:33:57 -05:00
syl20bnr
7e9bbbc8ae Rename :execute-command-on-enter to :execute-binding-on-enter 2015-02-28 00:05:09 -05:00
syl20bnr
a04290664c micro-state: Add property :execute-command-on-enter
If non nil and the bound key to initiate the micro-state is
also a micro-state binding, then execute the command of
the corresponding binding.
2015-02-27 23:57:10 -05:00
Herbert Jones
d7e6816607 declare layers should not include hidden dirs
To prevent the .git directory from showing up when hitting "SPC f e h"
it should not be included.  Hiding all hidden directories is likely the
desired behavior, instead of just ignoring ".git".
2015-02-27 22:54:40 -05:00
syl20bnr
5046d45585 Add variables dotspacemacs-colorize-cursor-according-to-state
and `spacemacs-evil-cursor-colors`
2015-02-24 00:41:50 -05:00
syl20bnr
48bc6b55f6 Add variable spacemacs-evil-cursor-colors 2015-02-24 00:27:43 -05:00
syl20bnr
bf2635e372 Generalize the bind properties for toggles and micro-states 2015-02-23 23:28:51 -05:00
syl20bnr
0d09c92466 Catch thrown exit in micro-state 2015-02-22 23:30:00 -05:00
syl20bnr
78431c18a0 Minor refactoring in micro-state.el 2015-02-22 01:10:26 -05:00
syl20bnr
c2e61a9036 Replace symbol-name by format %S 2015-02-22 01:02:17 -05:00
syl20bnr
bcdaa42d93 Add :pre and :post action for bindings in micro-state 2015-02-22 00:55:33 -05:00
syl20bnr
e794d0ef11 Add :persistent keyword for micro-state
Persistent micro-state stay active unless an explicit
exit key is pressed
2015-02-21 02:17:39 -05:00
syl20bnr
15f2ea403f Correctly put the point on the first line of lv 2015-02-21 00:56:37 -05:00
syl20bnr
be907429e9 Force SPC to quit all micro-state
Avoid a bad edge case with guide-key and evil-leader
2015-02-20 23:27:43 -05:00
syl20bnr
324cd2ad3b Correctly display the doc associated to a nil binding in micro-state 2015-02-20 23:27:16 -05:00
syl20bnr
638b566cbc Set micro-state header face box width to -1
Prevent a glitch with lv height size
2015-02-20 23:26:22 -05:00
syl20bnr
9088e282d5 Fix side effect with golden-ratio and lv 2015-02-20 23:25:06 -05:00
syl20bnr
0a5442e44a Add hydra lv.el to display micro-state in a window 2015-02-20 00:49:47 -05:00
syl20bnr
96723eb7eb Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
hrvladev
40f15e2ab9 Fix outdated comment
I guess the comment of `dotspacemacs/load` is outdated, because the
function only loads `~/.spacemacs` if it exists. If not - nothing
happens. No copying.
2015-02-17 22:24:28 -05:00
Nate Wolfe
d07a3c46ed Fix typo "orhpan" -> "orphan" in "dostpacemacs-delete-orphan-packages" 2015-02-17 22:19:57 -05:00
syl20bnr
6f9d698bf9 Remove debug display in core-micro-state.el 2015-02-16 23:20:25 -05:00
syl20bnr
97bb568360 Add variable dotspacemacs-loading-progress-bar
Default is t
2015-02-15 21:25:12 -05:00
syl20bnr
4168b9f217 Refactor the initialization of spacemacs
Users can now specify their own evil settings in
`dotspacemacs/init`
2015-02-15 20:14:36 -05:00
syl20bnr
9059a486fe Fix a bug in loading animation dot length 2015-02-14 23:42:26 -05:00
syl20bnr
fef6d5a3cb if -> when 2015-02-14 23:41:51 -05:00
syl20bnr
a8c9516c8b Correctly all spacemacs layer when 'all is specified 2015-02-14 23:41:07 -05:00
syl20bnr
94122defaf Add special value `add support for dotspacemacs-configuration-layers 2015-02-14 22:15:25 -05:00
syl20bnr
6a4c533b44 Add variable dotspacemacs-delete-orphan-packages 2015-02-14 22:03:30 -05:00
syl20bnr
f0bbb8a343 Add support for moe-theme
resolves #487
2015-02-12 23:58:47 -05:00
syl20bnr
6d2f09fc92 Add support for zonokai themes
resolves #485
2015-02-12 22:35:14 -05:00
syl20bnr
d6a9b65061 Rename function to configuration-layers/declare-layers 2015-02-12 22:11:27 -05:00
syl20bnr
8ae9b93bdb Minor change to micro-state macro 2015-02-12 21:48:42 -05:00
syl20bnr
fa4c659832 Automatically adapt micro-state faces to the current theme 2015-02-12 00:14:38 -05:00
syl20bnr
ef092b858a Propertize documentation string in micro-state macro 2015-02-11 23:57:39 -05:00
syl20bnr
f4c6d9aa77 Add support for per binding documentation in micro-state 2015-02-11 18:40:43 -05:00
syl20bnr
570f5e5e05 Move dotspacemacs/config to after-init-hook
Add log in `*Messages*` when executing `init` and `config` dotspacemacs
functions

resolves #588
2015-02-11 17:02:37 -05:00
syl20bnr
b25c6ce4ee with-current-buffer to move point to link line of spacemacs buffer 2015-02-11 16:57:41 -05:00
syl20bnr
b2f66f80f6 Add configuration-layer/layer-declaredp function 2015-02-10 23:22:26 -05:00
syl20bnr
bc8cb54605 Update doc of define-micro-state 2015-02-10 22:50:12 -05:00
syl20bnr
a9577eac4f define-micro-state macro: :documentation accepts now a body
when evaluated the body must return a string
2015-02-10 22:32:39 -05:00
syl20bnr
a9f8e07a29 Add support for global documentation in define-micro-state macro 2015-02-10 22:08:50 -05:00
syl20bnr
3775115cf4 Fix error when attempting to delete an unknown package 2015-02-10 21:57:14 -05:00
syl20bnr
2efc66286c Display the number of backup packages in ido when selecting a slot 2015-02-10 21:56:44 -05:00
syl20bnr
c7a5dc57dc Prompt before updating the packages 2015-02-10 21:56:18 -05:00
syl20bnr
d177f3b020 Minor formatting change 2015-02-08 23:51:10 -05:00
syl20bnr
9075603d8a Fix [Update] for 24.3 2015-02-08 23:04:13 -05:00
syl20bnr
5f5c510019 Add non string variant of get package version functions 2015-02-08 23:03:52 -05:00
syl20bnr
1ff47e09ac Add :exit and :documentation keywords for micro-state bindings 2015-02-08 15:13:34 -05:00
syl20bnr
d6f4650105 Remove plural form for toggle and micro-state files 2015-02-08 12:19:34 -05:00
syl20bnr
6f2b6d305e Minor change of function names for helm micro-state 2015-02-07 20:24:05 -05:00
syl20bnr
397d01be96 New macro spacemacs/define-micro-state
Resolves #552
2015-02-07 20:09:38 -05:00
syl20bnr
d9886af28e Minor documentation fix in dotspacemacs template 2015-02-07 20:05:24 -05:00
syl20bnr
696c985a6c Add dash to bootstrap packages 2015-02-06 00:59:01 -05:00
syl20bnr
38a1dba892 Fix dotspacemacs-helm-micro-state variable name 2015-02-04 23:47:29 -05:00
syl20bnr
5e5ac36bba Add helm micro-state on TAB 2015-02-04 22:35:36 -05:00
syl20bnr
887b46d119 Retry package installation on error
Fix upgrade errors thrown my package.el with some packages
2015-02-04 20:20:42 -05:00
syl20bnr
e91e7230cf Add message to restart emacs after update and rollback 2015-02-04 00:36:06 -05:00
syl20bnr
3ae7a837d1 Add 24.3 compatibility for rollback 2015-02-04 00:28:58 -05:00
syl20bnr
00c74b8580 Update startup buffer links with new [Rollback] action 2015-02-03 23:56:52 -05:00
syl20bnr
6a9304b83d Add rollback support 2015-02-03 23:56:38 -05:00
syl20bnr
d1cd20f6ba Correctly update the dependencies with Update Spacemacs 2015-02-03 02:05:29 -05:00
syl20bnr
4581515c73 Better feedback while updating packages with Update Spacemacs link 2015-02-03 00:58:17 -05:00
syl20bnr
b8bfa7e1a3 Fix get version of built-in package 2015-02-03 00:57:55 -05:00
syl20bnr
67841bf60b Put push of add-toggle macro inside the generated sexps 2015-02-01 01:31:52 -05:00
syl20bnr
d22fd8cd0a Add support for cygwin system-type in core-fonts-support 2015-01-30 09:01:04 -05:00
syl20bnr
f8d36f4f53 Rename property :local-key to :define-key
In macro `spacemacs|add-toggle`
2015-01-30 00:26:49 -05:00
syl20bnr
f92e653612 Improve spacemacs|add-toggle
Add properties `:if` `:status`
Drop properties `:toggle-function` `:toggle-variable`
Add properties for several types of key bindings

The macro should now support a wide variety of toggles
2015-01-30 00:18:48 -05:00
syl20bnr
55c0a88a9b Use font-spec :name property instead of :family 2015-01-29 21:42:35 -05:00
syl20bnr
f714f7deea Change the font detection and add logs 2015-01-29 21:19:37 -05:00
syl20bnr
8292d39046 Spacemacs toggle framework
Use helm-spacemacs to get a list of all available toggles and
activate them.
2015-01-29 00:08:48 -05:00
syl20bnr
4f24035d9b Fixes #489 Spacemacs uses the wrong package.el implementation
For emacs 24.3.50 (containing backports)
2015-01-27 22:24:22 -05:00
syl20bnr
d7eda9ade4 Rename spacemacs-mode lighter to Spacemacs 2015-01-27 22:06:59 -05:00
syl20bnr
40301acf5f Remove explicit size or height for fallback font
This way they inherit the size of the default font
2015-01-27 21:47:25 -05:00
syl20bnr
93887ed160 Change powerline-offset for powerline-scale
Better for zoom-in zoom-out
2015-01-27 21:46:37 -05:00
syl20bnr
ba86ae7769 Add leuven monokai and zenburn to default dotspacemacs-themes 2015-01-27 21:45:39 -05:00
syl20bnr
ee8d50e6a7 Fix ignored system-type in spacemacs/set-default-font 2015-01-27 05:17:49 -05:00
syl20bnr
9c8d3e598a Display a warning message about deprecated spacemacs/set-font
Use the variable `dotspacemacs-default-font` instead
2015-01-27 04:49:19 -05:00
syl20bnr
7faa7c496b Fix crash if Source Code Pro is not available on the system 2015-01-27 01:19:20 -05:00
syl20bnr
16df76c0c8 Prefix all core files with core- 2015-01-26 22:51:47 -05:00
Ambrosia
9194e63129 Update spacemacs-theme-name-to-package 2015-01-26 22:42:46 -05:00
syl20bnr
b7ee5e7ea4 Add dotspacemacs-default-font variable and spacemacs-fonts-support.el
Resolves #482
2015-01-26 22:41:20 -05:00
syl20bnr
4e14012625 Add spacemacs-funcs.el core file 2015-01-26 22:39:14 -05:00
syl20bnr
c099503d98 New implementation for spacemacs/set-font (experimental) 2015-01-26 16:47:14 -05:00
syl20bnr
33c33e72ee Set layer variables before loading the layers config.el 2015-01-25 23:40:44 -05:00
syl20bnr
5ea31977f5 Extend dotspacemacs-configuration-variables with properties
First property implemented is `:variables`
Allow to set the layer variables directly where it is declared
2015-01-25 23:22:41 -05:00
syl20bnr
d9523f5cea Move buffer related function to core/spacemacs-buffer 2015-01-25 22:36:07 -05:00
syl20bnr
2f1d7c40a4 Unit tests for configuration-layer//declare-layer
First step for the implementation of a buffed variable
`dotspacemacs-configuration-layers`
2015-01-25 00:01:43 -05:00
syl20bnr
8cc112a266 Move declaration of paths from spacemacs-mode.el to load-paths.el 2015-01-24 23:58:24 -05:00
syl20bnr
053b9b0e3e dotspacemacs-default-theme --> dotspacemacs-themes
It is not possible to declare several themes in .spacemacs
with the variable `dotspacemacs-themes`
Cycle through these themes with `<SPC> T n`

Resolves #472
2015-01-23 22:06:47 -05:00
lazywithclass
7f452c8294 Test spacemacs/git-has-remote and spacemacs/git-fetch-tags
Show basic usage of the mocking library and testing capabilities.
2015-01-23 21:18:45 -05:00
syl20bnr
a6850fc41d For consistency, use plural form for core directories 2015-01-22 23:03:20 -05:00
syl20bnr
6f23de609b Remove spacemacs-mode.el functional test file 2015-01-22 22:39:53 -05:00