Commit graph

6949 commits

Author SHA1 Message Date
JAremko
c5be9c23a0 Recenter buffer when content width increase. 2016-09-05 21:12:52 -04:00
JAremko
95f4119366 disabled by default centering in space-doc-mode.
Fix centered-buffer-mode conflict with Emacs 25
2016-09-05 21:12:52 -04:00
syl20bnr
03f9f9f700 core: contain side effects when loading packages for SPC h SPC
Fixes some edge cases like SPC f e R performed after SPC h SPC which
could wrongly install or uninstall packages.

Side effects is contained using the variable
configuration-layer--package-properties-read-onlyp, if non nil then
properties value of a package cannot be overwritten.
2016-09-05 20:54:07 -04:00
syl20bnr
34971edc32 core: fix make-package multiple calls side effects
Calling multiple times configuration-layer/make-package appends the
same layers to :owners, :pre-layers and :post-layers slot.

Use object-add-to-list instead of push.

Add some tests and mock some warning messages.
2016-09-05 15:01:35 -04:00
syl20bnr
7a9f031e2b core: Split configuration-layer/make-packages-from-layers
Split the function in two functions:
- configuration-layer/make-packages-from-layers
- configuration-layer/make-packages-from-dotfile
2016-09-05 12:40:44 -04:00
syl20bnr
f7668181d6 core: refactor make-package and make-packages
Rename configuration-layers/make-packages to
       configuration-layers/make-packages-from-layers

Move all package initialization logic to configuration-layers/make-package
instead of having it split between make-packages and make-package.
2016-09-05 11:54:29 -04:00
syl20bnr
047b57223a Fix packages list for spacemacs-language 2016-09-05 11:51:30 -04:00
Eivind Fonn
107fe46d6e Fix latex-mode jump handler definition 2016-09-05 09:48:54 +02:00
Eivind Fonn
22edae1f04 Fix jump handler macro invocation 2016-09-05 09:45:35 +02:00
syl20bnr
317694b160 Define missing jumper handler variables for helm-gtags 2016-09-05 02:38:13 -04:00
syl20bnr
9066d073b2 Fix (void-variable spacemacs-jump-handlers-....)
Move the variable definitions to config.el and eval-after-load the
key binding on SPC m g g.
2016-09-04 22:31:47 -04:00
syl20bnr
43a445b1df Remove wrongly pushed change in core 2016-09-04 12:29:52 -04:00
syl20bnr
c6a6c41d92 Replace hooks by regular list for jump lists
Hook semantic is to be used with run-hooks API and run all hooks
sequentially, jump list semantic is different since the running
functions are not guaranteed to be executed so we prefer using regular
list API to manage jump-lists.
2016-09-04 12:28:40 -04:00
Christian Kjær
622938c757
Haskell: Add support for intero-apply-suggestions
As per #6233 add support for `intero-apply-suggestions` behind `SPC m r s`,
and move the prefix declaration for "haskell/refactor" to the other prefix declarations,
since it is no longer only relevant for hlint.
2016-09-04 11:50:00 +03:00
Aaron Jensen
bc5eb62e53 core: Add resize hook later in startup
Fixes hang while resizing on startup with initial-frame-alist.

Fixes #6986
2016-09-03 12:07:07 +02:00
Eivind Fonn
e207038208 Add dsm variable for responsive home buffer 2016-09-03 12:07:03 +02:00
Eivind Fonn
2ef8c00e6b Add global bound on startup list lengths 2016-09-03 12:06:57 +02:00
Christoph Paulik
4029679584 Fix Python jumping with async anaconda mode function.
Without this dumb-jump-go is often used if anaconda-mode-find-defintions
takes a little to return a result.

fix #6985
2016-09-03 12:04:31 +02:00
Fabien Dubosson
2ef2c48189 [bepo] Fix loading of the ranger correction
For whatever-reason-unknown-to-me, this change is needed in order to
make key correction working now :-)
2016-09-03 12:04:24 +02:00
Andrew Schwartzmeyer
6a08e2f65e Fix get-package-directory regex
Previous change in 5d6e9ab789 dropped the
"/" marker to match at beginning of string. Since directory-files
matches a regex, use "\\`" to indicate match at beginning of string.
2016-09-02 21:44:43 +02:00
syl20bnr
3290c8a94f Fix possible infinite appending to golden-ratio-exclude-buffer-names
Each time the config is reloaded with SPC f e R we were appending new
strings to the variable.
2016-08-31 22:42:58 -04:00
syl20bnr
4c72b369c3 Typo in DOCUMENTATION.org 2016-08-31 22:34:57 -04:00
syl20bnr
d998c7edf5 Move SPC p G to SPC p C-g to regenerate tags
I have the impression that SPC p G can be used for something more
useful regarding tags.
Tags regeneration triggers a process that can take a while to make
more sense to make it less accessible.

If there is nothing useful to be added to SPC p G we can consider
reverting this commit.
2016-08-31 22:32:27 -04:00
syl20bnr
1b4efdddc3 Move projectile-find-tag from SPC p y to SPC p g
SPC p g was free so why not using it.
2016-08-31 22:32:22 -04:00
syl20bnr
463be7916c Move SPC b t to replace SPC p o by org-projectile/goto-todos
SPC p o was for projectile-multi-occur which is not really useful given
the alternative provided by Spacemacs

If this binding is really important we can consider adding it back
on SPC p O or find another way to integrate multi-occur in Spacemacs.
2016-08-31 22:32:16 -04:00
Eivind Fonn
3a28393a23 Implement :enabled-for layer keyword 2016-08-31 22:15:13 -04:00
deb0ch
fc23818c1c fix 4b2f123: do not remove workaround 2016-09-01 00:56:22 +02:00
Eivind Fonn
a90414cc1b Add additional linebreak in home buffer 2016-08-31 18:48:27 +02:00
deb0ch
55accac7e5 center startup summary in spacemacs buffer 2016-08-31 18:44:15 +02:00
deb0ch
7dfa038107 redisplay startup info summary when re-centering and refreshing spacemacs buffer 2016-08-31 18:42:19 +02:00
Eivind Fonn
df255da69a Fix: only choose random banner once 2016-08-31 18:33:48 +02:00
ralesi
a7d4674202 Auto center spacemacs-buffer on window resize. 2016-08-31 18:29:12 +02:00
Tej Chajed
4e7d80b50a
core: Use lowercase in bug report submit binding
"C-C C-C" is confusing since the Emacs convention is to use lowercase
letters in keybindings.
2016-08-30 14:26:43 -04:00
Eoin Houlihan
77a4c4a203 Include *idris-holes* and *idris-info* in golden ratio exclude 2016-08-30 16:25:15 +02:00
Eivind Fonn
7427c03b46 Change SPC aoP to SPC bt (thanks ralesi) 2016-08-30 16:22:13 +02:00
MadAnd
a7232d53e7 Fix auto complete with key sequence in Hybrid mode
Implement handling of `evil-hybrid-state-map` keymap to make completion
with a key sequence work in Hybird state.
2016-08-30 16:18:13 +02:00
Michael Parks
1993e490ef Add mu installation note for OSX/Homebrew users 2016-08-30 16:14:56 +02:00
Christoph Paulik
28b8572eb0 Python: Fix link in layer Readme. 2016-08-30 16:11:57 +02:00
bmag
6d454a2313 auto-completion: manual help tooltip and minor fix
New value `manual` for auto-completion-enable-help-tooltip enables the
user to display help tooltip on-demand. Other values remain the same:
nil for no tooltip at all, t (or any non-nil non-manual value) for
automatic tooltip.

Minor fix: call `company-quickhelp-mode` just once, because it's a
global minor-mode.
2016-08-30 16:10:27 +02:00
Kaleb Elwert
d202ead5fa Add new base16 color schemes 2016-08-30 16:05:59 +02:00
Eivind Fonn
2f4b05ddf5 Fix java layer after eclim package refactor 2016-08-30 16:03:19 +02:00
Eivind Fonn
886aac6386 Fix C-k not working in company-quickhelp-mode 2016-08-30 16:00:19 +02:00
Eivind Fonn
3357153e36 Fix company-quickhelp in daemon mode 2016-08-30 16:00:07 +02:00
Eivind Fonn
3ce6f41b1e Fix version-control layer in daemon mode 2016-08-30 16:00:05 +02:00
Eivind Fonn
a5fa48f1db Additional ycmd fixes 2016-08-30 15:59:17 +02:00
deb0ch
88742b564f ycmd layer: a better global_conf.py 2016-08-30 15:59:15 +02:00
bmag
64a1b85523 NeoTree: clarify docs 2016-08-30 15:55:48 +02:00
bmag
1bca514d25 Fix neotree TS 2016-08-30 15:55:46 +02:00
Muneeb Shaikh
a5579ffce7 neotree: add ts for easy discoverabilty of keys
Fix #6867
2016-08-30 15:55:45 +02:00
bmag
4b2f123a05 neotree window: assign 0 only when at top-left 2016-08-30 15:53:25 +02:00