Commit graph

1937 commits

Author SHA1 Message Date
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
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
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
Eivind Fonn b72f8289f8 clean-aindent-mode is global, hook makes no sense 2016-08-07 16:27:54 +02:00
Diego Alvarez 3dfd5fa4fb Disable Ensime autostart 2016-08-07 16:19:45 +02:00
Christoph Paulik ebbfbaf2d1 Use --simple-prompt for IPython 5 and set correctly on env switch.
IPython 5 does no longer use readline and so the emacs integration is
broken. See also
http://ipython.readthedocs.io/en/stable/whatsnew/version5.html#id1

Fix #6622 and related to #6580

This also works if different environments have different IPython
versions since the shell parameters are setup on every environment
switch.
2016-08-06 18:18:25 +02:00
duianto e51a89a5e5 Comment corrections and two functions reordered
Misspellings:
"beginnign" changed to "beginning",
"Insert one of several lines" changed to "Insert one or several lines" in two functions,
"identation" changed to "indentation",

Missing comment copied from the function that inserts a line
in the opposite direction:
(defun spacemacs/insert-line-below-no-indent (count)
"Insert a new line below with no indentation."
and renamed the direction, resulting in:
"Insert a new line above with no indentation."

Duplicate comments removed, the comments inside the functions,
are better explanations of what the function does.

Functions reordered:
The functions:
(defun spacemacs/evil-insert-line-below (count)
and
(defun spacemacs/evil-insert-line-above (count)

were written in a illogical order,
the "above" function should be written before the "below" function,
with this change, the function order will match other functions
with "above" and "below" in their names,
for example these:
(defun spacemacs/insert-line-above-no-indent (count)
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bdistributions/spacemacs-base/funcs.el#L535
(defun spacemacs/insert-line-below-no-indent (count)
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bdistributions/spacemacs-base/funcs.el#L549

evil-commands.el
line 2205: (defun evil-open-above (count)
line 2219: (defun evil-open-below (count)

line 2310: (defun evil-copy-from-above (arg)
line 2326: (defun evil-copy-from-below (arg)

evil-common.el
line 1892: (defun evil-insert-newline-above ()
line 1901: (defun evil-insert-newline-below ()
2016-08-05 21:35:43 +02:00
Eivind Fonn 4233ffaecc Fix #6704: don’t use evil-open-below/above
- Also add counts
2016-08-05 21:31:43 +02:00
Graeme Coupar f7d2f3f0ad elm: Add 'SPC m h d' keybinding for doc-at-point. 2016-08-05 21:29:56 +02:00
Muneeb Shaikh 48d06e4ee9 rails: add which key prefixes for rails
* layers/+frameworks/ruby-on-rails/packages.el (ruby-on-rails/init-projectile-rails):
  added which-key prefixes for rails
* layers/+frameworks/ruby-on-rails/packages.el (ruby-on-rails/post-init-which-key):
  diminish `projectile-rails` prefix in which-key menu to make commands
  visible (since we're in rails menu, it makes sense to diminish common
  prefix)
2016-08-05 21:29:02 +02:00
Eivind Fonn 4298469f17 Set desktop-dirname during init 2016-08-05 21:27:45 +02:00
Eivind Fonn 989dd3d774 Rename variable w/ spacemacs prefix 2016-08-05 21:26:26 +02:00
bmag cea0819ca4 Move helm-popwin config to helm layer 2016-08-05 21:24:47 +02:00
nashamri 3b9b1ff0ce Fix broken links in the docs 2016-08-05 21:20:41 +02:00
Eivind Fonn 269916e908 Shorter lines in java/README.org 2016-08-05 21:18:32 +02:00
Ellis Kenyo 229ef0c05c Update the Java layer to support eclimd
Signed-off-by: Ellis Kenyo <elken@mykolab.com>
2016-08-05 21:15:58 +02:00
Jeremy Bi 4b682ce1b3 Reduce yas loading warning 2016-08-05 08:47:36 +08:00
d12frosted 7280a46554
[haskell] add note about auto-completion layer
Fixes #6733
2016-08-04 13:38:54 +03:00
Tim Jäger 853945c722 Fix typos in Haskell layer README 2016-08-01 09:04:27 +02:00
d12frosted c42a08a842
js layer readme minor improvements
- fill paragraphs
- hide url under descriptive text
- fix wording for linters
2016-07-31 13:05:40 +03:00
Steve Dignam a2df27e71a
Add flycheck info to javascript layer README.org
Added info about available flycheck checkers for Javascript.
Also added install info for ESLint.
2016-07-31 13:02:45 +03:00
Laverne Schrock b1e45cc2bb
Update racket-layer README.org
This is in response to issue #3870.
2016-07-31 12:56:01 +03:00
Leon Isenberg be6fd0e8d0
Swap haskell layer specific keys f and F 2016-07-29 14:30:20 +03:00
syl20bnr 0a01159572 git: add SPC g f h to get the commit history of the current file 2016-07-28 23:26:54 -04:00
syl20bnr 1c4f685b13 core: refactor layer system
TL;DR Should get 20~25% speed improvement on startup, should get a big
improvement when using ivy or helm SPC h SPC. Users with layers.el files
in their layers must use `configuration-layer/declare-used-layer`
instead of `configuration-layer/declare-layer`

The implementation of the layer system made heavy use of `object-assoc`
and `object-assoc-list` functions which are not efficient. This PR
mainly replaces those object lists with hash maps in order to index the
objects by their name and achieve an O(1) access time.

The old object lists `configuration-layer--layers` and
`configuration-layer--packages` have been each by two variables each:
- `configuration-layer--indexed-layers` which is a hash-map of all the
layer objects and `configuration-layer--used-layers` which is a list of
all _used_ layers symbols,
- symmetrically `configuration-layer--indexed-packages` which is a
hash-map of all the package objects and
`configuration-layer--used-packages` which is a list of all _used_
packages symbols.

The hash map `configuration-layer--layer-paths` is gone, now we create
directly layer objects when discovering the layers and set the :dir
property. Note that previously the layer paths were the parent directory
of the layer, now :dir is the layer path.

The function `configuration-layer//make-layer` is now similar to its
counterpart `configuration-layer//make-package` in the sense that it
takes an optional `obj` to be able to override its properties.

The functions `configuration-layer/declare-layer` and
`configuration-layer/declare-layers` now takes an optional parameter
`usedp` in order to declare used or not used layers. For convenience
new functions have been added: `configuration-layer/declare-used-layer`
and `configuration-layer/declare-used-layers`, users _must_ update all
occurrences of `configuration-layer/declare-layer` by
`configuration-layer/declare-used-layers` in their `layers.el` files.

`helm-spacemacs-help` and `ivy-spacemacs-help` are updated to match the
changes in `core-configuration-layer.el`.

Rename some variables to make them more explicit:
`configuration-layer-no-layer` -> `configuration-layer-exclude-all-layers`
`configuration-layer-distribution` -> `configuration-layer-force-distribution`
2016-07-28 23:26:54 -04:00
Eivind Fonn 6bb73f193f Fix emmet expansion if yas isn’t turned on 2016-07-27 15:52:51 +09:00
bmag 7ca4cc0554 Refactor useful/useless buffer functions
Better readability, better detection if mode derives from comint-mode,
and doesn't alter the match data (string-match-p vs. string-match).
2016-07-27 15:29:13 +09:00
Robert O'Connor 3ebdb1c0ec
github layer: fix table formatting in README 2016-07-26 22:58:34 -04:00
Ista Zahn 84580b1d80 User configurable default company-backends 2016-07-26 16:33:42 +09:00
Eivind Fonn 5029734846 tmux: bind named functions instead of lambdas 2016-07-26 14:33:45 +09:00
zilongshanren bd760ceebc
fix chinese layer readme 2016-07-25 18:16:32 +03:00
bmag fe60d0fc1e Set buffer-predicate to spacemacs/useful-buffer-p
Prevent next-buffer, other-buffer, etc. from choosing useless buffers.
No need for spacemacs/next-useful-buffer,
spacemacs/previous-useful-buffer anymore.

Also fix spacemacs/alternate-buffer to respect buffer-predicate.

When spacemacs-layouts is used, buffer-predicate filters useful buffer
that belong to the current layout.
2016-07-25 20:02:28 +09:00
Aaron Jensen 141be7f8c2 elixir: fix smartparens hook
Fixes #6660
2016-07-25 19:36:07 +09:00
Eivind Fonn bef1295094 Scala: README line lengths 2016-07-25 14:11:17 +09:00
Diego Alvarez 80f8c84d64 Improve documentation for scalastyle 2016-07-25 14:09:22 +09:00
Eivind Fonn 8e87132ba7 Fix possibly calling bad code after theme change 2016-07-25 14:00:02 +09:00
Jeremy Bi e89c3ef309 Silent next-error-find-buffer when no error buffer found 2016-07-25 13:49:50 +09:00
bmag 2f6bf80275 Fix void-function spacemacs//restore-previous-display-config error
Move usage of spacemacs//restore-previous-display-config from helm layer
to spacemacs-completion layer. (It's already defined there)
2016-07-25 12:33:40 +09:00
Andre0991 93940af74c Add shortcuts for full left and right scroll 2016-07-25 12:22:20 +09:00
Eivind Fonn 9c76193c77 Move exec-path-from-shell to pre 2016-07-25 12:12:31 +09:00
Diego Alvarez 1b5bc13d35
Update ensime logo 2016-07-22 13:18:33 +03:00
Robert O'Connor 74d6a6fcad
Revert #6576; TL;DR: We no longer need to do this.
See justbur/evil-magit#24 and 4a375ea304
2016-07-22 12:52:23 +03:00