Commit graph

937 commits

Author SHA1 Message Date
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
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
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
Eivind Fonn
de64218dcd Add distribution to describe-system 2015-09-13 22:24:02 -04: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
syl20bnr
cd50d9c069 core: defer distro insertion in home buffer 2015-09-11 23:14:16 -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
justbur
f59cb5b215 core: Add choice of distro on install
Ref #2926
2015-09-11 21:27:36 -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
91bb21788f core: simplify and fix visual state in evilified buffers
Fix cherry-pick of selected commit in visual state
2015-09-09 23:45:05 -04:00
syl20bnr
c17db0dcb0 core: minor update of warning message when a layer does not exist 2015-09-09 23:45:04 -04:00
justbur
cc9287863b core: Fix #2952 by not loading missing layer
This issues a warning if the layer was declared in the dotfile but not
found through the layer discovery mechanism.
2015-09-09 23:45:04 -04:00
syl20bnr
b53b5db967 spacemacs-core: remove SPC f e s and SPC f e c
Now the user should use `SPC f e h` helm-spacemacs.
This is due to the fact that spacemacs layer is now a regular layer
stored in the "layers" directory.
2015-09-08 01:01:46 -04:00
syl20bnr
6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00
syl20bnr
37609161c8 tests: Add configuration layer functional tests 2015-09-07 19:42:22 -04:00
d12frosted
c43a8e958e respect setting startup banner to nil #2911 2015-09-07 14:26:33 -04:00
syl20bnr
d44b9429dc core: add default value to docstrings in dotfile template 2015-09-07 01:06:29 -04:00
ralesi
2ccb4ab7df Allow specification of helm location. 2015-09-07 01:06:29 -04:00
syl20bnr
d11fb1c4a0 core: add variable dotspacemacs-helm-no-header
Hide the helm header whenever there is only one source.
Also correctly set back the default height for headers.
2015-09-07 01:06:29 -04:00
d12frosted
8440a380f2 fix setting custom banner path 2015-09-07 01:06:27 -04:00
syl20bnr
555927c7ec core: use package-alist to resolve orphans
instead of the downloaded package archive. It fixes a case where
a package maintainer removes a dependency D of a package P and spacemacs
detects it which has the effect of deleting the obsolete package D, but
package-alist is not yet updated, because package-alist is updated only
when P is reinstalled (or upgraded).
2015-09-07 01:06:27 -04:00
justbur
bd8369918b Clean-up which-key dotfile options 2015-09-07 01:06:27 -04:00
Tim Jäger
91057d5986 Switched dotfile options to which-key
Renamed option
Added buffer position option
Updated template
Updated documentation
2015-09-07 01:06:27 -04:00
d12frosted
82c905559a fix return binding in terminal for spacemacs-mode 2015-09-04 09:38:15 +02:00
syl20bnr
8adc82d1ae core: actually read :disabled-for layer property
Also it is not need to pass a list, example:

```
(setq dotspacemacs-configuration-layers
   '((auto-completion :disabled-for org git)))
```

Will disable auto-completion for org and git layers.
2015-09-03 13:17:02 -04:00
syl20bnr
88d30d7074 core: add :disabled-for keyword for declared layers
Example:

(setq dotspacemacs-configuration-layers
'((auto-completion :disabled-for (org))))

Will not run any org/pre-init-xxx or org/post-init-xxx functions where
xxx is a package owned by the auto-completion layer.

Limitation:

If ownership of an auto-completion package P is stolen by another layer L
then :disabled-for must also be declared with L, otherwise the P will
be configured for org.

(setq dotspacemacs-configuration-layers
'((auto-completion :disabled-for (org))
  (L :disabled-for (org)))

The user should not change the default owner of a layer unless really
required (for instance to use his own fork).
2015-09-02 23:10:30 -04:00
syl20bnr
719080f533 core: rename configuration-layer/filter-packages to
configuration-layer/filter-objects
2015-09-02 23:10:30 -04:00
Eivind Fonn
973a1b6c48 Bugfix: call user-config when syncing layers 2015-09-02 08:28:02 +02:00
syl20bnr
fba874d64d core: add hybrid as allowed value in dotfile 2015-08-31 23:35:28 -04:00
syl20bnr
92b8c31e36 core: always execute all dotfile tests 2015-08-31 23:27:18 -04:00
syl20bnr
cf5e12100d core: save dotfile before executing the tests 2015-08-31 23:26:47 -04:00
syl20bnr
18611cfbd2 core: compute list of dotspacemacs variables for init tests 2015-08-31 23:16:14 -04:00
syl20bnr
04b2a3a459 core: tweak dotfile test results buffer modes
Make it read-only in view mode with indent mode one.
Disable flyspell if necessary.
2015-08-31 22:14:12 -04:00
syl20bnr
40c01e67b7 core: wrap long lines in core-dotspacemacs.el 2015-08-31 22:08:10 -04:00
syl20bnr
c688f29738 core: rename dotspacemacs/config to dotspacemacs/user-config
in template dotfile.
Display a warning when dotspacemacs/config is encountered; support for
dotspacemacs/config will be dropped in 0.105.0
2015-08-31 22:02:43 -04:00
syl20bnr
26b2a5c029 core: execute dotfile tests when SPC f e R
The test results buffer is displayed only if there are errors.
Make dotspacemacs/test-dotfile return non-nil when all the tests passed.
dotspacemacs/test-dotfile takes an optional parameter to hide the
result buffer.
2015-08-31 21:52:47 -04:00
justbur
a30695c459 Convert dotspacemacs-tests to org-mode output 2015-08-31 21:26:10 -04:00
justbur
51022543a8 Add tests for correctness of .spacemacs
Note this makes a critical (but backwards compatible) change
to .spacemacs.template
2015-08-31 21:26:03 -04:00
Eivind Fonn
c6ba7d9300 Refactor test system
Should allow easier testing of layers, not just core
2015-08-31 21:16:34 -04:00
ralesi
4d96e652ad Set up resize setting to enable auto-resize for helm. 2015-08-30 23:54:11 -04:00
Eivind Fonn
b981bf5739 Don't produce on/off toggles if status is nil
They don't make sense in this context, and will produce unexpected
results.
2015-08-26 22:27:09 -04:00
Robert O'Connor
7da1b876aa Add a rev number to SPC hds.
Describe system information was useless if we don't know which rev.
people are using. This adds this information.
2015-08-26 21:59:51 -04:00
Ben Booth
a8582813c0 fix typo 2015-08-26 21:57:22 -04:00
Christopher McCloud
09de9ba86c adds helm-find-contrib and helm-find-spacemacs.
Set as default unless user has dotspacemacs-use-ido t.
Adds comments to .spacemacs.template informing users of new behavior
tied to dotspacemacs-use-ido.
2015-08-26 21:38:01 -04:00
syl20bnr
1f367476df core: move evil-want-C-u-scroll
In a near feature we should remove this setting, we should not
shadow the universal prefix argument
2015-08-26 21:33:25 -04:00
sooheon
f3cb4399ba Remove duplicate call to dotspacemacs/init
As far as I can tell this seems to be the exact same function call.
Unless there's a reason for it to be in both places, we should take
it out.
2015-08-26 21:31:50 -04:00
syl20bnr
6318f009bc core: add new function to allow a layer to add other layers
- configuration-layer/declare-layers
- configuration-layer/declare-layer

These functions can be used in the config.el file of a layer to add
required layers.

For instance the react layer needs both html and javascript layers.
salt layer needs the yaml layer (see the following commits)
2015-08-26 02:41:54 -04:00
syl20bnr
5c26c892dc core: fix tests 2015-08-25 22:56:23 -04:00
syl20bnr
a8f6afaf13 core: fix resolution of orphan packages
Fix a bug were distant packages with no owner were not deleted.
2015-08-25 22:52:26 -04:00
syl20bnr
d255cae4b8 core: refactor layer loading
Prepare the field for some kind of layer prerequisites required by
react and yaml layers
2015-08-25 22:28:30 -04:00
syl20bnr
8a5f454c32 core: fix installation of package dependencies 2015-08-15 00:08:21 -04:00
syl20bnr
50b3b4c99a core: add support for recipe update 2015-08-15 00:07:56 -04:00
syl20bnr
437a819ea1 core: inline recipe in package list
It is now possible to override the recipe in a custom layer.

For instance to override the recipe R for package P in layer L
In a private layer L' put at the end of dotspacemacs-configuration-layers
and listing P with an init function for P, L' becomes the ower of
P and the recipe R' defined in L' overrides the recipe R.
2015-08-14 15:31:22 -04:00
justbur
568e464ca3 Fix #2148: Update failure in Emacs 25
The `package-delete` function refuses to delete a package that is a
depency by default, which prevents the spacemacs update function from
working most of the time.

This commit sets the flag to force deletion for Emacs 25.
2015-08-14 14:39:34 -04:00
syl20bnr
e410812d59 New macro dotspacemacs|symbol-value and improved diminish
Now it is possible to have unicode symbols in GUI and not in
terminal using emacsclient

Do to so, dotspacemacs-mode-line-unicode-symbols must be set to
the symbol 'display-graphic-p which will be lazily evaluated
via the macro dotspacemacs|symbol-value

This is especially useful for users having troubles with unicode
characters in their terminal but wants to use them in GUI client.
2015-08-14 12:25:54 -04:00
syl20bnr
6e2bbd2979 Put spell-checking as default in dotfile template 2015-08-13 23:01:44 -04:00
syl20bnr
e8072b0057 Fix returned local dir value in python and rcirc layers 2015-08-13 09:02:03 -04:00
syl20bnr
62c6462ae9 core: fix nil :owner on package dependencies
Fixes #2643
2015-08-13 09:00:18 -04:00
justbur
16cb070acb Add hybrid-mode 2015-08-13 01:37:03 -04:00
syl20bnr
b45f3b0d0a core: the owner of a package can override some properties
Allowed properties to be overridden are: location, step and excluded
This mechanism allow the user to alter the location of a given
package, for instance if she wants to use her own fork instead of the
version in ELPA.

Note that for now there is no easy way to override the package recipes.
2015-08-13 01:23:39 -04:00
syl20bnr
be068f99bc core: fix variable evil-evilified-state--modes 2015-08-13 00:42:24 -04:00
syl20bnr
1c8d90c856 core: add support for quelpa recipes 2015-08-12 23:56:24 -04:00
Robert O'Connor
ba63987030 Fix the path for loading solarized.
Once all extensions were moved from "extensions" to "local",
spacemacs was no longer able to find the solarized themes.

Thanks to @TheBB for helping narrow this down!

Closes #2628
2015-08-12 03:12:52 -04:00
syl20bnr
ebe4540752 core: missing file :-)
time to sleep!
2015-08-12 01:49:30 -04:00
syl20bnr
4b2d275fb5 core: move back evilify macros to their own file
Fixes tests
2015-08-12 01:48:51 -04:00
syl20bnr
75f2db862b move evilified state to core 2015-08-12 01:31:44 -04:00
syl20bnr
1514c6e7d3 core: fix bug in package-usedp
It returned t even if the package has no owner.
Fixes #2601
2015-08-11 23:25:00 -04:00
syl20bnr
4148fdff56 core: add support for local directory 2015-08-11 19:45:28 -04:00
syl20bnr
5b94e3ab8a Update change log and releae notes 2015-08-11 01:34:04 -04:00
syl20bnr
038fc23c0d spacemacs layer: fix various issues with ahs micro-state
- made it work with *
- fix go to definition
- don't use the minibuffer
2015-08-10 23:56:40 -04:00
syl20bnr
e2bdc25396 core: fix mandatory package and extension list variables 2015-08-10 21:22:28 -04:00
syl20bnr
ba47013e32 Update change log and release note 2015-08-10 09:11:14 -04:00
Robert O'Connor
3f7dab0eeb Change elpa to use http.
GNU is having issues with HTTPS right now.

Fixes #2596
2015-08-09 21:52:47 -04:00
syl20bnr
b7205ebd49 core: fix load file error with dotspacemacs-additional-packages 2015-08-09 14:47:19 -04:00
syl20bnr
88143a33fa core: correctly handle packages owned by the dotfile
i.e. packages listed it dotspacemacs-additional-packages
2015-08-09 11:38:15 -04:00
syl20bnr
9ac2d54423 core: correctly make excluded packages 2015-08-09 11:34:35 -04:00
syl20bnr
181563279a core: fix unit tests for emacs 25 snapshot 2015-08-09 11:34:03 -04:00
syl20bnr
51807654a1 core: package-list-v2 fix packages update
Ready to be merged in develop
2015-08-09 00:59:13 -04:00
syl20bnr
bd7e0b8b9c core: fix syntax error in a let form 2015-08-09 00:59:13 -04:00
syl20bnr
64be291221 core: rename some function arguments to more explicit pkg-name 2015-08-09 00:59:13 -04:00
syl20bnr
52f2fa206b core: suppress warning message for bootstrapped packages 2015-08-09 00:59:13 -04:00
syl20bnr
88a6ddbe37 core: package-list-v2 fix orphan deletion 2015-08-09 00:59:12 -04:00
syl20bnr
9f99f86da0 core: fix configuration-layer unit tests 2015-08-09 00:59:12 -04:00
syl20bnr
f0985162c6 core: package-list-v2 fix helm-spacemacs 2015-08-09 00:59:12 -04:00
syl20bnr
00fc8f9502 core: package-list-v2 fix install of packages 2015-08-09 00:59:11 -04:00
syl20bnr
b887a21bb6 core: package-list-v2 working loading, still error at install time 2015-08-09 00:59:11 -04:00
syl20bnr
aa2669ee9c core: package-list-v2 install and orphan detection
Still need to clean the orphan detection though

Packages are not configured for now
2015-08-09 00:58:48 -04:00
syl20bnr
e4748ea692 core: package-list-v2 sort package list 2015-08-09 00:58:33 -04:00
syl20bnr
e145f73b8b core: package-list-v2 fix layer variables 2015-08-09 00:58:02 -04:00
syl20bnr
f484c2594a core: package-list-v2 new class cfgl-package 2015-08-09 00:55:46 -04:00
syl20bnr
aa090635fa core: remove support for quelpa-use-package
Unfortunately spacemacs is not designed for installation
at use-package call time.
For use-package to be called a package must already be installed,
so I will continue on the initial plan, that is providing the
quelpa recipe at the <layer>-packages list level.

This is no bigdeal, this is basically moving :quelpa from
use-package to <layer>-packages variables.

Moreover it makes more sense to define package property at
declaration time instead of initialization (at least in spacemacs
world where installation is decoupled from configuration).
2015-08-05 00:24:02 -04:00
vkz
bd432752bc Replace after-init-hook with emacs-startup-hook
This has a benefit of not assuming that the user .emacs.d/ is in the
user home directory. Should continue to work as expected when this is
the case, but you could also start a fresh Emacs session like
so (assumes OSX):
open -a Emacs.app -n --args -q -l /path/to/emacs.d/init.el
So you don't have to muddle with symlinking your ~/.emacs.d or replacing
it with another just to try Spacemacs (or any other config). Note, that
this won't work with `after-init-hook` which doesn't appear to run when
Emacs is run with -q flag. As a result the `dotspacemacs/config` in your
.spacemacs won't run.
2015-08-04 23:17:12 -04:00
sooheon
8a72da7372 Fix single letter typo for the quickhelp :) 2015-08-04 23:12:47 -04:00
syl20bnr
2728ad8820 core: define quelpa variable before actually requiring it 2015-08-04 21:13:25 -04:00
syl20bnr
13b77479fb core: bootstrap quelpa and quelpa-use-package 2015-08-04 21:06:12 -04:00
syl20bnr
69b38ab8dd core: add documentation string for spacemacs|evilify-map macro 2015-08-03 23:13:28 -04:00
syl20bnr
bca0999726 core: add :eval-after-load keyword to spacemmacs|evilify-map macro 2015-08-03 23:00:49 -04:00
Xue Fuqiao
2cd0dfdfb5 Remove `tooltip-use-echo-area' usage.
`tooltip-use-echo-area' is obsolete since 24.1; disabling `tooltip-mode'
achieves similar effect, and Tooltip mode has already been disabled in the
current code. Since Spacemacs supports Emacs 24.3 and 24.4,
`tooltip-use-echo-area' usage can be removed safely.
2015-08-02 22:18:25 -04:00
Diego Berrocal
c1ec00c38c Provides only necessary info in the minibuffer 2015-08-02 17:42:20 -04:00
syl20bnr
e97c85e430 Rename system-info to describe-system-info and add it to SPC h d s 2015-08-01 00:58:42 -04:00
Swaroop C H
6798c5be85 Add "system-info" fn for IRC support
I have seen many "I have a problem" discussions in the Gitter chat which
starts with a barrage of questions "Which OS? Which Emacs version?",
etc., so I thought it may be useful to have one function that will
generate the info to be copy-pasted into the Gitter chat and hence both
the user and others helping in the Gitter chat can jump directly to
solving the problem instead of the support volley to figure out the
setup.

Example output:

ELISP> (spacemacs/system-info)
"OS: darwin Emacs: 24.5.1 Spacemacs: 0.103.0 Spacemacs branch: develop
Layers: ((auto-completion :variables auto-completion-enable-help-tooltip
t) better-defaults emacs-lisp git markdown org (shell :variables
shell-default-height 30 shell-default-position (quote bottom))
syntax-checking version-control c-c++ clojure dash github html osx
python semantic sql)"

References:

From
https://github.com/syl20bnr/spacemacs/issues/2033#issuecomment-113861451 :

> Also what is your emacs version and OS ?

From
https://github.com/syl20bnr/spacemacs/issues/2042#issuecomment-113861501 :

> What's your Emacs version ? I presume it comes from the semantic
layer, can you test without the semantic layer ?
2015-08-01 00:26:40 -04:00
syl20bnr
b568f0b3ea core: tweak a bit add-toggle macro
Add message in the echo area
Slightly improve the doc string
2015-07-31 23:55:24 -04:00
Eivind Fonn
c9ea837130 Add on and off functions to toggles
Fixes #2485
2015-07-31 23:47:54 -04:00
Travis B. Hartwell
4c646a1a0c Fix Spacemacs Home Buffer to jump to bookmarks.
Instead of opening the file for the bookmark, use the bookmark-jump
function to properly jump to the file and location in the file.  Also
show the bookmark name and the filename in the list.

Fixes syl20bnr/spacemacs#2431
2015-07-30 22:22:56 -04:00
syl20bnr
061c6dd13a core: fix tests 2015-07-30 21:33:28 -04:00
syl20bnr
0ca590a586 core: don't remap C-g in auto-evilified buffers 2015-07-30 00:34:15 -04:00
syl20bnr
7f8cf4564d core: home buffer, more robust centering of stuff 2015-07-29 22:07:27 -04:00
syl20bnr
cf682658c9 core: home buffer, always go to link line 2015-07-29 22:07:07 -04:00
sooheon
de9d1e72d5 Make spacemacs-buffer smarter about banner display
Allows banner setting of nil to still show buttons and changelog.
2015-07-29 21:39:08 -04:00
Eivind Fonn
2bdd56613c Revert temporary fix merged upstream 2015-07-27 12:12:36 -04:00
person808
640366e9ae Add spacing conventions for writing documentation.
These were briefly discussed in #2124.
2015-07-27 12:11:52 -04:00
Eivind Fonn
0f979d3cea Better indentation for add-toggle 2015-07-27 12:09:27 -04:00
syl20bnr
a0cbcd4a5d core: fix error when a layer is not found 2015-07-26 20:41:06 -04:00
syl20bnr
c0ec9faa56 core: fix unit tests of configuration-layer 2015-07-26 18:59:25 -04:00
syl20bnr
c30da7c293 Minor renaming of test functions 2015-07-26 10:45:34 -04:00
syl20bnr
faa18f49df core: start to use eieio
Replace the alist of layer by a list of layer objects.
2015-07-26 00:41:41 -04:00
syl20bnr
844f2026ac core: rename declare-layers and declare-layer funcs
renamed to declare-used-layers and declare-used-layer respectively
2015-07-25 22:59:54 -04:00
syl20bnr
84640910b3 Replace guide-key by which-key 2015-07-24 00:08:43 -04:00
syl20bnr
55f13db2b7 core: fix error when dotspacemacs-directory is nil 2015-07-23 22:59:45 -04:00
justbur
252f26d555 Make default private layer directory explicit 2015-07-23 22:28:26 -04:00
justbur
e1eed07c30 Add option for .spacemacs.d/init.el .spacemacs file
Setting SPACEMACSDIR overrides location of .spacemacs.d

Add dotspacemacs-directory variable

Add dotspacemacs-directory to layer search path
2015-07-23 22:25:39 -04:00
syl20bnr
0ad99623a4 Add "any" value for dotspacemacs-highlight-delimiters 2015-07-23 20:41:52 -04:00
syl20bnr
26c4e2ab80 core: remove monokai and zenburn from dotfile template
They are not part of spacemacs core since several releases so
they should not be treated differently than other themes.
2015-07-09 01:01:20 -04:00
syl20bnr
9213c6b7f2 core: change default value for dotspacemacs-themes
Make spacemacs themes official default themes for spacemacs
2015-07-04 23:51:32 -04:00
nashamri
4c6bc0d81e Make spacemacs-theme the default theme (dark variant)
Remove the spacemacs-theme extension from spacemacs layer
Add spacemacs support to the core
2015-07-04 23:31:52 -04:00
Christopher Corley
68e3d42f9d Fixes links to other documents (.md => .org) 2015-07-04 18:43:31 -04:00
syl20bnr
d7c7acde3a Update change log and release notes 2015-07-04 00:59:40 -04:00
syl20bnr
29de3b9d0c core: fix evilification of evil-escape starter key
also remove now obsolete fix thanks to this new fix

Fixes #2167
Fixes #2183
Fixes #2184
2015-07-02 22:05:22 -04:00
syl20bnr
794904adb0 Bump current version to 0.104 2015-07-02 00:53:44 -04:00
syl20bnr
4bec7fb74a Update change log and release notes 2015-07-02 00:39:13 -04:00
syl20bnr
5e1c5319e9 core: put MELPA at the top of the list of archives 2015-07-02 00:38:47 -04:00
syl20bnr
f603eece3f core: add support for evil-esacpe in evilify-map macro 2015-07-01 12:24:50 -04:00
Travis B. Hartwell
e236d5a280 core: add optional argument to configuration-layer/update-packages
So if called using the universal argument or with a parameter yes is
assumed to the question to update packages.  Useful for calling Emacs
in batch mode to update Spacemacs.
2015-07-01 01:45:37 -04:00
syl20bnr
c1124a32a1 auto-completion layer: fix typo in variable name
auto-completion-show-snippets-in-popup --> auto-completion-enable-snippets-in-popup
2015-07-01 01:30:55 -04:00
person808
bc197a288c Add option to show snippets in the company popup. 2015-07-01 01:22:34 -04:00
syl20bnr
83c0d95195 core: spacemacs/evilify-map is now a macro
Add support for additional key bindings
2015-07-01 00:20:45 -04:00
kccai
e961bd04b3 Fix typos. 2015-06-30 23:01:50 -04:00
Elais Player
0b36ce4d1f Added tao theme 2015-06-30 23:00:41 -04:00
syl20bnr
a209bab317 core: add support for automatic evilification of keymaps 2015-06-30 00:39:57 -04:00
syl20bnr
8c60f0d712 WIP automated evilification of maps 2015-06-27 23:49:18 -04:00
syl20bnr
c472191ea5 WIP support for full keymaps in automated evilification of maps 2015-06-26 23:52:37 -04:00
syl20bnr
e2e071c7fb Add support for automatic "evilification" of maps.
Works with magit-next for now.
Tests to update and evilify functions robustness need to be improved.

Does not work 100% with magit-mode-map because it is created with
`make-keymap` and not `make-sparse-keymap` and `map-keymap` does not
seem to work with `make-keymap`.
2015-06-25 23:49:53 -04:00
syl20bnr
cce7e1159c Fix tab in home buffer in terminal and define a map for spacemacs-mode 2015-06-23 00:00:51 -04:00
Tu Do
a785c44192 Fix home buffer keys in terminal
Currently, pressing TAB does not move to next widget. Similarly,
pressing RET does not run the button at point. Use `kbd` function to
properly convert to internal key representation in Emacs that is usable
in both GUI and terminal.

Also move the key bindings to spacemacs/keybindings.el since it's a more
suitable place.
2015-06-22 23:32:51 -04:00
zimbatm
b5a732220a Use SSL to contact elpa repositories when possible
* ELPA: Certificate for different domain. HTTPS redirects to HTTP.
* gnu: yes
* melpa: N/A
* org: N/A
* marmalade: Certificate expired. HTTP redirects to HTTPS.
2015-06-22 23:09:18 -04:00
syl20bnr
cd70f04827 Refactor auto-save of files
See committed documentation.
2015-06-18 23:54:07 -04:00
Tu Do
4a19bd9d33 [Fix #1453] Re-enable auto-save-mode
- Re-enable
- Move all autosave files to spacemacs-cache-directory
- Allow Auto-saving directly on current buffer.
- Add option to customize.
- Update .spacemacs template.
2015-06-18 23:13:26 -04:00
person808
a573acaa33 Open VIMUSERS.org in view-mode from quickhelp. 2015-06-15 21:35:47 -04:00
Christoph Paulik
5239efe1f4 add material-light support 2015-06-14 22:32:12 -04:00
Tu H Do
19ad82215d Move org-emphasis-regexp-components to spacemacs/view-org-file
If we put this in Org layer, new users won't have that layer and thus
this fix will not be applied.
2015-06-14 22:31:37 -04:00
Tu H Do
bcbb975845 Update quick help
Mention that a user can navigate around the doc with SPC s l.
2015-06-14 22:20:33 -04:00
person808
3ed0087cce Convert DOCUMENTATION.md to org. 2015-06-14 22:10:34 -04:00
person808
293b98a8d0 Update layer-README.template to org. 2015-06-14 21:47:02 -04:00
Fandag
073c58ca2d Fix bookmark list in home buffer, clean shortcuts
bookmark-all-names returns a list of names, but
spacemacs-buffer//insert-file-list expect a list of filenames.

Shortcut definitions seems to be a mix of two approaches/commits.
Removed the unused bits.
2015-06-11 23:23:57 -04:00
Tu H Do
6cf5dd0bcc Improve Helm Spacemac Documentation further
Refactor spacemacs/open-file to spacemacs/view-org-file to correctly
reflect its functionality. In Emacs, view means read-only. Make the
anchor-text optional so we can omit when not needed. Also add
expand-scope that can be either 'subtree or 'all to open a tree at point
or expand everything. 'subtree is used for the Change Log while 'all is
used for all Spacemacs documents.

Currently helm-spacemacs//documentation-candidates grabs everything it
can in the doc directory. In the future we might put some images there
so better just choose the correct file type to include.
2015-06-11 21:31:42 -04:00
Tu Do
2231677654 Update title for Helm Spacemacs Documentation
- Don't need to add "Helm".

- Add some info to quickhelp.

- Increase the line-width of org-kbd to 2 to make it more visible as a
  button.
2015-06-11 21:31:42 -04:00
syl20bnr
cddb83883e Add version-control layer by default to dotfile template 2015-06-10 00:01:31 -04:00
Tu Do
cfaa6edc19 Enhance viewing Spacemacs documents in Org
- Use `~` marker to represent key bindings. The `~` and `=` markers are
equivalent in Emacs: `=` uses `org-verbatim verbatim` faces, while `~`
uses `org-code verbatim)`, but both `org-verbatim` and `org-code` is
inherited from `shadow` face. So we can use `~` marker for this purpose.
`~` marker is also displayed properly on Github, since it's part of
standard Emacs, so no web functionality is broken.

- Add org-kbd face for displaying key bindings.

- Update CHANGELOG.org: use the proper `~` marker for key bindings.

- Update VIMUSERS.org: use the proper `~` marker for key bindings.
2015-06-09 20:36:19 -04:00
Tu Do
bd0ff9b5bd Beautify Chanelog buffer
By locally set org-hide-emphasis-markers, we can hide markers like
= or * to enable a smoother reading experience.
2015-06-08 23:48:17 -04:00
ptb
d875419792 Re-enable dotspacemacs-startup-banner nil option
Appears that commit 7a4a9724, disabled the dotspacemacs-startup-banner nil option.
2015-06-08 00:25:07 -04:00
person808
4297a87258 Update the quickhelp text. 2015-06-07 23:04:23 -04:00
person808
a572f2edee Add link to vim migration guide in quickhelp. 2015-06-07 23:04:16 -04:00
syl20bnr
56d8505732 core: new function spacemacs/switch-to-version
Spacemacs can now be updated by clicking on the up arrow of the
modeline.
2015-06-07 00:42:23 -04:00
syl20bnr
2db488ad37 core: add support for spacemacs update
Move release management suff to newly created core-release-management.el
2015-06-06 23:26:14 -04:00
syl20bnr
86c94a2c7f core: auto-discover categories
Categories are directories whose names start with `!`
2015-06-05 22:47:23 -04:00
Eivind Fonn
a5a294cb33 Locate layers in arbitrary subdirectories
Conflicts:
	core/core-configuration-layer.el
2015-06-05 21:36:43 -04:00
syl20bnr
f87945bc52 Add spacemacs-theme 2015-06-03 00:38:45 -04:00
Keshav Kini
696f2d461a Use weirder-looking templating variables
It's important to make templating variables something unique-looking so
that you don't accidentally write template variables where you don't
mean to.  For example, in extensions.template, "package names go here"
was being replaced with "package <name of package>s go here", etc.
Also Search case-insensitively for good measure
2015-06-02 22:50:51 -04:00
syl20bnr
3a23ba9700 Enable use-package-verbose when dotspacemacs-versbose-loading is non nil 2015-06-02 22:07:55 -04:00
syl20bnr
d6717ccdbe Bump version to 0.103 2015-06-02 21:36:45 -04:00
syl20bnr
3599517b31 Fix error when checking for new version
Explicitly re-create and fetch the checkversion remote.
2015-06-01 11:30:50 -04:00
syl20bnr
0846591934 Catch layer variable errors at startup 2015-06-01 00:29:38 -04:00
syl20bnr
499973da14 Fix unit tests for layer variables 2015-06-01 00:15:32 -04:00
syl20bnr
4fe62f238d Update startup release note 2015-05-31 23:35:14 -04:00
syl20bnr
549b18a97e New dotfile variable dotspacemacs-use-ido 2015-05-31 21:48:16 -04:00
syl20bnr
4489de827b Now :variables values must be quoted like in setq sexps
Fixes #1596
2015-05-31 20:55:46 -04:00
syl20bnr
d26b7f2c52 Disable paste micro-state by default 2015-05-31 17:52:55 -04:00
justbur
33e439e9cc Add option to select other layer directories in create-layer 2015-05-27 23:56:11 -04:00
Török Edwin
b06b52d10a avoid conflict with hydra's lv.el
fixes #1463
2015-05-27 23:52:15 -04:00
person808
3a2594e6bc Update layer templates. 2015-05-27 23:07:45 -04:00
syl20bnr
640aad0a82 Cleanup dotfile template 2015-05-27 16:09:56 -04:00
jupl
7a4a9724a4 Improve support for images in Spacemacs banner 2015-05-25 23:35:47 -04:00
Tristan Hume
eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00
syl20bnr
d681234a71 new layer: shell 2015-05-20 22:40:25 -04:00
syl20bnr
0a71214d68 Use archive instead of package-alist to detect orphans
Fixes #1538
2015-05-20 02:05:58 -04:00
syl20bnr
b461401c73 Deactivate injection of use-package hooks
Waiting for the fix to be merged upstream
2015-05-20 00:26:56 -04:00
syl20bnr
ee862ce124 Add support for use-package injected hooks 2015-05-19 23:39:03 -04:00
et2010
ecc555e917 Add org elpa repository
so that org-plus-contrib package is included in package list.
2015-05-18 02:01:18 -04:00
syl20bnr
c4b7fe9af9 One / instead of two for functions used in spacemacs/post-theme-init 2015-05-13 21:59:59 -04:00
Tu Do
9f7020ecc5 Fix evil-highlight-persist face (again!)
- Change the theme on :init.
- Re-apply when change theme with `SPC T h`.
2015-05-13 21:53:08 -04:00
syl20bnr
744b9ef656 core: better warning message with duplicated layers 2015-05-10 19:01:31 -04:00
Tu Do
f0a804f4f9 Update quickhelp
Add info to help user know how to quickly access each layer and
.spacemacas file.

Also fix line end formatting: use unix by default.
2015-05-10 01:02:29 -04:00
syl20bnr
53b7d600ff Add missing documentation in micro-state
for :execute-binding-on-enter
2015-05-09 22:36:16 -04:00
syl20bnr
56a0a94377 Warn about duplicated layers 2015-05-09 21:59:03 -04:00
syl20bnr
f09251f9c8 Update comments in dotfile template for default layers 2015-05-09 12:04:43 -04:00
syl20bnr
858bb7a733 Add powerline face tweak to spacemacs/post-theme-init 2015-05-08 00:33:30 -04:00
syl20bnr
6238c7dfad Update release note with new emacs-lisp layer 2015-05-07 00:30:44 -04:00
syl20bnr
36eca4419b New layer: emacs-lisp 2015-05-07 00:13:13 -04:00
Michishige Kaito
23bef9e93c Update theme-to-package rules for base16 2015-05-02 22:31:07 -04:00
Yen-Chin Lee
afde9f223c dotspacemacs/location should respect dotspacemacs-filepath value
Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-05-02 22:11:55 -04:00
syl20bnr
5091f79d4d Remove company-yasnippet backends 2015-04-29 23:54:30 -04:00
person808
ab6a987d96 Fix typos in .spacemacs template. 2015-04-27 23:29:44 -04:00
Luke Gaudreau
b1871d6229 Add support for apropospriate-theme
[apropospriate-theme](https://github.com/waymondo/apropospriate-theme)
2015-04-26 00:20:52 -04:00
syl20bnr
32529256e5 Refactor discovery of layers
More robust exclusion of category directories
2015-04-25 01:26:22 -04:00
syl20bnr
c82857d767 Move some layers to vim category 2015-04-25 00:07:58 -04:00
syl20bnr
670415a145 Move perspective in window-management category 2015-04-25 00:00:12 -04:00
syl20bnr
f5ea72e365 Add important key bindings modification in release note 2015-04-22 22:50:57 -04:00
syl20bnr
3b1a4e328e Move release notes and quickhelp to core/info directory 2015-04-22 22:30:00 -04:00
Tu Do
c3f2a331d6 [Emergency fix] Don't add separator to the widget list
Otherwise when the widget list is deleted to insert new widgets, the
separator "widget" is essentially text with properties and can cause
error when trying to delete, which breaks quick help and release note
buttons, making the buttons not function anymore.
2015-04-21 16:52:23 +07:00
MadAnd
6a9225299d Fix typo 2015-04-21 01:50:31 -04:00
Keshav Kini
b3fbaeba7e Optimize macro and fix typo in its name
Move macro definition above calls thereto
2015-04-21 01:46:30 -04:00
Tu Do
8614f285d9 Add separator between Evil and Emacs tutor buttons 2015-04-21 01:44:41 -04:00
Tristan Hume
5fb4427396 Use yasnippet in default backend 2015-04-21 01:44:02 -04:00
syl20bnr
5930597e50 New variable: dotspacemacs-additional-packages
Adding packages to this list will install them without
needing them to be wrapped in a layer.
Ideal for niche languages of any package that don't need
any configuration.
2015-04-21 00:33:23 -04:00
syl20bnr
1dd129ef59 Move gnus layer to email category
defvar --> setq for package lists
2015-04-20 23:42:53 -04:00
syl20bnr
2f710b4aea Fix release note 2015-04-19 12:48:00 -04:00
syl20bnr
2a57b0e16c Display release note 0.102.txt 2015-04-19 02:14:25 -04:00
syl20bnr
da952f66ba Tweak widget spacing and remove (recenter) instruction
The recenter cause the logo to be out of sight.
2015-04-19 02:11:04 -04:00
Tu Do
55f1207133 Improve Startup buffer
- Modularize and add quickhelp button
  Split the current hardcoded release note display functions into smaller
  reusable functions. Then reuse it for creating quickhelp button.
- fix: bind widget-button-click to left mouse click
  widget-button-press is for keyboard and binding it to a left mouse
  button is not suitable. The clicks on buttons are often ignored. Use the
  proper widget-button-click.
- Since this is develop, point it to 0.102.x
- Beautify org CHANGELOG
  Setting org-indent-mode hides the leading stars of all Org headers except
  the last one just enough to indicate indentation, which make it easier
  to read. Also, put it in read-only-mode so user don't accidentially mess
  up his reading material.
  Also put the CHANGELOG in view-mode for reading and navigating read-only
  content.
- Add Evil and Emacs tutorial buttons to quickhelp
  So it is even easier for first time users.
  Also refactor spacemacs-buffer//insert-release-note:
  - Change it to spacemacs-buffer//insert-note
  - Just insert content. Widgets are optional
  - Insert different widget from the two functions
    spacemacs-buffer//insert-quickhelp-widget and spacemacs-buffer//insert-release-note-widget
- Put the cursor on the quickhelp button
  So that users can start using it immediately. New users only knows RET
  to press a button and learn the rest there.
- Add m to jump back to top menu
  Also update the quickhelp content.
2015-04-19 02:04:42 -04:00
syl20bnr
ff4a207cb9 Add dotspacemacs-highlight-delimiters to dotfile template 2015-04-19 01:17:38 -04:00
syl20bnr
953209214e Change scope to current and default to all for now
Also made the delimiters ultra-bold.
2015-04-19 01:04:05 -04:00
Tu Do
8bf70ec3ba [feature] Add highlight-parentheses [#1173]
highlight-parentheses highlights the sexp scope the cursor is in and
3 upper sexp levels. We don't have to actually place the cursor on a
parenthesis just to see where it ends or begins. This package takes of this
issue regardless where we are in the sexp.
2015-04-19 00:42:09 -04:00
Keshav Kini
aab001eee8 Fix silly typo 2015-04-19 00:39:28 -04:00
zimbatm
51280cf4d8 Access github over SSL
Changes all links to github from http:// to https://
2015-04-19 00:27:48 -04:00
syl20bnr
197540b69d Add 0.102.x release note 2015-04-19 00:26:24 -04:00
syl20bnr
aabdc1882c Replace defvar with setq for pre and post extensions variables 2015-04-18 23:57:27 -04:00
syl20bnr
fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
Lou, Yufan
c57f50a84c Use file-truename in case user-emacs-directory is symlink
If not and user-emacs-directory is symlink, all following git commands will fail, resulting in "Unable to check for new version."
2015-04-15 22:39:24 -04:00
syl20bnr
71b68500d0 New dotfile variable dotspacemacs-search-tools
Default list is `("ag" "pt" "ack" "grep")
Resolve #1158
2015-04-14 22:23:57 -04:00
syl20bnr
57f802619b Don't consider used themes as orphans if they don't belong to a layer
Now it is not required to use the themes-megapack layer or define
a private layer to use a theme that is not in the spacemacs layer.
2015-04-14 15:50:29 -04:00
Tu Do
e42a10fc95 Remove shortcut button labels 2015-04-13 23:02:57 -04:00
Tu Do
a8858b885b [Fix #1083] Improve functionality of Spacemacs shortcuts
Currently, `r` and `p` moves to different locations when the change log
text is folded/unfolded. Make it always jumps to the correct location
regardless of content of home buffer by actually search for it.

Also set keys to make home buffer usable with holy-mode.

Conflicts:
	core/core-spacemacs-buffer.el
2015-04-13 23:01:26 -04:00
Tu Do
d28fd1e3a2 Beautify home buffer
Add faces to buttons to make it look gorgeous.
2015-04-13 23:00:52 -04:00
syl20bnr
5fc6cd88cd Fresh install, don't display the release notes at the next restart 2015-04-13 03:35:05 -04:00
syl20bnr
cf2cfa14ae Remove shortuct on recent items header 2015-04-13 02:42:43 -04:00
syl20bnr
31b3cc7e9e Display startup release note only if a dotfile exists 2015-04-13 02:42:11 -04:00
syl20bnr
c920871c4a Don't need to restart after first boot 2015-04-13 02:41:47 -04:00
syl20bnr
5e44e68ed9 Comment default layers in template and add a comment 2015-04-13 02:28:39 -04:00
syl20bnr
1722b93da5 Fix error loading non existing buffer cache file 2015-04-13 02:23:29 -04:00
syl20bnr
65802362e6 Fix configuration-layer unit test 2015-04-13 02:20:03 -04:00
syl20bnr
b0559c7f4d Startup buffer release note 2015-04-13 02:17:48 -04:00
syl20bnr
4c95d2238b Set preferred coding system to utf-8
Fixes #785
2015-04-12 21:27:07 -04:00
syl20bnr
b8e617c886 New function spacemacs/warning 2015-04-12 12:25:53 -04:00
syl20bnr
dac29ce71c Namespace spacemacs buffer functions with spacemacs-buffer prefix 2015-04-12 00:24:03 -04:00
syl20bnr
847c0b12a0 Move auto-completion macros to core 2015-04-11 15:10:21 -04:00
syl20bnr
9f182c53b9 Add better-defaults layer in dotfile template
resolves #1108
2015-04-11 14:52:42 -04:00
Carl Lange
4c42247287 Add toggle change log (WIP) 2015-04-11 10:52:05 -04:00
syl20bnr
6844ff9fed New layer: org 2015-04-11 00:13:02 -04:00
syl20bnr
cce8d5382d Contrib category "config"
Move puppet, ansible and dockerfile layer there
2015-04-10 22:58:14 -04:00
syl20bnr
a4919b3eda New layer syntax-checking
Move flycheck
2015-04-10 22:23:16 -04:00
syl20bnr
629fa56296 Add comment for previous commit 2015-04-10 20:28:37 -04:00
Diego Berrocal
de4b3cf60d S-Tab is interpreted as <backtab> in linux 2015-04-10 20:28:04 -04:00
syl20bnr
3107d5d9f8 Fix two important bugs in Update/Rollback
- correctly detect package dependencies to update
- rollback is now an idempotent action
2015-04-07 23:51:08 -04:00
syl20bnr
fcfe1c2c7b Fix search of package installed directory 2015-04-07 23:50:22 -04:00
syl20bnr
6ee43c8960 Change lighter for golden-ration to Ⓖ
It is more consistent with the key bindings.
2015-04-06 12:05:15 -04:00
syl20bnr
109851005c Add missing test data 2015-04-05 23:49:25 -04:00
syl20bnr
f72088e74b Add variable dotspacemacs-verbose-loading
By default to nil.
Can speedup the loading process.
2015-04-05 23:45:02 -04:00
syl20bnr
5fbb38e885 Fix header comments in test files 2015-04-05 21:01:54 -04:00
syl20bnr
63f9e72495 New functions to display some text in a frame
spacemacs/insert-framed-text-to-buffer
spacemacs/insert-framed-text-from-file-to-buffer
2015-04-05 20:59:55 -04:00
syl20bnr
4c905218ce Fix default layer in dotfile template 2015-04-04 23:38:02 -04:00
Carl Lange
fbade22319 add default layers 2015-04-04 23:37:36 -04:00
Carl Lange
be4ea14d8e Widgets ui for spacemacs buffer, working nicely 2015-04-04 23:36:39 -04:00
syl20bnr
d96da88d8a Fix helm-spacemacs for unused layers 2015-04-04 01:39:27 -04:00
syl20bnr
57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr
69a45ce353 Don't load extensions.el files twice 2015-04-03 18:09:40 -04:00
syl20bnr
318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr
2905190dc8 Fix double loading of packages.el files 2015-04-02 23:13:21 -04:00
syl20bnr
5f7579867a New update method
- backup the packages to be updated
- then delete them
- the user restart emacs and spacemacs will install the last version

Fixes some update errors related to byte-compilation like the one
which affected the powerline (void variable left)

This commit also adds some page break for clarity
2015-04-02 22:23:16 -04:00
syl20bnr
f5713f8d44 Startup lists at the end of the buffer with a page break line 2015-04-02 00:32:38 -04:00
syl20bnr
f42b686f4c Fix and tweaks for startup lists 2015-04-02 00:12:19 -04:00
Carl Lange
d478955481 Startify stuff 2015-04-02 00:03:06 -04:00
syl20bnr
655e1a2c6b Move xkcd layer in "fun" category folder 2015-04-01 23:26:47 -04:00
syl20bnr
30872ee12f Fix error when displaying the missing layer warning 2015-04-01 23:14:48 -04:00
syl20bnr
ee2aa24bec Integrate dotfile wizard at startup 2015-03-30 23:17:29 -04:00
syl20bnr
2acb2cc45e Wizard like install of dotfile with universal argument 2015-03-30 22:18:32 -04:00
Tu Do
c278b58a0b Ask user editing style when creating .spacemacs file 2015-03-30 19:18:36 -04:00
syl20bnr
06607fe3e3 Move rcirc and erc layer in irc subfolder 2015-03-27 22:27:58 -04:00
syl20bnr
ea4258d5e5 Emacs style leaders are now on M-m and C-M-m
Leader: `M-m`
Major mode leader: `C-M-m` (alternate to `M-RET` since `C-m` has
the same ASCII code then `RET`).

Resolve #917
2015-03-23 19:09:23 -04:00
syl20bnr
382eca2dbc holy-mode: you know what? Move leaders on M-n and M-m
:-)
2015-03-23 01:37:28 -04:00
syl20bnr
8e7f990d39 holy-mode: move leaders on M-1 (leader) and M-0 (major mode leader) 2015-03-23 01:16:20 -04:00
syl20bnr
c35a4ff983 holy-mode: Move leader on C-; and major mode leader on C-' 2015-03-22 23:57:08 -04:00
syl20bnr
51c5de624d Fix non activated package if there is no defined init function
Fixes #898
2015-03-22 03:02:15 -04:00
Thomas Henderson
734eb9dc7b "Improve" doge grammar
Standard Doge 1) uses two-word phrases and 2) violates the selectional
restrictions of the modifiers 'such', 'so', 'very', 'many', and 'much'.
(see
http://the-toast.net/2014/02/06/linguist-explains-grammar-doge-wow/#BjOVLZxGdAHsebDq.99)
These are my suggestions for banner phrases that more accurately match the usual
doge grammar. Oh god what am i doing with my life
2015-03-20 23:27:49 -04:00
syl20bnr
7ac6c8a8be First try for an holy-mode 2015-03-19 00:30:29 -04:00
syl20bnr
37c7041a26 Don't enable the package when initializing 2015-03-18 01:13:28 -04:00
syl20bnr
fdd481acfb New attempt to support emacs builds with no GUI support 2015-03-18 00:09:24 -04:00
syl20bnr
7bcf1dca34 Fix error for emacs versions built without graphics support 2015-03-16 23:56:17 -04:00
syl20bnr
8918725119 Reset progress bar when C-c C-c in the dotfile 2015-03-16 23:56:16 -04:00
syl20bnr
f527c1c5ff Fix window-numbering duplicated mode-line indicator 2015-03-16 01:34:32 -04:00
syl20bnr
1ea3da322c Non blocking errors at startup + inline reports in spacemacs buffer
The mode line turns red when errors have been detected
and displays the number of errors.

Fixes #440
2015-03-16 01:29:39 -04:00
syl20bnr
2c9933b466 Fix mode-line progress bar in the dotfile when pressing C-c C-c 2015-03-13 22:08:30 -04:00