Commit graph

4362 commits

Author SHA1 Message Date
Eivind Fonn
41459bea12 Set evil-move-beyond-eol to nil for now 2015-09-17 22:05:04 +02:00
syl20bnr
5e0fa16a32 go: move SPC m h p to SPC m h h
To follow conventions
2015-09-17 13:45:37 -04:00
bogdanteleaga
9daac9b306 lang/go: change keybindings to removed shadowed oracle and follow conventions 2015-09-17 14:45:27 +02:00
person808
7b43896910 Fix showing snippets in company popup.
Fixes #2387 #2051
2015-09-16 22:37:08 -04:00
Robert O'Connor
b4e6e52d0e Remove Tromey.
Fixes #3049
2015-09-16 21:41:37 -04:00
justbur
02fbfbe74f core-conf-layer: Use NOSAVE for pack. update (v25)
Should fix #2849. The new package-delete tries to save changes to the
selected package variable during the update process and this can cause
conflicts with how spacemacs wants to update packages (and even lead to
the .spacemacs file being deleted. This is also unnecessary, because we
are only deleting the packages temporarily to be installed at the next
boot, so there should be no need to update this variable.

This change only affects Emacs 25 users.
2015-09-16 21:41:08 -04:00
Bar Magal
b4c10a4749 Fix update error when a distant package is unavailable
Instead of error, show a warning that the unavailable package(s) were
skipped. This should handle situations were a package is temporarily
unavailable from MELPA (or other sources).
2015-09-16 21:38:40 -04:00
syl20bnr
a4fd6407b2 core: tweak prompt for dotfile recovery 2015-09-16 21:37:42 -04:00
Christopher McCloud
44f1ee55d7 add recovery from malformed .dotfile to core
If spacemacs encounters errors on the initial load of the user
.spacemacs file, now defaults to loading the default template.
Additionally, temporarily suspends pruning of orphan packages to make it
easier for users to recover after they fix their dotfile.

Previously, errors would cause the spacemacs boot process to halt,
leaving users with an almost stock emacs configuration. Now, users will
have a default spacemacs available to them to fix the error.

adds layer preservation.

add prompt for preferred editing style on recovery

Remove advice after first run.

add dotspacemacs/safe-load as function.

moves style prompt into dotspacemacs/init advice

add hybrid as valid editing style.

move conditional into dotspacemacs/load-file.
2015-09-16 21:28:12 -04:00
Markus Bertheau
1054e6e7ce Add which-key prefixes for major-mode leaders
Without this, prefixes configured for `SPC m` bindings don't show up for
the major mode leaders.
2015-09-16 21:24:28 -04:00
Robert O'Connor
3f2e885811 Rename spacemacs-core to spacemacs-base
Per the discussion in #3002. A comment in #3047 prompted this PR.
2015-09-16 21:22:35 -04:00
Eivind Fonn
018c5c0908 Fix bug with define-prefix-command (2) 2015-09-16 16:40:39 +02:00
Eivind Fonn
ac9c96fb1a Fix bug with define-prefix-command 2015-09-16 16:39:01 +02:00
syl20bnr
d42a642903 Update change log 2015-09-16 00:27:15 -04:00
Eivind Fonn
21146f4fed Fix #2390
Sets up company in eshell-mode-hook during the init phase so that it can
be reliably disabled in user config.
2015-09-14 15:09:28 +02:00
Eivind Fonn
4f95d58bd4 Fix evil-matchit for python and ruby 2015-09-14 12:05:13 +02:00
Robert O'Connor
08ce016d63 add evil-matchit support for python 2015-09-14 12:03:30 +02:00
Robert O'Connor
79e2b1a646 add evil-matchit support for ruby files 2015-09-14 12:03:28 +02:00
Eivind Fonn
40ee152865 doc: M-SPC doesn't exit helm micro-state
Move `q` binding further up to make it visible
2015-09-14 10:57:55 +02:00
luxbock
7b404f46c6 clojure: various tweaks
- Add missing leader prefixes
- Stop using deprecated cider-jump-to-var (Use cider-find-var instead)
- Add toggle for indentation style in clojure-mode
- Remove cider-debug-defun-at-point in repl leader (It doesn't do
  anything other than messing up the buffer)
- Add spacemacs/cider-display-error-buffer
- Gives faster access to display the last error buffer.
2015-09-13 23:01:15 -04:00
Eivind Fonn
a764eb4eb9 Fix version injection in home buffer
Don't inject version if banner is nil
2015-09-13 22:54:16 -04:00
syl20bnr
8aa4eadc74 core: move prefix funcs to new file core-keybindings.el 2015-09-13 22:53:15 -04:00
syl20bnr
9bc754c50c spacemacs-core: cleanup prefix functions
Also change the way the command symbols are constructed
2015-09-13 22:47:09 -04:00
Eivind Fonn
de64218dcd Add distribution to describe-system 2015-09-13 22:24:02 -04:00
justbur
846fa3075c spacemacs-core: Fix issues with major-mode-leader
Use same hook as evil-leader for major-mode-leader. This fixes an
inconsistency that could arise between the leader key being bound but
the major-mode leader key not being bound (See for example #3000). By
using the same hook as evil-leader-mode, we ensure that either both keys
or bound or neither.

A minor problem that was fixed was `mode-map` and `major-mode-map` were
not let bound and had global scope.
2015-09-13 22:23:47 -04:00
Or Neeman
18ea193be7 Correct Idris layer's name in its README 2015-09-13 22:22:03 -04:00
Eivind Fonn
9a76e9dd9e CSS improvements
- Add binding for helm-css-scss in css mode
- Add smartparens to all css-like modes
2015-09-13 22:21:50 -04:00
Martin Račák
5b1ef55b96 Fix documentation for emacsclient
Verbatim text with equal sign was't displaying correctly. Another
solution would be to escape `=` with Org mode entity, but GitHub won't
display it correctly.
2015-09-13 22:21:05 -04:00
syl20bnr
ad7d310883 core: install dotfile before layer syncing 2015-09-13 21:59:36 -04:00
syl20bnr
071c92e131 Move gc-cons-threshold to init.el and increase it to 100MB
Resolves #3011
2015-09-13 21:59:13 -04:00
Eivind Fonn
0f1b573e7e Fix #3015 (void function)
company-mode/more-than-prefix-guesser is only defined if the c-c++ layer
is used and clang support is enabled.
2015-09-13 23:12:23 +02:00
justbur
098e43c8ff Temporary fix for #2995
This sets the default distribution back to spacemacs. This is for people
who for whatever reason don't set `dotspacemacs-distribution` in their
dotfile.
2015-09-12 13:52:52 +02:00
Eivind Fonn
4228f9c749 Update tests folder structure 2015-09-12 13:37:47 +02:00
Eivind Fonn
666c202d28 Fix tests 2015-09-12 13:24:56 +02:00
syl20bnr
139b32398c spacemacs-core: change hybrid lighter to " hybrid"
TO better fit with holy lighter which is not abbreviated
2015-09-11 23:17:56 -04:00
syl20bnr
cd50d9c069 core: defer distro insertion in home buffer 2015-09-11 23:14:16 -04:00
justbur
89443ad220 hybrid-mode: Cleaner implementation
Using setf is better than using the previous advice, because it was
ignoring the arguments passed to evil-insert-state and the arguments
control whether the state message displays in the minibuffer. In this
version we just switch out the function definition for
evil-insert-state, and all arguments are handled perfectly.

spacemacs-core: Don't defer hybrid-mode

hybrid-mode is now extremely lightweight, and deferring it causes
problems if someone wants to bind keys in hybrid-mode but doesn't have
it selected as their editing style on startup. The reason is the
hybrid-mode keymap will not be available and an error will be thrown.
This requires using eval-after-load in this case, and this seems overly
complicated just to avoid loading this file.
2015-09-11 23:06:03 -04:00
syl20bnr
3b7d66d118 sync-configuration-layers: add option to skip tests 2015-09-11 23:04:55 -04:00
syl20bnr
77161bd591 core: restore default mode line in home buffer 2015-09-11 23:04:01 -04:00
syl20bnr
6e0ca23db8 core: set default distribution in template to spacemacs-core
Also remove version-control layer from template and add emacs-lisp
to initial value for dotspacemacs-configuration-layers
2015-09-11 23:00:33 -04:00
syl20bnr
62fb20c7c5 Move ido-vertical-mode package to spacemacs-core 2015-09-11 22:59:14 -04:00
justbur
f59cb5b215 core: Add choice of distro on install
Ref #2926
2015-09-11 21:27:36 -04:00
syl20bnr
520fa4bdb8 spacemacs: fix undo of auto-indentation of pasted text
Fixes #2346
2015-09-11 21:01:11 -04:00
Bar Magal
44672329fb hybrid-mode: fix error when using vim/emacs style 2015-09-11 12:15:27 +03:00
Bar Magal
1f3e6fabac Adding back hybrid-mode.el 2015-09-11 11:38:37 +03:00
syl20bnr
b45911f3d5 spacemacs: remove duplicated files 2015-09-11 00:16:56 -04:00
justbur
6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
syl20bnr
30e6d213aa spacemacs-core: revert layout-double-columns and layout-triple-columns 2015-09-11 00:05:08 -04:00
d12frosted
82be34d36f restore spacemacs/new-empty-buffer 2015-09-11 00:02:22 -04:00
Christoph Paulik
c33a1db41a python: use quit-window to close documentation popup 2015-09-11 00:00:07 -04:00