Commit graph

1749 commits

Author SHA1 Message Date
syl20bnr
57f802619b Don't consider used themes as orphans if they don't belong to a layer
Now it is not required to use the themes-megapack layer or define
a private layer to use a theme that is not in the spacemacs layer.
2015-04-14 15:50:29 -04:00
Tu Do
e42a10fc95 Remove shortcut button labels 2015-04-13 23:02:57 -04:00
Tu Do
a8858b885b [Fix #1083] Improve functionality of Spacemacs shortcuts
Currently, `r` and `p` moves to different locations when the change log
text is folded/unfolded. Make it always jumps to the correct location
regardless of content of home buffer by actually search for it.

Also set keys to make home buffer usable with holy-mode.

Conflicts:
	core/core-spacemacs-buffer.el
2015-04-13 23:01:26 -04:00
Tu Do
d28fd1e3a2 Beautify home buffer
Add faces to buttons to make it look gorgeous.
2015-04-13 23:00:52 -04:00
syl20bnr
5fc6cd88cd Fresh install, don't display the release notes at the next restart 2015-04-13 03:35:05 -04:00
syl20bnr
cf2cfa14ae Remove shortuct on recent items header 2015-04-13 02:42:43 -04:00
syl20bnr
31b3cc7e9e Display startup release note only if a dotfile exists 2015-04-13 02:42:11 -04:00
syl20bnr
c920871c4a Don't need to restart after first boot 2015-04-13 02:41:47 -04:00
syl20bnr
5e44e68ed9 Comment default layers in template and add a comment 2015-04-13 02:28:39 -04:00
syl20bnr
1722b93da5 Fix error loading non existing buffer cache file 2015-04-13 02:23:29 -04:00
syl20bnr
65802362e6 Fix configuration-layer unit test 2015-04-13 02:20:03 -04:00
syl20bnr
b0559c7f4d Startup buffer release note 2015-04-13 02:17:48 -04:00
syl20bnr
4c95d2238b Set preferred coding system to utf-8
Fixes #785
2015-04-12 21:27:07 -04:00
syl20bnr
b8e617c886 New function spacemacs/warning 2015-04-12 12:25:53 -04:00
syl20bnr
dac29ce71c Namespace spacemacs buffer functions with spacemacs-buffer prefix 2015-04-12 00:24:03 -04:00
syl20bnr
847c0b12a0 Move auto-completion macros to core 2015-04-11 15:10:21 -04:00
syl20bnr
9f182c53b9 Add better-defaults layer in dotfile template
resolves #1108
2015-04-11 14:52:42 -04:00
Carl Lange
4c42247287 Add toggle change log (WIP) 2015-04-11 10:52:05 -04:00
syl20bnr
6844ff9fed New layer: org 2015-04-11 00:13:02 -04:00
syl20bnr
cce8d5382d Contrib category "config"
Move puppet, ansible and dockerfile layer there
2015-04-10 22:58:14 -04:00
syl20bnr
a4919b3eda New layer syntax-checking
Move flycheck
2015-04-10 22:23:16 -04:00
syl20bnr
629fa56296 Add comment for previous commit 2015-04-10 20:28:37 -04:00
Diego Berrocal
de4b3cf60d S-Tab is interpreted as <backtab> in linux 2015-04-10 20:28:04 -04:00
syl20bnr
3107d5d9f8 Fix two important bugs in Update/Rollback
- correctly detect package dependencies to update
- rollback is now an idempotent action
2015-04-07 23:51:08 -04:00
syl20bnr
fcfe1c2c7b Fix search of package installed directory 2015-04-07 23:50:22 -04:00
syl20bnr
6ee43c8960 Change lighter for golden-ration to Ⓖ
It is more consistent with the key bindings.
2015-04-06 12:05:15 -04:00
syl20bnr
109851005c Add missing test data 2015-04-05 23:49:25 -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
5fbb38e885 Fix header comments in test files 2015-04-05 21:01:54 -04:00
syl20bnr
63f9e72495 New functions to display some text in a frame
spacemacs/insert-framed-text-to-buffer
spacemacs/insert-framed-text-from-file-to-buffer
2015-04-05 20:59:55 -04:00
syl20bnr
4c905218ce Fix default layer in dotfile template 2015-04-04 23:38:02 -04:00
Carl Lange
fbade22319 add default layers 2015-04-04 23:37:36 -04:00
Carl Lange
be4ea14d8e Widgets ui for spacemacs buffer, working nicely 2015-04-04 23:36:39 -04:00
syl20bnr
d96da88d8a Fix helm-spacemacs for unused layers 2015-04-04 01:39:27 -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
69a45ce353 Don't load extensions.el files twice 2015-04-03 18:09:40 -04:00
syl20bnr
318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr
2905190dc8 Fix double loading of packages.el files 2015-04-02 23:13:21 -04:00
syl20bnr
5f7579867a New update method
- backup the packages to be updated
- then delete them
- the user restart emacs and spacemacs will install the last version

Fixes some update errors related to byte-compilation like the one
which affected the powerline (void variable left)

This commit also adds some page break for clarity
2015-04-02 22:23:16 -04:00
syl20bnr
f5713f8d44 Startup lists at the end of the buffer with a page break line 2015-04-02 00:32:38 -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
syl20bnr
655e1a2c6b Move xkcd layer in "fun" category folder 2015-04-01 23:26:47 -04:00
syl20bnr
30872ee12f Fix error when displaying the missing layer warning 2015-04-01 23:14:48 -04:00
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
syl20bnr
a5cc56208d Change Windows fallback font to Lucida Sans Unicode 2015-01-18 00:31:46 -05:00
syl20bnr
5a5c6cdb1c Fix helm-spacemacs with defvar declaration in config.el files 2015-01-15 09:50:02 -05:00
syl20bnr
ccb1a0928e Bump version to 0.47.0 2015-01-14 22:51:25 -05:00
syl20bnr
ceefe88b75 Update CONTRIBUTE.md and add file headers
Also add default file header to layer templates.
2015-01-13 23:12:56 -05:00
syl20bnr
acaf2c1c83 Better theme support, easier to maintain
Resolves #388 #367
2015-01-13 22:14:48 -05:00
syl20bnr
d774800143 Add dotspacemacs-fullscreen-use-non-native to .spacemacs template 2015-01-12 23:27:07 -05:00
mkcode
53ee19af73 Support for spacemacs/toggle-frame-fullscreen to use non-native fullscreen. 2015-01-12 23:24:32 -05:00
syl20bnr
698f3adf66 Bump version to 0.46.1 2015-01-12 22:18:11 -05:00
syl20bnr
94f5223085 Correctly fetch checkversion remote when looking for updates 2015-01-12 22:05:03 -05:00
syl20bnr
b2f3c5bda1 Bump version to 0.46.0 2015-01-12 00:04:49 -05:00
syl20bnr
f3c1dcc31c Bump version to 0.45.0 2015-01-10 02:09:42 -05:00
syl20bnr
608ab502f3 Recursively activate dependencies when installing a package 2015-01-10 01:55:36 -05:00
syl20bnr
627b0f28a5 Fixes #397 activate package dependencies before installing 2015-01-10 00:58:27 -05:00
syl20bnr
c845002d0e Rename layer-declaredp to package-declaredp in configuration-layer 2015-01-10 00:57:08 -05:00
syl20bnr
02da569a3b Fix check version implementation on Windows 2015-01-09 00:22:17 -05:00
syl20bnr
95a62b17a3 Bump to version 0.44.2 2015-01-08 23:37:14 -05:00
syl20bnr
2c9f94aa00 Fixes #390 Reimplement check of new version
The new implementation does not depend on the Github API
It depends only on git
2015-01-08 23:34:09 -05:00
syl20bnr
f2e55993a4 Bump version to 0.44.1 2015-01-08 00:58:38 -05:00
syl20bnr
630e4a7d18 Bump release to 0.44.0 2015-01-08 00:38:55 -05:00
syl20bnr
03943dd059 Mode-line indicator for new release 2015-01-08 00:34:23 -05:00
syl20bnr
33e0d3a120 Fixes remaining function requires graphical support 2015-01-07 21:25:05 -05:00
syl20bnr
3f997db88d Fixes #50 compatibility for emacs with no graphical support
Resolves #194 Warning if a build has no graphical support
2015-01-07 00:12:48 -05:00
syl20bnr
d0c33564c7 Bump version to 0.43.0 2015-01-06 23:34:56 -05:00
syl20bnr
df0be48624 Fixes #211 cygwin emacs-w32 wrong unicode chars
Explicitly define a fallback font
2015-01-06 22:14:06 -05:00
syl20bnr
b366d9f068 Fix lazy activation of packages for 24.3 2015-01-06 19:52:06 -05:00
syl20bnr
8db5695333 Safer manual detection of installed package 2015-01-05 01:38:50 -05:00
syl20bnr
fa2aa62f94 Declare pcache-directory earlier in spacemacs-mode.el 2015-01-05 01:38:49 -05:00
syl20bnr
402d6e9267 Speed up boot time by lazy activating of packages 2015-01-05 01:38:48 -05:00
syl20bnr
a7e071c3b8 Bump version to 0.42.1 2015-01-05 01:37:56 -05:00
syl20bnr
774d1ce64b Bump version to 0.42.0 2015-01-04 01:51:01 -05:00
mkcode
0f958b7f7a user-home-directory taken from home env, not parent path 2015-01-04 00:09:20 -05:00
syl20bnr
14329a9e9b Bump version to 0.41.2 2015-01-03 02:09:11 -05:00
syl20bnr
a17c0cd611 Bump version to 0.41.1 2015-01-02 22:23:01 -05:00
syl20bnr
be8a62b220 Hotfix broken 24.3 compatibility with subr-x
Resolves #375
2015-01-02 22:21:35 -05:00
syl20bnr
821a185a42 Bump version to 0.41.0 2015-01-02 00:54:18 -05:00
syl20bnr
ba3bd53f54 Fix startup error void function string-empty-p 2015-01-02 00:50:21 -05:00
syl20bnr
fa03b28313 Missing version update... 2015-01-01 22:03:26 -05:00
syl20bnr
ad9441c20b Add a note during spacemacs update
That only elpa packages are updated for now
2015-01-01 02:20:10 -05:00
ralesi
847b8f1a43 Spacemacs upgrade command
- create upgrade function and button on start page.
2015-01-01 02:14:43 -05:00
syl20bnr
97a22d3a8d Add support for all base16 themes
Requested in #367
2015-01-01 02:07:43 -05:00
syl20bnr
fe8b43885c Fixes #343 Add the version number in Spacemacs 2014-12-31 23:53:38 -05:00
syl20bnr
ba972c875e Center the doge 2014-12-30 15:25:05 -05:00
syl20bnr
41db8628c5 Add doge and random* values for dotspacemacs-startup-banner
`doge` will always select the doge super duper banner
`random*` is a random choice include all banners (doge included)
2014-12-30 00:00:34 -05:00
syl20bnr
1b313a6fa0 Rename doge banner to 999-banner.txt 2014-12-29 23:44:53 -05:00
Chris Barrett
7b44a56263 Awesome doge banner 2014-12-29 23:44:10 -05:00
Evan Dale Aromin
899a503ca8 Add a feature to toggle transparency
This sets the initial `alpha` frame parameter so that transparency could
be toggled later on. The level of opacity can be configured from a
user's .spacemacs through the variables `spacemacs-active-transparency`
and `spacemacs-inactive-transparency`.
2014-12-28 00:29:58 -05:00
syl20bnr
89fb5a46d6 New function configuration-layer/layer-declaredp 2014-12-26 15:14:15 -05:00
syl20bnr
a9adee3039 Display chosen banner in Messages 2014-12-26 00:44:40 -05:00
syl20bnr
c6ac04d180 Add variable dotspacemacs-startup-banner
To choose between:
- random for randomly chosen banner
- an index for a specific banner
- nil for no banner at all
2014-12-25 15:38:13 -05:00
syl20bnr
0a3003bfc7 Add a templare for layer README 2014-12-25 15:25:10 -05:00
syl20bnr
714d8b9bf5 Random selection of startup banner 2014-12-25 15:24:26 -05:00
syl20bnr
2554d16c16 Rename config-system.el to configuration-layer.el 2014-12-25 14:45:27 -05:00
sbenner
24fcfebf85 New variable dotspacemacs-mode-line-unicode-symbols
Can choose between ASCII chars or unicode symbols in the mode-line
can be useful for some terminals
2014-12-23 16:39:57 -05:00
Rich Alesi
6e0e863756 Add cache locations for more packages. Add additional items to savehist 2014-12-22 21:52:03 -05:00
sbenner
466450f106 More beautifuler banner 2014-12-22 15:42:01 -05:00
syl20bnr
3901e70f6c Fixes #316 Pre-extensions var are required by default 2014-12-21 22:07:58 -05:00
syl20bnr
653a3416f5 Fixes #315 error when a layer does not exist 2014-12-21 21:58:00 -05:00
syl20bnr
018f0768e6 Refactoring of config-system.el
Would be easier to improve helm-spacemacs and code
unit tests (in fact the pre-refactoring version was
not unit testable)
2014-12-21 02:52:52 -05:00
syl20bnr
73b7a4b45a Disable evil fine undo 2014-12-20 15:05:56 -05:00
syl20bnr
a730a9cb57 Fixes #283 Find a way to map <SPC> m to , 2014-12-19 00:35:14 -05:00
syl20bnr
61243c9b07 Fix colors for rainbow-identifiers at startup 2014-12-17 22:33:37 -05:00
syl20bnr
0b073dbaa1 Remove use-package sub-module it is now a bootstrap package 2014-12-17 19:02:34 -05:00
syl20bnr
1be173774a Tweak new variable dotspacemacs-maximized-at-startup 2014-12-15 21:13:01 -05:00
Bjarke Vad
d9f670784b dotspacemacs-fullscreen-at-startup
- dotspacemacs-fullscreen-at-startup now toogles fullscreen, not maximize
- dotspacemacs-maximized-at-startup added, toogles maximized as the old dotspacemacs-fullscreen-at-startup did
2014-12-15 21:07:38 -05:00
syl20bnr
cd761f3ca1 Fixes #270 Evil keybindings no longer work in *Scratch* buffer 2014-12-14 13:53:06 -05:00
syl20bnr
1a44b042de Fixes #258 C-u to scroll up doesn't work anymore 2014-12-13 14:16:50 -05:00
ralesi
9d44a19541 Added dotspacemacs persistent-server setting to always keep server open 2014-12-13 00:36:10 -05:00
syl20bnr
28a96d9014 Center links in spacemacs buffer 2014-12-12 21:44:47 -05:00
Tristan Hume
8d71e5544f Fancy spacemacs mode buttons 2014-12-12 21:42:42 -05:00
sbenner
74e0437cb2 Smooth bootstrap sequence 2014-12-12 11:53:19 -05:00
sbenner
c76aac063d Remove spacemacs/buffer function and tweak startup 2014-12-12 11:34:36 -05:00
sbenner
4d23aa2160 Install evil and evil-leader at the beginning of the boot sequence 2014-12-12 11:11:15 -05:00
syl20bnr
eb0259f7ab Add variable dotspacemacs-smartparens-strict-mode
By default it is not enabled
2014-12-12 00:08:30 -05:00
syl20bnr
be11d44009 Fixes #236 custom ex-command and M-x command key
New variable: dotspacemacs-command-key
2014-12-10 22:12:54 -05:00
syl20bnr
f9c3dcb8fc Fix alphabetical sorting of packages and extensions
Packages and extensions were not initialized in the right order.
Fixes #243 SPC s c does not unhighlight
2014-12-10 21:31:16 -05:00
syl20bnr
06923e0517 Restore the warning level before packages initialization
The *Warning* buffer will now popup correctly if there is an
error during packages initialization
2014-12-06 23:51:47 -05:00
syl20bnr
b344553aaf New variable dotspacemacs-leader-key to change the leader key
Also fix the broken custom leader key in visual and motion
states.
2014-12-06 17:55:20 -05:00
Chris Barrett
7138f594c9 Skip installation of nonexistent packages
When attempting to install a package on startup, test whether it is in
the package archives list. If it is not, skip the installation attempt
and issue a warning.

Resolves #212
2014-12-05 20:41:19 -05:00
syl20bnr
322fceb207 Fixes #186 Extend support for native themes. 2014-12-01 23:56:54 -05:00
syl20bnr
20fecf2984 Fixes #182 Pre-extensions var are required by default
Pre and Post extensions lists are now optional.
2014-11-30 12:00:53 -05:00
syl20bnr
40c16ff5b4 Log a warning when a layer listed in .spacemacs does not exist 2014-11-30 00:52:22 -05:00
syl20bnr
fd79edaca7 Improve log in *Messages* at startup
Replace "contribution layer" by "configuration layer"
Prepend the type of package in logs (pre-extension, post-extension or package).
2014-11-29 22:20:33 -05:00
syl20bnr
cb2d35adbd Fixes #166 Lower delay for guide-key
Add configuration variable dotspacemacs-guide-key-delay
2014-11-28 21:48:16 -05:00
syl20bnr
a04a64eca8 Better .spacemacs template 2014-11-28 21:43:07 -05:00
syl20bnr
3018b73439 Remove duplicate inhibit-startup-screen 2014-11-28 01:08:33 -05:00
syl20bnr
1ea149f49f Remove GUI elements only if needed. 2014-11-28 00:17:41 -05:00
syl20bnr
d25326f0d6 Move back GUI elements removal... :-) 2014-11-28 00:07:29 -05:00
syl20bnr
d713d0b531 Move GUI elements initialisation to the top of spacemacs-mode 2014-11-27 23:39:00 -05:00
syl20bnr
d50f7e3664 Fix typo in dotspacemacs-default-theme 2014-11-27 23:38:43 -05:00
syl20bnr
aebe9543d7 Add support for custom default theme 2014-11-27 23:14:51 -05:00
syl20bnr
570033214d Add makefile to launch tests and dummy tests
Using ERT
2014-11-23 10:24:24 -05:00
syl20bnr
382a72c9a3 Add function to create a new configuration layer 2014-11-22 00:08:44 -05:00
syl20bnr
8cb1230e7e Add function dotspacemacs/install 2014-11-21 22:33:54 -05:00
syl20bnr
cb5b079970 Move variable definitions from init.el to spacemacs-mode.el 2014-11-21 22:14:58 -05:00
syl20bnr
0c8f599a22 Discover private configuration layers 2014-11-21 22:06:04 -05:00
syl20bnr
97145c1781 Rename contribsys.el to config-system.el 2014-11-21 21:55:00 -05:00
syl20bnr
28c6cd2a91 Move dotfile related stuff into dotspacemacs.el file 2014-11-21 21:20:20 -05:00
syl20bnr
c8992dfb7b Add empty templates for configuration layers 2014-11-21 21:07:05 -05:00
syl20bnr
30e4d9d48b Move .spacemacs.template to template directory 2014-11-21 21:06:41 -05:00
syl20bnr
467b70100b Prepend '(Spacemacs)' for all spacemacs messages 2014-11-18 21:46:46 -05:00
syl20bnr
f601e7acc9 Fix counter when installing package 2014-11-17 21:01:58 -05:00
sbenner
a9c39ee9f8 Add variable dotspacemacs-smooth-scrolling to enable smooth-scrolling 2014-11-17 15:41:15 -05:00
syl20bnr
4b46e83172 Move theme and UI elements config to spacemacs-mode 2014-11-16 22:41:11 -05:00
syl20bnr
668b9f88f9 Move contribsys package.el initialization in a function 2014-11-16 22:41:05 -05:00
syl20bnr
82e0efa70e Add feature toggle for evil leader on "jk" in ~/.spacemacs 2014-11-16 00:15:16 -05:00
syl20bnr
855c522590 Fix a bug in automatic orphans deletion algorithm 2014-11-14 23:54:08 -05:00
syl20bnr
d627763288 Support for per layer excluded packages in contribution system 2014-11-11 22:57:25 -05:00
syl20bnr
cb07f7c375 Support for additive configuration in contrib system 2014-11-11 21:53:00 -05:00
syl20bnr
75e88c73d7 Minor change to contribsys.el 2014-11-11 21:08:20 -05:00
syl20bnr
89a8873f2b Fixes #42 false positives in orphan package cleanup 2014-11-11 00:09:52 -05:00
syl20bnr
b33cbba0b3 Add suppport for contrib category sub-directories 2014-11-10 22:26:11 -05:00
syl20bnr
f4471a642f motion state for spacemacs-mode buffer
Now it is possible to press `q` to quit the buffer
2014-11-03 22:37:25 -05:00
syl20bnr
79ebac8505 Stop copying .spacemacs.template
Should be done explicitly by the user.
2014-10-25 23:29:18 -04:00
syl20bnr
97a5a335f7 Fixes #35 spacemacs dotfile should be optional 2014-10-25 22:54:03 -04:00
syl20bnr
f630180636 Fixes #25 put custom variables in ~/.spacemacs 2014-10-24 23:51:52 -04:00
syl20bnr
26531a5e12 Update version check of ~/.spacemacs
Now the check pass if the major version of ~/.spacemacs is
the same as the major version expected by Spacemacs
2014-10-24 23:05:11 -04:00
syl20bnr
7c3a2f3059 Fix a bug where wrong dependent packages could be deleted 2014-10-24 22:44:14 -04:00
syl20bnr
ef1e3efa6d Port automatic package deletion to Emacs 24.4 2014-10-24 22:39:03 -04:00
syl20bnr
156d16c2ef ~/.spacemacs version is now a string
Sorry you'll have to update your file one more time
Just change 1 to be "1"
2014-10-24 19:33:46 -04:00
syl20bnr
27df1d19fb ~/.spacemacs file has now a version 2014-10-23 23:11:36 -04:00
syl20bnr
864e3e6eb0 Move inhibit-startup-screen to spacemacs-mode.el 2014-10-23 23:11:18 -04:00
syl20bnr
a9cabf4767 Move spacemacs/load-dotfile to contribsys/load-dotfile 2014-10-23 23:09:28 -04:00
syl20bnr
ac2188c9c9 Move after-init hook into a function in contribsys.el 2014-10-23 23:07:40 -04:00
syl20bnr
93e1ff2546 Add support for multiple contrib layer directories 2014-10-23 22:25:28 -04:00
Oliver Caldwell
c41bffcf8a Swapped melpa.milkbox.net to melpa.org
They have a new domain: http://www.reddit.com/r/emacs/comments/2k2kmv/melpamilkboxnet_is_now_melpaorg/
2014-10-23 22:52:06 +01:00
syl20bnr
6fd0623036 Output in *Messages* when no orphan package has been found. 2014-10-21 15:43:08 -04:00
syl20bnr
c517424032 Add auto-remove of orphan elpa packages 2014-10-21 01:41:33 -04:00
syl20bnr
9e56de6b08 Renamed spacemacs-config-disabed-packages to dotspacemacs-excluded-packages
And make it usable for both packages and extensions.
Users should upgrade their .spacemacs file bu adding the definition of
this variable (dotspacemacs-excluded-packages), see .spacemacs.template
2014-10-19 22:49:34 -04:00
Tristan Hume
9d87b6d33f Add ability to disable packages 2014-10-18 15:58:02 -04:00
syl20bnr
dfd8f76a86 Display the number of packages loaded in spacemacs buffer 2014-10-05 09:39:21 -04:00
syl20bnr
ca370430f4 Make optional packages.el and extensions.el file in configuration layers 2014-10-05 00:14:50 -04:00
syl20bnr
4bad31779d Check for existence of layer configration files
Now it is not mandatory to create all the files of a
configuration layer (i.e. if you define no new functions
in your layer, you are not compelled to create it).
2014-10-04 23:14:12 -04:00
syl20bnr
a9d4c56665 Missing namespace prefix for some functions in core 2014-10-03 22:18:27 -04:00
syl20bnr
a8fbf45891 Fix counter of installing packages 2014-10-03 00:52:39 -04:00
syl20bnr
f15e1df5dd Display 'installing...' message in spacemacs buffer before actually installing a package 2014-10-03 00:19:49 -04:00
syl20bnr
21f60ff213 Add function: contribsys/get-layer-property 2014-09-30 22:58:22 -04:00
syl20bnr
c444e8e6a8 Change startup message of minibuffer
To "Spacemacs is ready!"
2014-09-29 22:43:25 -04:00
syl20bnr
31afaaeadb Remove required macros.el file in a configuration layer
Now macros should be defined in funcs.el
2014-09-28 16:31:54 -04:00
syl20bnr
0a0c2f4ed3 Remove temporarily hack for python.el 2014-09-27 18:09:37 -04:00
syl20bnr
a60e9d13a9 Check for Emacs version
If required version is not met, then Spacemacs is disabled.
2014-09-27 00:11:37 -04:00
syl20bnr
6f372edf59 Hack for missing python.el in some Emacs distributions 2014-09-27 00:10:58 -04:00
syl20bnr
c0c464a39b Temporarily reactivate marmalade for python
Seems that python is not a built-in package in at least
Ubuntu packages
2014-09-26 14:08:58 -04:00
syl20bnr
c6eaf937cc Improve logging and add mirror logging to message buffer 2014-09-25 22:14:57 -04:00
syl20bnr
3ef749eb66 Get rid of marmalade dependency
This repo is often down which makes it very unreliable for a starter kit
2014-09-24 23:12:41 -04:00
syl20bnr
49194a6ead Automatically sort the list of packages before installation 2014-09-24 23:07:59 -04:00
syl20bnr
a209b6caae Display name of installed packages during installation 2014-09-24 23:07:34 -04:00
syl20bnr
a2955d659d Minor text change in contribsys 2014-09-23 21:20:49 -04:00
syl20bnr
c8310c6393 Clean up init.el 2014-09-23 20:48:11 -04:00
syl20bnr
3d7435e316 Update banner (800th commit!) 2014-09-21 20:21:15 -04:00
syl20bnr
777fa49021 New banner! 2014-09-21 19:56:52 -04:00
syl20bnr
a3cef1be48 Set some variables for spacemacs-mode 2014-09-09 23:12:31 -04:00
syl20bnr
e63513f97a Set spacemacs-mode to spacemacs startup buffer 2014-09-09 23:05:02 -04:00
syl20bnr
36025ce23a Rename spacemacs.el to spacemacs-mode.el 2014-09-09 22:32:20 -04:00
syl20bnr
2b39b8c535 Add a beta annotation 2014-09-09 22:09:22 -04:00
syl20bnr
3e1e036876 Move core elisp code to core/ 2014-09-09 22:02:38 -04:00