Commit graph

405 commits

Author SHA1 Message Date
syl20bnr ee2aa24bec Integrate dotfile wizard at startup 2015-03-30 23:17:29 -04:00
syl20bnr 2acb2cc45e Wizard like install of dotfile with universal argument 2015-03-30 22:18:32 -04:00
Tu Do c278b58a0b Ask user editing style when creating .spacemacs file 2015-03-30 19:18:36 -04:00
syl20bnr 06607fe3e3 Move rcirc and erc layer in irc subfolder 2015-03-27 22:27:58 -04:00
syl20bnr ea4258d5e5 Emacs style leaders are now on M-m and C-M-m
Leader: `M-m`
Major mode leader: `C-M-m` (alternate to `M-RET` since `C-m` has
the same ASCII code then `RET`).

Resolve #917
2015-03-23 19:09:23 -04:00
syl20bnr 382eca2dbc holy-mode: you know what? Move leaders on M-n and M-m
:-)
2015-03-23 01:37:28 -04:00
syl20bnr 8e7f990d39 holy-mode: move leaders on M-1 (leader) and M-0 (major mode leader) 2015-03-23 01:16:20 -04:00
syl20bnr c35a4ff983 holy-mode: Move leader on C-; and major mode leader on C-' 2015-03-22 23:57:08 -04:00
syl20bnr 51c5de624d Fix non activated package if there is no defined init function
Fixes #898
2015-03-22 03:02:15 -04:00
Thomas Henderson 734eb9dc7b "Improve" doge grammar
Standard Doge 1) uses two-word phrases and 2) violates the selectional
restrictions of the modifiers 'such', 'so', 'very', 'many', and 'much'.
(see
http://the-toast.net/2014/02/06/linguist-explains-grammar-doge-wow/#BjOVLZxGdAHsebDq.99)
These are my suggestions for banner phrases that more accurately match the usual
doge grammar. Oh god what am i doing with my life
2015-03-20 23:27:49 -04:00
syl20bnr 7ac6c8a8be First try for an holy-mode 2015-03-19 00:30:29 -04:00
syl20bnr 37c7041a26 Don't enable the package when initializing 2015-03-18 01:13:28 -04:00
syl20bnr fdd481acfb New attempt to support emacs builds with no GUI support 2015-03-18 00:09:24 -04:00
syl20bnr 7bcf1dca34 Fix error for emacs versions built without graphics support 2015-03-16 23:56:17 -04:00
syl20bnr 8918725119 Reset progress bar when C-c C-c in the dotfile 2015-03-16 23:56:16 -04:00
syl20bnr f527c1c5ff Fix window-numbering duplicated mode-line indicator 2015-03-16 01:34:32 -04:00
syl20bnr 1ea3da322c Non blocking errors at startup + inline reports in spacemacs buffer
The mode line turns red when errors have been detected
and displays the number of errors.

Fixes #440
2015-03-16 01:29:39 -04:00
syl20bnr 2c9933b466 Fix mode-line progress bar in the dotfile when pressing C-c C-c 2015-03-13 22:08:30 -04:00
syl20bnr cdfc462c99 Fix presence of GUI element when starting emacs as a daemon 2015-03-13 00:29:30 -04:00
syl20bnr 0052466422 Add official logo to startup page 2015-03-12 23:55:38 -04:00
syl20bnr c9e4864f50 Tweaks for mode-line display at startup time 2015-03-12 00:25:52 -04:00
syl20bnr 9faa1542cb Use mode-line as a progress bar 2015-03-11 23:46:37 -04:00
syl20bnr 9ee4e5d9fb Add :disable-evil-leader keyword in micro-states 2015-03-10 23:18:57 -04:00
syl20bnr 453343a920 Allow keymaps in micro-states 2015-03-10 23:11:52 -04:00
syl20bnr 7b3a9c62a3 Add dotspacemacs-enable-paste-micro-state (default to t) 2015-03-09 20:57:58 -04:00
syl20bnr a9aa68fff3 Improve robustness of image banner feature
Check for support for PNG image format
Fallback on text banner if the PNG file cannot be displayed or
the path is wrong
2015-03-08 22:09:09 -04:00
Emmanuel Touzery 4d0ace039a Ability for the user to specify a .png picture as a banner 2015-03-08 18:41:24 -04:00
syl20bnr 4d9b9686f3 Add property :use-minibuffer to micro-state 2015-03-07 23:55:47 -05:00
syl20bnr f79fa6c49b Auto-save dotfile when C-c C-c 2015-03-07 22:30:28 -05:00
syl20bnr a5d4e9e7fe Add documentation in dotfile template about disabling , shortcut
Ref #772
2015-03-07 22:24:42 -05:00
syl20bnr d6bd6976d1 Explicitly set last-command in micro-state wrappers 2015-03-07 17:22:23 -05:00
syl20bnr cc86adcee1 Fix typos in micro-state source 2015-03-06 23:48:05 -05:00
syl20bnr 39ccec59b5 Split function configuration-layer/load-layer-files 2015-03-05 00:00:18 -05:00
syl20bnr 7c9b6683ba dotspacemacs-mode: import emacs-lisp-mode evil-leader map 2015-03-04 21:38:54 -05:00
syl20bnr 59e60d21df Fix test: test-declare-layers--result-order-is-reversed 2015-03-03 04:15:59 -05:00
syl20bnr ce01f956ff Fix spacemacs loading with 'all for dotspacemacs-configuration-layers 2015-03-03 03:58:29 -05:00
Tristan Hume b845775ef4 Improve Spacemacs buffer buttons 2015-03-02 18:44:57 -05:00
syl20bnr 05b5cb4876 dotspacemacs: add SPC m c c key binding 2015-03-02 12:13:08 -05:00
syl20bnr 61208803ed dotspacemacs: Fix execution of dotspacemacs/init when C-c C-c 2015-03-02 12:10:39 -05:00
syl20bnr 36723dfda3 dotspacemacs: C-u C-c C-c skip dotspacemacs/config
By default `dotspacemacs/config` is executed.
2015-03-02 01:12:34 -05:00
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
syl20bnr 07511c7307 Missing unit test file 2015-01-22 22:39:26 -05:00
syl20bnr 1280f823c8 Setup a test framework
Load paths are now registered in `core/load-paths.el`
Libraries are in `core/lib`
Move `ht.el` to `lib`
Add `mocker.el` to `lib`
Tests are in test,
- unit tests files suffix is `utest.el`
- functional tests files suffix is `ftest.el`
2015-01-22 22:26:56 -05:00
syl20bnr accf1e39af Fix check for new versions
Explicitly describe the tags from FETCH_HEAD
2015-01-20 11:53:32 -05:00
syl20bnr 3d02adf755 Better check for emacs version prerequisite
Move the check at the very top of init.el
Resolves #453
2015-01-20 00:49:31 -05:00
Fanael Linithien 4356f4e44f Use make-hash-table instead of hash table literals 2015-01-18 23:49:38 -05:00
syl20bnr 36d4c9a7e3 Bump version to 0.48.2 2015-01-18 23:25:38 -05:00
syl20bnr 69e9c81e8f Remove experimental feature leader on jk
Use `C-o <SPC>` instead
2015-01-18 23:24:42 -05:00
syl20bnr d7273a5d5f Bump version to 0.48.1 2015-01-18 00:32:28 -05:00
syl20bnr 27710e56d0 Bump version to 0.48.0 2015-01-18 00:32:27 -05:00
syl20bnr 949ae9dd61 Minor change to emacs version test 2015-01-18 00:32:27 -05:00