Sebastian Wiesner
659d585c7a
Fix type error in package-archives
...
The archive name must be a name.
Fixes `SPC a P`.
2015-11-20 11:45:08 +01:00
syl20bnr
629d736b79
core: add package keyword :protected
...
A protected package cannot be uninstalled nor excluded.
2015-11-19 00:53:57 -05:00
justbur
b294461957
evilified-state: Make into local package
2015-11-18 23:35:01 -05:00
syl20bnr
1061adbac9
New variable dotspacemacs-elpa-https
...
If non nil use HTTPS otherwise use HTTP.
Default is t.
2015-11-18 13:50:30 -05:00
Alan Schmitt
3dcbaf4166
Inject user-emacs-directory' in
async-start'
2015-11-16 10:20:51 +01:00
Bar Magal
1a91e3ea14
Home buffer: make number of recent files configurable #2335
...
Fixes issue #2335
2015-11-15 12:33:23 +01:00
caleb
1a917c429c
fix typo for spacemacs-base option
2015-11-15 12:19:54 +01:00
Jason McCandless
91588dc7a0
Use https for package sources that support it
2015-11-14 00:38:06 -05:00
Eivind Fonn
bfd0782b24
Update layer readme template
2015-11-13 14:50:54 +01:00
Eivind Fonn
c3866382b2
Documentation update
...
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Rich Alesi
a16e170a41
Fix micro-state error.
...
Seems like `defdoc` was being defined by the return of `spacemacs//micro-state-set-minibuffer-height`.
2015-11-13 13:54:16 +01:00
syl20bnr
9290acf058
layouts: new variable dotspacemacs-auto-resume-layouts
...
If non nil then layouts are automatically resumed upon start.
Also always enable persp-mode (i.e. remove lazy loading of it).
Fixes #3736
2015-11-11 00:59:17 -05:00
syl20bnr
4004f8d383
layouts: split dotspacemacs-default-layout-name into 2 variables
...
dotspacemacs-default-layout-name is only to set the name
new variable dotspacemacs-display-default-layout controls the display
of the default layout in the mode-line
2015-11-11 00:55:42 -05:00
syl20bnr
9e5e309bf0
dotfile: new variable dotspacemacs-max-rollback-slots
...
Replaces the old spacemacs-number-of-rollback-slots
2015-11-11 00:14:46 -05:00
syl20bnr
098b173877
Split comments to no go past the 80th column in the dotfile template
2015-11-10 23:49:07 -05:00
Eivind Fonn
353acb4070
core: fix function name
...
Introduced in ddeea31ca4
2015-11-10 23:34:27 +01:00
Eivind Fonn
ddeea31ca4
core: remove dash dependency
2015-11-10 22:40:26 +01:00
Fabian Wilk
55664858ae
Rollback slots are now limited.
...
- Introduced new variable `spacemacs-spacemacs-number-of-rollback-slots'
which holds the maximum number of desired rollback slots.
- Introduced functionality to delete oldest rollback slot directories if
total number exceeds the configuration value.
2015-11-10 22:24:57 +01:00
codefalling
91c00fe76a
Add farmhouse-theme
2015-11-09 19:01:35 +01:00
Muneeb Shaikh
6b3e82d2d9
Allow customization of the default layout name in mode-line
...
- Changed dotspacemacs variable
2015-11-09 18:43:05 +01:00
syl20bnr
aed1811f76
perspectives: big refactoring
...
- Rename micro-states to "layouts"
- Rename some functions to include "layout" instead of "perspective"
- cleanup variables
- move functions to funcs.el
- move package specific stuff to post-init functions
- changes key bindings
- micro-state documentation rewrite
- change format of the layouts line in the micro-state doc
- defer loading of persp-mode which loads with `SPC l`
- always display the spacemacs home buffer with no switch
- various fixes
- various new bugs :-)
2015-11-09 00:36:09 -05:00
syl20bnr
0389be8a6e
micro-state: only grow minibuffer size with a min of 10
2015-11-09 00:36:07 -05:00
syl20bnr
1ac27be88e
core: resize minibuffer for docstring of micro-states
2015-11-09 00:36:05 -05:00
syl20bnr
f7a2f9c2cd
core: execute :on-enter before :doc in micro-state
2015-11-09 00:36:02 -05:00
Eivind Fonn
4f2b08154c
core: Don't delete bootstrap packages as orphans
2015-11-04 20:21:42 +01:00
Eivind Fonn
31a768a172
Update layer README template
...
With respect to the recent documentation changes
2015-11-04 20:05:37 +01:00
syl20bnr
b405752f6c
Remove global infix in dotspacemacs-global-line-numbers
...
I feel that it is not needed because it makes not a lot of sense to
have it non global since it is a dotfile variable.
Also remove ' from the docstring for consistency.
2015-11-03 00:00:55 -05:00
Fabien Dubosson
612c3df265
Introduce 'relative for global-line-numbers
...
Allow to use 'relative as value for the dotspacemacs-global-line-numbers
setting. This enable relative global line numbers as it is a common
usage.
2015-11-03 00:00:55 -05:00
Eivind Fonn
212389b24d
Fix doc publishing code
...
- Fix wrong function names and variables
- Move export folder out of source tree, so we don't export the exports
- Add jpg to source image files
2015-11-02 22:30:44 +01:00
ralesi
dcf0c2bbc2
Inject emacs version along with spacemacs version
2015-11-02 00:42:57 -05:00
Yiming Chen
c0570e7481
Fix C-u dotspacemacs/sync-configuration-layers
2015-11-02 00:19:44 -05:00
Eivind Fonn
1070d4b56a
Set up documentation publishing
2015-11-01 23:40:36 -05:00
syl20bnr
37cb1bc562
core: fix configuration-layer/package-usedp for excluded packages
...
Was returning non nil for excluded packages.
Fix exclusion of evil-magit and evilification of magit buffers.
2015-11-01 00:59:29 -04:00
Muneeb Shaikh
db453acbd6
Customizable whitespace-cleanup
...
- Default: cleanup whitespace on changed lines
2015-10-31 14:16:31 +01:00
Eivind Fonn
15f4db4d10
Re-enter theme cycle in right place after SPC T h
2015-10-29 19:38:52 +01:00
Muneeb Shaikh
8379c2f7af
Fixes #1217 , SPC T n after SPC T h broken
...
If we select a theme after spacemacs' startup, then
`spacemacs--cycle-themes` doesn't have the first theme from
`dotspacemacs-themes` so we start over.
2015-10-29 19:32:05 +01:00
Fabien Dubosson
c3299f0eca
Make linum toggle local and add a variable for global mode
...
`global-linum-mode` is making line numbers appearing in `*spacemacs*`
and `helm` buffers, what is annoying.
This change make the linum `SPC t n` toggle buffer-local, and add a
customization variable in `.spacemacs` to enable line numbers globally.
«Globally» here as to be understood as «in `prog-mode` and `text-mode`».
2015-10-29 19:30:06 +01:00
syl20bnr
3dec1ce9ec
core: perform local path existence check at configuration time
...
In order to be able to log the not found path as a warning instead
of crashing.
Also adds unit test to test both valid and invalid local paths.
2015-10-22 22:39:53 -04:00
Fabien Dubosson
ecf35c25e6
Remove the code that reset the first line.
...
This part doesn't seem to be needed any longer. I tested it in terminal
and in GUI modes, both with spacemacs and spacemacs-base distributions,
both with and without a banner: No visual difference with and without
this code.
2015-10-22 21:46:34 -04:00
Fabien Dubosson
b1590c9071
Prevent spacemacs to overwrite clipboard at startup
...
Close #3457
2015-10-22 18:46:45 -04:00
Eivind Fonn
0c6065e32d
Allow explicit path for package location
2015-10-22 18:27:32 -04:00
syl20bnr
07d28a2d6d
micro-state: :exit
keyword now accepts a list
2015-10-18 23:35:51 -04:00
syl20bnr
4326ca9534
core: update LV with last version from Hydra
2015-10-18 23:31:57 -04:00
justbur
4640f4ffa2
core-release: Add checks to switch-to-version
...
Mainly adds a check to make sure the working directory is clean before
switching versions. The automatic update should not remove changes by
the user. They can do that manually if they wish.
Also restructures the function to make it a little easier to follow.
2015-10-18 22:11:15 -04:00
justbur
aa547faed6
config-layer: Correct package update note
2015-10-18 22:11:03 -04:00
Eivind Fonn
be06d945cd
Fix Spacemacs buffer notes
2015-10-15 18:38:28 +02:00
justbur
c96183f56a
spacemacs-buffer: Distinguish types of updates
...
Add a spacemacs update button to the spacemacs buffer, and relabel the
package update button to read "Update Packages". This will hopefully
resolve some confusion about updating spacemacs vs. updating the
packages.
I also tweaked the switch-to-version function to make it a little more
verbose to use it for the spacemacs update button.
2015-10-14 00:42:00 -04:00
Fabien Dubosson
f5fb2f654a
Correct .spacemacs template's doc and indentation
...
Change a reference from `spacemacs/config` to the new
`spacemacs/user-config` function. Correct the file indentation.
2015-10-14 00:33:26 -04:00
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
Amin Bandali
7ebc3bd291
Fix erc notification icon
...
Introduce and use spacemacs-assets-directory for specifying the
spacemacs assets used in defining the app icon path, instead of a
hardcoded string
2015-10-12 09:37:56 -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
Eivind Fonn
3a2bd94e05
Fix bug introduced in df6b530
2015-10-07 22:33:29 +02:00
syl20bnr
3c7ad38e4d
core: remove dotspacemacs-verbose-loading
...
verbose is activate with --init-debug
2015-10-07 15:51:40 -04:00
justbur
7a288656b1
debug-init: Get more info from debug-init
...
1. Make sure debug-on-error stays on
2. Force verbose loading
3. Detect long requires and loads (with --timed-requires)
4. Start profiler (with --profile)
2015-10-07 15:51:40 -04:00
syl20bnr
0cbe01433d
Move (setq help-window-select 't) to spacemacs-base
2015-10-07 15:51:40 -04:00
sooheon
984f5aa3d8
Keep focus while navigating *help* buffers
...
As discussed in issue #2659 .
2015-10-07 15:51:39 -04:00
syl20bnr
df6b530f0f
core: remove unneeded parenthesis
2015-10-07 15:51:39 -04:00
person808
c1b6293268
Replace eval-after-load
with with-eval-after-load
.
...
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -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
Eivind Fonn
e9c5e168d6
core: remove special handling of spacemacs-theme and solarized theme
...
Also remove the local solarized-theme package
2015-10-07 15:51:39 -04:00
Eivind Fonn
def1a8df2b
core: Spacemacs home as initial buffer for clients
2015-10-07 15:51:39 -04:00
Yen-Chin Lee
2a983671af
Fix some cl-lib function with prefix
...
Since emacs 24.3, function in cl-lib should with cl- prefix.
Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
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
96ef3d1e9a
evilified: rebind SPC to '
2015-09-29 21:35:03 -04:00
syl20bnr
14bad7b99c
evilified: rebind : to |
2015-09-29 21:27:21 -04:00
syl20bnr
347fc731a6
evilified: rebind / to \
2015-09-29 21:16:25 -04:00
syl20bnr
169d1622e8
core: set ad-redefinition-action to accept
...
resolves #192
resolves #2893
2015-09-29 21:10:59 -04:00
Syohei YOSHIDA
2bd94c18d3
Loading warnings for using warning-minimum-level
2015-09-29 15:05:36 +09:00
syl20bnr
cd3fb97d3b
Bump version to 0.105
2015-09-28 23:53:20 -04:00
syl20bnr
2cfc9a5a60
dotfile: fix template
2015-09-28 23:41:11 -04:00
syl20bnr
2c6e48cb32
Update release note to include Y remapping to y$
2015-09-28 23:36:51 -04:00
Xue Fuqiao
1af3428b82
Typo fixes
2015-09-28 23:23:32 -04: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
syl20bnr
7c42ed713e
Update release notes
2015-09-28 01:31:50 -04:00
syl20bnr
4b869b9821
core: add comment for with-eval-after-load backport
2015-09-27 21:03:48 -04:00
justbur
1898cdcb90
core: Add with-eval-after-load backport
2015-09-27 21:02:15 -04:00
syl20bnr
5637f0963c
core: fix crash at startup due to bad require
2015-09-26 00:36:01 -04:00
syl20bnr
773076a1be
core: remove core-evilify-keymap.el
...
Move its contents to core-evilified-state.el
2015-09-26 00:26:16 -04:00
syl20bnr
d237d56c23
evilify: simplify implementation and fix tests
2015-09-26 00:11:34 -04:00
syl20bnr
5d654767ea
evilify: fix visual state hooks breaking keymaps
2015-09-25 21:55:37 -04:00
syl20bnr
994daaf398
evilify: Add pre-command-hook to visual state as well
2015-09-25 21:46:01 -04:00
syl20bnr
6e89fe33b1
evilify: new pre-command-hook to dispatch commands
...
Use a pre-command-hook to introspect current keymap under point and
dispatch the command to evilified-state keymap or mode keymap.
2015-09-25 21:29:48 -04:00
justbur
aded834a57
evilify: Only modify map in evilified state
...
Possible fix for #3078
2015-09-25 21:07:04 -04:00
syl20bnr
1c04c07b98
core: fix evil-escape in evilified buffer
2015-09-25 20:21:07 -04:00
syl20bnr
3a829ce89e
core: fix key bindings in visual state for evilified buffers
2015-09-25 00:27:52 -04:00
syl20bnr
d97d2d410c
core: remove a bunch of duplicate functions...
2015-09-25 00:27:52 -04:00
person808
952a848738
Add missing value to dotfile tests.
2015-09-23 18:08:28 -10:00
syl20bnr
7a2e604741
core: remove 'post value for :step property
...
post value for package :step property is both useless and considered
harmful. It would hijack the determinism of the loading order.
'pre value is used very very rarely and I even think it is not even
used since most of the time a package that must be loaded in pre step
is a bootstrap package. But we keep 'pre since it can be useful to
have it for _exceptional_ cases.
2015-09-24 00:02:02 -04:00
justbur
042f1635a5
evilified-state: Add C-z to emacs-state
2015-09-23 23:31:05 -04:00
syl20bnr
5402dae81b
core: add new :location value -> built-in
...
Can be used to configure built-in packages
2015-09-23 22:01:47 -04:00
syl20bnr
f294ba3887
core: remove 'private value for :location
...
While doing the tests I encountered an edge case where a package owned
by the dotfile could be passed either a 'private or 'local location
which is ambiguous (moreover where do we put packages with 'local
location ?).
We remove the ambiguity by removing the 'private value and push the
path ~/.emacs.d/private/local/pkg/ when the owner of a local
package PKG is the dotfile.
When the owner of a local package is a layer then the load path is
in the "local" subdirectory of the layer directory. It adds no value
to use the old 'private location in this case.
2015-09-20 00:49:18 -04:00
Eivind Fonn
92c792c18e
Allow local packages without owner
2015-09-19 18:44:19 -04:00
syl20bnr
ff2ff60830
core: fix configuration-layer/create-layer
...
Missing name parameter for configuration-layer//copy-template
2015-09-19 01:37:45 -04:00
syl20bnr
c111ff24af
core: make private location work with dotfile owner
2015-09-19 01:36:48 -04:00