Commit graph

6953 commits

Author SHA1 Message Date
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
Eivind Fonn b72f8289f8 clean-aindent-mode is global, hook makes no sense 2016-08-07 16:27:54 +02:00
Josh Mize f7427f4627 Fix .gitignore to enable submodule update 2016-08-07 16:26:34 +02:00
bmag 1aacf4003d Create $SPACEMACSDIR/init.el when needed
Don't fallback to default init file when SPACMACSDIR is used and
$SPACEMACSDIR/init.el doesn't exist. The file will be created during
the startup process.
2016-08-07 16:24:55 +02:00
bmag 6d60d2ef05 Prefer $SPACEMACDIR/init.el over ~/.spacemacs
If SPACMEACSDIR is used, and both $SPACEMACDIR/init.el and ~/.spacemacs
exist, use $SPACEMACDIR/init.el as the dotspacemacs file.
2016-08-07 16:24:52 +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
syl20bnr 73b8151381 core: fix bad prog2 call 2016-08-03 21:56:03 -04:00
syl20bnr a9489a431d core: fix naming conventions for private funcs and vars
in core-release-management.el
2016-08-03 21:43:12 -04:00
syl20bnr 92ca7fd0f3 core: fix startup check being always executed 2016-08-03 21:43:12 -04:00
syl20bnr 59cfd60e49 core: make spacemacs/get-last-version interactive 2016-08-03 21:43:12 -04:00
syl20bnr cb84b3ce46 core: make spacemacs/check-for-new-version interactive
Can force a check with the universal prefix argument, for instance:
SPC u SPC SPC spacemacs/check-for-new-version
will always check for a new version even if not on master branch.
2016-08-03 21:43:12 -04:00
syl20bnr 0b1fff02c0 core: rate limit statup version check
Once per 24 hours by default.
Caveat: if a new version is detected on the current instance of Emacs
and Emacs is restarted before the end of the 24 hours window then
the new version lighter in the modeline disappear; i.e. we don't
remember the last check results.

Fixes #6692
2016-08-03 21:41:48 -04:00
syl20bnr bf15693967 core: remove version check every 6 hours
Fixes #6692
2016-08-03 20:48:49 -04:00
syl20bnr 9d72b12245 change default value of dotspacemacs-check-for-update to nil
Since git commands contacts remotes hosted on GitHub this settings
should be an opt-in.

Fixes #6692
2016-08-03 20:47:09 -04:00
syl20bnr d3ae04b29c Respect 80 chars per line in core-release-management.el 2016-08-03 20:35:40 -04:00
syl20bnr 265faecbba core: reduce number of git commands to check for new version
Fixes #6692
2016-08-03 20:33:09 -04:00
Steve Dignam cce0213273
Fix typo in doc/DOCUMENTATION.org
increase or increase --> increase or decrease

parenthesis --> parentheses
2016-08-01 10:21:59 +03:00
Steve Dignam aa1f3b7ee5
Fix minor typos in .spacemacs.template 2016-08-01 10:21:09 +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
d12frosted 72cec40cd2
fix docs for declaring layer dependencies 2016-07-29 14:25:16 +03:00
syl20bnr 9c3802b142 core: fix SPC f e R after layer system refactoring
Correctly adds packages when resync the dofile. Also flush the layer
index before rediscovering the layers.
2016-07-29 00:00:55 -04: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
eareese 421b97f36f Correct key binding 2016-07-26 16:22:03 +09:00