Commit graph

629 commits

Author SHA1 Message Date
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
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
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
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