Commit graph

6847 commits

Author SHA1 Message Date
Christoph Paulik
83ec3afc7e Fix Python layer loading on emacs master branch.
The member function works slightly different on the master branch of
emacs than in emacs 24.5 or emacs 25 release candidates. This might be a
bug in emacs but for now we can add a check if python-test-runner is a
list to work around that.

Fix #6246.
2016-08-21 15:16:56 +02:00
d12frosted
c7384638b1
fill paragraphs in scala layer readme 2016-08-21 10:55:25 +03:00
james sangho nah
6b71e168b2
Fix typo in Scala README 2016-08-21 10:53:54 +03:00
syl20bnr
3a5edf9f05 Fix configuration layer functional tests 2016-08-19 23:50:29 -03:00
syl20bnr
1e64768fb7 core: rename dotspacemacs-download-packages
Rename dotspacemacs-download-packages to dotspacemacs-install-packages
to better reflect the changes in the previous commit.

Also change the value 'used to 'used-only (note that 'used is still
supported for backward compatibility).
2016-08-19 21:31:57 -03:00
syl20bnr
564cbc40ed core: better behavior for dotspacemacs-download-packages
See end of this message for important breaking changes.

Previous behavior was to configure any installed package which caused
a lot of bad side effects and could make spacemacs unusable. This
behavior made little sense and does not fit with spacemacs.

This commit fixes this behavior by separating installed packages from
configured packages. In short dostspacemacs-download-packages variable
now only affect package installation. Packages are now configured if and
only if they are effectively *used* (i.e. listed in variable
dotspacemacs-configuration-layers or dotspacemacs-additional-packages).

IMPORTANT CHANGE: functions `configuration-layer/declare-used-layer` and
`configuration-layer/declare-used-layers` have been removed. These
functions have been introduced in develop branch only so the impact
should be minimal.
2016-08-19 21:04:33 -03:00
Eivind Fonn
5001e2167a Bump version to 0.105.22 and update change log 2016-08-19 18:03:50 +02:00
d12frosted
319b31683f
minor improvements to prodigy readme file
- Close sentence with dot.
- Fill paragraphs.
2016-08-19 11:13:02 +03:00
Nizar Venturini
dfbe7b94d2
Fix typo 2016-08-19 11:12:55 +03:00
Eivind Fonn
25eb00c24f Update git layer rebase documentation 2016-08-19 10:10:09 +02:00
syl20bnr
64d3eb953e Standardize docstring for dotspacemacs-helm-use-fuzzy 2016-08-18 22:51:10 -03:00
syl20bnr
a14bfb9d6d core: fix 'all value for dotspacemacs-download-packages 2016-08-18 22:48:34 -03:00
Diego Berrocal
219d891475 Update emacs-eclim package name
I think MELPA has an `old-names` back
[compatibility](https://github.com/melpa/melpa/issues/4159) measure for
cases like this, but for now it isn't working. And it's breaking all new
installs that use the java layer.
2016-08-18 21:12:15 +02:00
Eivind Fonn
da2af5c1fd Extract golden-ratio config to package fns 2016-08-18 21:10:43 +02:00
Eoin Houlihan
1fc2be3863 Don't use golden ratio mode in Idris holes buffer 2016-08-18 21:07:24 +02:00
Christoph Paulik
6b41426d8d Python: Set breakpoints correctly when pyenv is used.
pyenv shims fool executable-find into thinking that ipdb is always
installed if it is installed in one environment.
2016-08-18 21:06:56 +02:00
Christoph Paulik
7504ec2309 SML: Improve indentation. 2016-08-18 21:05:51 +02:00
Eivind Fonn
08aeccb5af Add typescript variable for evil-shift-width 2016-08-18 14:34:32 +02:00
Eivind Fonn
b2d108877c Move shell layer defuns to funcs.el 2016-08-17 21:00:16 +02:00
Steven Allen
c1b5dd301c move eshell company post-config to post-init
See #6711
2016-08-17 20:55:00 +02:00
Nir Friedman
ed1f782bdf Add option for helm fuzzy matching
Change-Id: If3f59e53fa954c230938876184852d1a34f3e7d3
2016-08-17 20:53:45 +02:00
Steven Allen
22daaea708 Fix jumping backwards after calling spacemacs/evil-smart-goto-definition
Ensure that the "previous position" mark is set correctly. Credit goes to
@eltechnic0 to figuring this out.

Fixes #4942
2016-08-17 20:39:33 +02:00
Eivind Fonn
c0950f6421 Allow sub-modes of dired (e.g. ranger) 2016-08-17 20:34:09 +02:00
Jeremy Bi
629eb61149 Refactor spacemacs/open-in-external-app
New interactive function
`spacsmacs/open-file-or-directory-in-external-app`, depending on the
value of prefix argument, it opens the current file or directory in
external app.
2016-08-17 20:28:58 +02:00
deb0ch
9c4a0657d0 activate ycmd-mode in c files as well
ycmd-mode was only activated when entering c++-mode, making syntax
checking unavailable in c-mode, as flycheck-ycmd-mode is hooked to
ycmd-mode.
2016-08-17 20:21:50 +02:00
Eivind Fonn
dbbdca7d5d Fix agda indentation and README 2016-08-17 20:20:20 +02:00
FreeSalad
5096202b6b Fix Agda layer for users without 'agda-mode' executable. 2016-08-17 20:13:01 +02:00
Eivind Fonn
2651f67c48 Fix cargo config
- Move cargo bindings to init-cargo
- Move bindings to init phase
- Swap spacemacs/rust-cargo-fmt with cargo-process-fmt
2016-08-17 20:10:05 +02:00
Kevin van Rooijen
0bbb88814e New add cargo package to rust layer 2016-08-17 20:05:37 +02:00
Shanavas M
56d820a1e1 Add missing prefices for web-mode menu 2016-08-17 20:02:41 +02:00
Shanavas M
83e5d41042 Add "documentation" prefix for js-doc menu 2016-08-17 20:01:43 +02:00
ivanbrennan
622cd38532 use spacemacs-core-directory const
As long as we've defined a spacemacs-core-directory, we might as well use it where
possible.
2016-08-17 19:59:25 +02:00
ivanbrennan
5d6e9ab789 optimize spacemacs//get-package-directory
Saving a pkg-match regex to a temporary variable lets us avoid recomputing it on each
iteration. I didn't benchmark the performance impact, but unless there's a downside to
using `let*` vs `let`, it seems like a no-brainer.

Passing pkg-match to `directory-files` reduces the returned files to those that match the
regex rolling our own reduction.
2016-08-17 19:57:47 +02:00
James W. Brinkerhoff
cca05f57b5 Fix single missing character in documentation
Within the Important Note there is a single character (which written as wich) typo that this change corrects.
2016-08-17 19:54:29 +02:00
Eivind Fonn
65faddcba0 Improved search-engine layer
- Move defuns to funcs.el
- Add progn as per conventions
- Denote all search functions as autoloadable
2016-08-17 19:53:06 +02:00
Eivind Fonn
2ef2a965dc Update erc doc
At the moment, no yank or gitter

[ci-skip]
2016-08-17 19:52:35 +02:00
Eivind Fonn
69e19ebe0c Add option to use original flycheck bitmaps 2016-08-17 19:51:33 +02:00
Cass Petrus
2b9d39abd9 Link format fix terraform layer README
* Change .md formatted link to .org formatted link to address display
  issue on [terraform layer page](http://spacemacs.org/layers/+config-files/terraform/README.html)
2016-08-17 19:49:42 +02:00
André Peric Tavares
57aa9748aa Improve keybinding for beginning/end of line in pdf-tools
`image-bol` and `image-eol` are more appropriate than`scroll-left` and `scroll-right`.
2016-08-17 19:48:51 +02:00
Ricardo Banffy
0a7e0f8e93 Replace the typewriter image with the correct one. Fix #6832 2016-08-17 19:46:48 +02:00
Antonis Kalou
9bafae3f9c Added mention of PEP-8 syntax checkers to README 2016-08-16 21:06:45 +03:00
Eivind Fonn
36f3b63079 Make elpa directory more flexible
- Rename variable to dotspacemacs-elpa-subdirectory
- Allow arbitrary form to be evaluated
2016-08-13 14:21:01 +02:00
Bar Magal
6b23983205 core: different elpa dir per emacs version
For emacs 24.5 packages will be installed in .emacs.d/elpa/24.5, for
emacs 24.4 packages will be installed in .emacs.d/elpa/24.4, etc.
For a user that uses several emacs versions with the same config, the
packages for version X will be in .emacs.d/elpa/X and the packages for
version Y will be in .emacs.d/elpa/Y.  This is instead of using the same
.emacs.d/elpa and possibly having copmiled elisp packages the are
incompatible with one of the emacs versions in use.

Rollback directories are also separated by version:
.cache/.rollback/24.5, .cache/.rollback/24.4, etc.
2016-08-13 14:02:06 +02:00
MadAnd
309e6eb4bb Fix smartparens after nested snippet expansions
Current implementation, #1644, doesn't handle the nested snippet
expansion properly, so you end up with smarparens disabled. Very
annoying.

I improved the implementation to remember the current state of
smartaperns before a top-level snippet expansion and preserve on any
nested snippet expansions.

Also, some housekeeping of the related code:
* Move hook handlers to the `funcs.el`.
* Add comments about yasnippet hooks subtleties relevant to the issue.

Fixes #1512
2016-08-08 13:42:45 +02:00
Eivind Fonn
8f9914903d org: display error in case no agenda files 2016-08-07 21:05:31 +02:00
Eivind Fonn
f98a80a364 org: fix org layout if no agenda files 2016-08-07 21:04:26 +02:00
Jonathan Boiser
98990b25bd Fix docs link to themes-megapack README.org 2016-08-07 16:35:24 +02:00
Eivind Fonn
3c18a4a6bb Tweak yapfify config
- No need to use :commands
- Remove SPC m y binding
2016-08-07 16:33:12 +02:00
Joris Engbers
e0aac5c170 Replace py-yapf with yapfify.
Yapfify uses project settings applicable to the file that yapf is called
on. Also it shows an error if yapf fails.
2016-08-07 16:31:50 +02:00
Bryan Gilbert
62199bfb94 Fix dot completion bug in scala mode 2016-08-07 16:29:28 +02:00