Commit graph

6863 commits

Author SHA1 Message Date
Eivind Fonn
d94d0d9f71 Some improvements to py-isort config
- Rename variable
- Wrap the save function to check condition variable at runtime
- Add keybinding
2016-08-21 17:49:20 +02:00
Swaroop C H
a2d7461bb1 [python] Add py-isort package
py-isort sorts the imports to keep it tidy.

Disabled by default.
2016-08-21 17:41:43 +02:00
JAremko
328c6b81aa Add aspect ratio check for centering.
Fix git conflict.
minor improvements and cleanup.
2016-08-21 17:29:19 +02:00
JAremko
7140e8dfa8 Add extra checks, cleanup
simplify space-doc customization

rearrange defcustom groups

more checks
2016-08-21 17:29:16 +02:00
JAremko
9ba525cdde simplify space-doc-mode
refactoring
2016-08-21 17:29:13 +02:00
JAremko
7e1eae0b9a space-doc/centered-buffer improvements.
reformat

fix stuff

make sure that user wants overlays
2016-08-21 17:29:08 +02:00
Eivind Fonn
e94ab321cd faq: add exec-path-from-shell entry 2016-08-21 17:25:36 +02:00
Eivind Fonn
5758a19dea gtags: fix ToC format 2016-08-21 17:15:26 +02:00
Eivind Fonn
8f94a32578 Add rotate-backward to window TS 2016-08-21 17:11:36 +02:00
duianto
c6dda79768 added/corrected, rotate keybindings
In the "Windows manipulation commands (start with ~w~):" section:
Added the `SPC w r` keybinding:
| ~SPC w r~              | rotate windows forward                                                      |

In the `SPC w R` keybinding description, replaced "clockwise" with "backward".
| ~SPC w R~              | rotate windows backward                                                     |

In the "Window manipulation transient state" section:
Added the`r` keybinding.
| ~r~           | rotate windows forward                                        |

In the `R` keybinding description, added "backward"
| ~R~           | rotate windows backward                                       |
2016-08-21 17:07:41 +02:00
duianto
8ef39ae0e6 rotate-windows and -backwards, comment correction
Changes to the comment in the `spacemacs/rotate-windows` function
Sentences reordered:
From:
Default behavior.
Additional behavior. Prefix argument behavior.

To:
Default behavior,
Prefix argument behavior,
Additional behavior.

Spelling:
First sentence:
"your" replaced with "each",
"forwards" added to the end.

Second sentence (after reordering the last two sentences):
"Giving" removed,
"takes" replaced with "rotates",
"kindows" corrected to "windows",
"rotate" (next to last word) removed

(Optional) Third sentence (after reordering):
"(locked)" added after "Dedicated", it might clarify that a dedicated window means that it is locked.

After these changes:
Before:
  "Rotate your windows.
Dedicated windows are left untouched. Giving a negative prefix
argument takes the kindows rotate backwards."

After:
  "Rotate each window forwards.
A negative prefix argument rotates each window backwards.
Dedicated (locked) windows are left untouched."


The comment in the function: `spacemacs/rotate-windows-backward`
"your" replaced with "each",
"s" added to "backward",
added the same additional behavior comment as in the "main" rotation function,
"Dedicated (locked) windows are left untouched."

Before:
  "Rotate your windows backward."

After:
  "Rotate each window backwards.
Dedicated (locked) windows are left untouched."
2016-08-21 17:07:13 +02:00
Eivind Fonn
7461b51176 spacemacs-base: sort packages 2016-08-21 17:05:21 +02:00
Igor Avdeev
6bf512f99f spacemacs-base: evilify archive-mode 2016-08-21 17:04:44 +02:00
Riccardo Murri
a26503dc8d Allow customization of spaceline additional segments.
Introduce a new customization variable
`spacemacs-spaceline-additional-segments', which is a list of the
additional segments that should be inserted in the modeline when it is
initialized.
2016-08-21 17:01:23 +02:00
Eivind Fonn
2f15e8afb2 Fix possibly unbound mouse-wheel-mode 2016-08-21 17:00:08 +02:00
Eivind Fonn
49845fc74a Add some problematic files to gitignore 2016-08-21 15:17:46 +02:00
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