Commit graph

4283 commits

Author SHA1 Message Date
Timothy Jones
2f6a45f561 Rename the idris-lang layer to idris
The idris-mode package has been updated to no longer use the
idris-packages variable, which allows the Idris layer to safely be
renamed to the standard for other languages.
2015-09-22 11:08:22 +02: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
Muneeb Shaikh
1fc73d671f Evilify magit-stash-mode 2015-09-19 18:44:32 -04:00
Eivind Fonn
92c792c18e Allow local packages without owner 2015-09-19 18:44:19 -04:00
syl20bnr
0ab2c89628 evil: remove evil-move-beyond-eol and comment out cursor refresh hack 2015-09-19 18:16:00 -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
Eivind Fonn
c169b78eed Add private package location 2015-09-19 01:11:11 -04:00
justbur
89ec2d7096 Add back core-keys: Rewrite emacs-leader handling
Brings back the changes made in
dad786bc8d with an additional fix for
evil-org whose config was unbinding important leader keys in org-mode
2015-09-19 01:07:26 -04:00
syl20bnr
fe4d6a7d79 core: fix dotspacemacs/install and tweak choice descriptions 2015-09-19 01:05:17 -04:00
Robert O'Connor
2a274767d3 Switch the default distribution to spacemacs
This will cause a lot of confusion for newcomers.
2015-09-19 01:02:51 -04:00
Robert O'Connor
3839e1a925 Temporarily disable evil-matchit for python.
See #3068; redguardtoo/evil-matchit#18 and redguardtoo/evil-matchit#58
2015-09-19 01:02:22 -04:00
Chris Grindstaff
88daf79ad1 Update config.el
Fix spelling
2015-09-19 01:00:25 -04:00
Tim Jäger
e06ee1f9f2 Updated README.org file for extra-langs layer 2015-09-19 00:57:32 -04:00
Brian Hicks
a9a26e5b18 shell: fix bad casing in README 2015-09-19 00:57:16 -04:00
Joris Engbers
68bbe0eaa9 Fix wrong variable name in README for rcirc layer. 2015-09-19 00:57:06 -04:00
Eivind Fonn
d0d2b15ae2 Fix org-repo-todo loading
- Incorrect function name
- Remove explicit list of commands (they all have autoload cookies)
2015-09-18 10:27:27 +02:00
syl20bnr
220b15a734 Revert "core-keys: Rewrite emacs-leader handling"
This reverts commit dad786bc8d.
2015-09-17 23:41:48 -04:00
syl20bnr
3f18a09560 core: install and uninstall package from package-alist
Consult the archive only when the user actually update the packages.
Fixes #2956
2015-09-17 23:06:43 -04:00
justbur
dad786bc8d core-keys: Rewrite emacs-leader handling
This is how evil-leader gets `SPC m` to work for mode specific bindings,
and we need to mirror this step for `M-m`. This is big change, but in
order for `M-m` to work properly we need to remap it to the mode-map
whenever possible.
2015-09-17 22:35:51 -04:00
Eivind Fonn
fa32b9be5c More flexible additional packages
When the package already exists, use configuration-layer/make-package
to copy information into the existing package object.

This allows overwriting location, step and excluded, but NOT owner,
pre-layers or post-layers.
2015-09-17 22:32:54 -04:00
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