Commit graph

2847 commits

Author SHA1 Message Date
David Florness 81dd44ef72 Fix typo 2017-06-04 21:39:56 -05:00
JAremko 5ccbf4fbc5 Disable dante package if Emacs version is less than 25
fix #8985
2017-06-03 08:59:02 +03:00
Eivind Fonn 4489049cc2 bugfix: margin scaling ignores window
Thanks sdwolf and Eli Zaretskii
2017-06-01 13:49:34 +02:00
Eivind Fonn dd4bd6ddee ycmd: bugfix 2017-06-01 10:52:02 +02:00
Eivind Fonn d50b12d886 ycmd: more flexible file search 2017-05-31 15:25:37 +02:00
Amos Bird 18c1e12342 search compile_commands.json in build subdir 2017-05-31 15:21:13 +02:00
JAremko 0e0e90e521
Replace https://faust.grame.fr/ link (faulty server) 2017-05-31 06:25:32 +03:00
duianto 52a03697c1 Update keyboard layout image, gray border
problem:
The keyboard layouts main image, is displayed as a black rectangle, when the
readme.org file, it's opened in Spacemacs. This seems to be because there's an
issue with the transparency when a .png is saved with indexed colors.

When the transparency issue is fixed, by re-saving it as a non-indexed
(grayscale or RGB) image. Then there still is an issue, with themes that have a
dark background, i.e. spacemacs-dark. The black keys become almost invisible.

solution:
Add a 1px gray border, around the keys.
2017-05-30 18:37:02 +02:00
Eivind Fonn 9014197722 clojure: fix spacefmt tests 2017-05-30 12:34:31 +02:00
Ben cc1b087497 adding the package magic-latex-buffer to the latex layer 2017-05-30 12:28:26 +02:00
James Conroy-Finn c56c927641 Bind <leader>msX to restart Cider 2017-05-30 12:00:35 +02:00
Eivind Fonn dce3cd4c0e clojure: define keys in :init 2017-05-30 11:58:17 +02:00
panjan 12f823ba3c react: improved react file recognition 2017-05-30 10:27:07 +02:00
Dietrich Daroch 9a14373845 Fix d-mode flycheck imports on dub projects 2017-05-30 10:22:45 +02:00
Don March 3069d4e244 Restore smart closing paren behavior in racket-mode
Remove the shadowing keybindings for `)`, `]`, and `}` so the default
`racket-insert-closing` command is used again.
2017-05-30 10:19:20 +02:00
Swaroop C H a2f1bfa8a4 [python] Prefer virtualenv python to compile file 2017-05-29 10:12:20 -07:00
Eivind Fonn 7fd8caa344 Bugfix: missing -hook suffix 2017-05-29 16:52:39 +02:00
Eivind Fonn fab3b2a4e4 Clean up parinfer layer
- Move to misc instead of vim
- Move add-hook calls into dependent layers
- Improve readme
2017-05-29 11:36:46 +02:00
DogLooksGood 4aadec376d Add parinfer layer 2017-05-29 11:36:40 +02:00
Benno Fünfstück d83fafb2cb nixos layer: defer loading of options 2017-05-28 18:19:23 +02:00
Kepi 8c230bfbb1 Pass: support for ivy and fix undefined dostpacemacs-use-ido
Looks like pass is trying to use variable which isn't available for some time,
at least there are no other packages using it.

`completing-read` should be universal for all completing needs I hope.
2017-05-28 16:17:45 +02:00
Eivind Fonn 5048aff9fa Properly require tramp 2017-05-28 15:07:01 +02:00
denin 5397b6f01f Rewrite sudo-edit
Old version worked only for method 'ssh' and did not work at all if
user was not specified (e.g. /ssh:hostname:/path). Since the symbol '@' was
required in a filename.
2017-05-28 15:06:20 +02:00
Eoin Houlihan ca9945d536 Remove SPARQL from extra-langs
Support for SPARQL was added with the semantic-web layer in f7210c30c2
2017-05-28 15:04:01 +02:00
zer09 c504496b12 Update README.org 2017-05-28 15:03:33 +02:00
Eivind Fonn 8b7626ddb1 Document new slack binding 2017-05-28 15:03:08 +02:00
Swaroop C H 7b8324209c [slack] Add key binding to add reaction 2017-05-28 15:02:25 +02:00
Eivind Fonn 97862af26c Trim output from pyenv command
Trailing newlines will cause errors
2017-05-28 14:59:34 +02:00
Eivind Fonn bf41e9e300 Move enabling of dante-mode to setup-dante function 2017-05-28 14:41:33 +02:00
Kyle McKean 1ed49e0878 add dante support to haskell layer 2017-05-28 14:40:25 +02:00
Eivind Fonn c812c5be32 Update semantic-web documentation (fix tests) 2017-05-26 11:47:41 +02:00
Eivind Fonn 53cb8a48d3 Move semweb to semantic-web
Minor configuration changes
2017-05-26 11:12:08 +02:00
Andreas Textor f7210c30c2 Add layer for Semantic Web formats
- Syntax highlighting for N3, Turtle and SPARQL formats
- Company mode for SPARQL
- Execution of SPARQL queries against SPARQL HTTP endpoint
2017-05-26 11:07:06 +02:00
Swaroop C H 735321eda3 [elixir] Add missing Alchemist commands and key bindings
Commands and key bindings found via `alchemist-refcard` command.

I've tried to adhere to Spacemacs conventions but where I couldn't find relevant
conventions, I followed Alchemist's key bindings.

Also, delete alchemist-refcard - approved by @syl20bnr at
https://github.com/syl20bnr/spacemacs/pull/8746#issuecomment-301326850
2017-05-26 10:49:35 +02:00
Ivan Kryvoruchko 1d2392ad1d Fix sayid clojure debugger documentation typo 2017-05-26 10:47:34 +02:00
Eivind Fonn e6a3d01eb5 Fix company-php configuration 2017-05-26 10:41:46 +02:00
jim 24bf7d0fb6 add company-php to php layer 2017-05-26 10:36:15 +02:00
Eivind Fonn d4b004433c Fix layout name generation 2017-05-25 13:51:26 +02:00
bmag 6fd0d2573b New dotvariable: auto-generate layout names
If dotspacemacs-auto-generate-layout-names is non-nil, and the user
tries to open a layout in a position that doesn't yet have a layout,
then create a new layout with an automatically generated name.
2017-05-25 13:40:28 +02:00
Eivind Fonn e4185e4c61 Some refactoring of go layer 2017-05-25 13:20:36 +02:00
Eivind Fonn adca985dd9 Update go layer documentation 2017-05-25 13:19:50 +02:00
Eivind Fonn b7370f454e Add godoctor
Thanks to TinySong
2017-05-25 13:19:32 +02:00
duianto 2702b205b6 Update colors layer readme: rainbow-mode screenshot
Problem:
The current rainbow-mode screenshot, is from an older version. It shows white
text on light colors. This makes it hard to read the color codes. The old
screenshot hides the fact that issue has been solved.

Solution:
This updates the screenshot, to show it's current behaviour. Where the text
color is either white or black, depending on if the luminance is greater than
0.5 of 1.0.
2017-05-25 13:07:40 +02:00
syl20bnr fcc8b9a36c org: remove mu4e and notmuch
org-mu4e was already handled in the mu4e layer which is the correct place for
this.
Added notmuch to mu4e layer, maybe not the right place for this but for now
it is OK.
2017-05-24 23:20:23 -04:00
warreq 40e0f180d4 Add support for the Workman keyboard layout 2017-05-24 14:53:14 +02:00
Max Gonzih 777dc4ea9b Add new programmer dvorak layout that matches vim like key placement 2017-05-24 14:51:34 +02:00
Jim Deville dae860a4b1 add refactor docs 2017-05-24 14:42:17 +02:00
Daniel Luna 34d842c6f5 [ruby-layer] Adding ruby-refactor package and associated keybindings
This commit adds a series of refactoring commands for Ruby under
"ruby/refactor", by use of the `ruby-refactor` package.
2017-05-24 14:41:55 +02:00
Eivind Fonn 4068a3e6a2 Revert "Clean up elixir layer documentation"
This reverts commit 333e921707.
2017-05-24 14:37:39 +02:00
Eivind Fonn 2b7893ee17 Fix #7383 2017-05-24 14:33:52 +02:00
Garrett Johnson 333e921707 Clean up elixir layer documentation
Remove references to removed checkers and their configuration
2017-05-24 14:19:37 +02:00
Don March ac1168b6af Fix terminal RET and TAB in layouts/workspaces transient state
* Make RET and TAB (C-m and C-i) perform the same actions as <return>
  and <tab> so the maps work in the terminal.
* Catch <return> in workspaces transient state so that it exits without
  executing a command (like already done for layouts).
* Add "workspace w/helm/ivy" to docstring, mirroring the layouts
  docstring.
2017-05-24 14:05:15 +02:00
Víctor Cuadrado Juan a37d4296cf .Add bashate style checker to shell-script layer 2017-05-24 14:02:01 +02:00
Muneeb Shaikh 47cb3e01e0 python: fixes for anaconda-mode-view-mode
* layers/+lang/python/funcs.el (spacemacs/anaconda-view-forward-and-push):
  Added helper function to go forward and hit RET
* layers/+lang/python/packages.el (python/init-anaconda-mode):
   - use new evilification macro
   - use helper function to go ahead and push button when hitting `RET`
   - Add `C-j`, `C-k` for easy navigation in anaconda-view-mode when multiple
   references are displayed. Doesn't conflict with normal `hjkl` navigation in
   other views of `anaconda-view-mode`

Fix #7538
Fix #5737
2017-05-24 13:58:23 +02:00
ralesi d28d9beed4 emacs-restart: make debugging commands accessible. 2017-05-24 13:53:19 +02:00
ralesi 47f90684c9 ranger: add jump other window bindings, minus to enter 2017-05-24 13:48:28 +02:00
ralesi a518d14c69 Fix some issues with persistent server
* frame killer logic wasn't correct when server not running
* even when debugging, we want to kill spacemacs
2017-05-24 13:42:49 +02:00
Swaroop C H ea54e6863e Make python-execute-file use python-shell-interpreter
So that we can customize to use `python3` instead of `python`
2017-05-24 13:41:12 +02:00
Michishige Kaito 6dac3425b6 Org layer: Bind org-update-statistics-cookies 2017-05-24 13:36:10 +02:00
Codruț Constantin Gușoi 07c2fccc94 Adds autocomplete for coffeescript 2017-05-24 13:33:57 +02:00
duianto aada9702dc init-evil-mc: 1 cursor hide mode line text variable
Problem:
Spacemacs rewrites the evil-mc-mode-line variable, to remove the evil-mc mode
line text, when there's only one cursor. The rewrite blocks the recent evil-mc
updates, that made the multi cursor, mode line text, more readable.

Solution:
Use the new evil-mc-one-cursor-show-mode-line-text variable, to only hide the
mode line text, when there's one cursor. This unblocks the current, and any
future updates, that the evil-mc package makes to the mode line text.
2017-05-24 13:32:25 +02:00
d12frosted c8296e507b don't show warning on layout key clashes 2017-05-24 13:09:17 +02:00
Eivind Fonn 26615a64cb gtags: don’t check if mode function is bound 2017-05-24 13:07:58 +02:00
Eivind Fonn df4cad42e1 Add condition for fringe-mode toggle 2017-05-24 13:05:17 +02:00
Dietrich Daroch e4e6638d4d Add requirements list for D 2017-05-24 13:03:57 +02:00
dubnde 36873eaf31 bind helm-cscope-find-assignments-to-this-symbol 2017-05-24 13:02:31 +02:00
Pawan Dubey 83553a54da Move load layout from file option from Go To to Actions
and change doc string.
2017-05-24 12:55:35 +02:00
smimish 36da2f7daa Expanded theming README file with an example 2017-05-24 12:49:32 +02:00
Alexey Kotlyarov f27568d8f9 Python: Highlight wdb breakpoints as well as pdb/ipdb/pudb 2017-05-24 12:44:57 +02:00
Alexey Kotlyarov dc3f16b840 Python: search for Pylint and Flake8 in the virtualenvs 2017-05-24 12:44:19 +02:00
Aaron Jensen ed64e5fa29 Prefer .spacemacs.d/snippets over .emacs.d/private/snippets 2017-05-24 12:41:44 +02:00
deb0ch 0ae8b3a29f bindings: highlight-parentheses-mode from SPC t C p to SPC t h p 2017-05-24 12:39:31 +02:00
Eivind Fonn 907f9e1b09 Make org layer depend on spacemacs-org 2017-05-24 12:33:42 +02:00
dubnde 2febbbb309 Remove git layer documentation to show submodule prompt
There is no such keybinding(SPC g >) in the source code.
2017-05-24 12:30:14 +02:00
Bernhard Schommer 2c193614f7 Ocaml layer init without opam.
Currently the ocaml layer requires opam in order to work. However
opam is only really required for an easy installation of the
required ocaml binaries. The only place where opam is used
instead is to add the merlin files of the merlin installed
via opam instead of the merlin files from melp.

This commit introduces a fallback if opam is not installed but
ocamlmerlin is installed, since the melpa package of merlin
is already installed through packages.
2017-05-24 12:28:58 +02:00
Diego Alvarez dfa18dafc3 Make ensime use stable version as unstable is for ensime devs 2017-05-24 12:22:20 +02:00
Eivind Fonn 94ed135678 Move sp-local-pair call to with-eval-after-load 2017-05-24 12:17:10 +02:00
Erwin Kroon c2c4721ddb Remove backtick from smartparens pairs for Clojure
Single backticks are used for namespaced quotes, there is no purpose for
automatically inserting double backticks.
2017-05-24 12:16:38 +02:00
Eivind Fonn 6ba353a8d8 sql: change blacklist to only accept list 2017-05-24 12:13:13 +02:00
Kepi 7cb9c1924a sql: support for keywords auto capitalization
SQL, by convention, uses upper-case keywords, although lower-case works just as
well. As humans, the separation between upper-case and lower-case helps scan and
parse the code much more quickly.
2017-05-24 12:08:45 +02:00
Corey Ling 21c3e2fc2d Fix Clojure layer cider-repl-mode keybindings
Clojure layer attempted to provide `C-j` and `C-k` keybindings
  to the cider-repl-mode but there was a bug.

  This fixes the bug and adds those keybindings to the documentation.
2017-05-24 12:04:13 +02:00
Kristoffer Haugsbakk 6583251ef6 Use proper markup to preserve meaning of code
Mark up code that is mentioned in the documentation of some readmes.

In the case of “long options”, like for example `--with-emacs`, this is not just
cosmetic.  On GitHub, Org files are apparently rendered in such a way that
strings like `--` in non-verbatim text (i.e. not verbatim-quoted nor
code-quoted) is transformed to `–` (EN DASH U+2013).  So the string:

    … --with-emacs option:

Will show up like this:

    … –with-emacs option:

Also mark up nearby not-marked-up code mentions.  But this pattern was what was
searched for, so this mostly changes the abovementioned kind of thing.
2017-05-24 11:59:40 +02:00
Kristoffer Haugsbakk 79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
Ian Clark 249c3b87b0 Configurable extra arguments to go test
ADD:
  - layers/+lang/go/config.el Added new variable `go-use-test-args` to allow
    specifying additional arguments being passed to `go test.

CHANGE:
  - layers/+lang/go/packages.el Updated `go-run-tests` to automatically concat
    the new variable `go-use-test-args` to args passed to `go test`.
2017-05-24 11:52:10 +02:00
ralesi 5bacb13a75 recentf: fix referencing to cache directory when symlinked. 2017-05-24 11:48:23 +02:00
Alexander Berezovsky 00a6e3d5c2 Documentation: Highlight ruby debugger keywords 2017-05-24 10:26:31 +02:00
Eivind Fonn b02384520e No underscores in lisp!!! 2017-05-24 10:18:19 +02:00
SteveJobzniak 9a0cf70f7b Colors: Minor tweaks to per-theme defaults
Very slight tweaks to make the per-theme defaults even better.
2017-05-24 10:17:19 +02:00
SteveJobzniak 49458314fe Colors: Better way of adding/refreshing themes
The old, verbose method of manipulating a list felt very hacky.

This is much slicker.
2017-05-24 10:17:09 +02:00
SteveJobzniak bcc1889cf7 Colors: Tuned defaults to work w. majority of light & dark themes
Most people won't take the time to write their own per-theme colors,
so having high-quality defaults matters more than anything else.

These defaults are carefully balanced statistical averages of all colors
suitable for both light and dark themes, and perfected to work for 90% of
all themes.

It's the BEST out-of-the-box experience we can offer without forcing
all users to write their own individual per-theme optimizations
for ALL of their themes...
2017-05-24 10:16:08 +02:00
SteveJobzniak 7d927282ba Colors: Faster method of redrawing buffer for transient state
Switching this to a more correct way of redrawing the buffer contents.
2017-05-24 10:15:25 +02:00
SteveJobzniak add05f69ef Colors: Major fix to actually render per-theme settings on switch
It isn't enough to just update the variables! We must also refresh the "font
locking" (syntax highlighting) in all buffers that have rainbow-identifiers-mode
currently active, so that they instantly re-paint with their per-theme values.
Otherwise we get stuck with an ugly mishmash of old colors and a new theme.

This change loops through all buffers and marks matching ones for re-painting,
starting with the current buffer first so that the user sees quick results!
2017-05-24 10:14:59 +02:00
SteveJobzniak 22749ced59 Colors: Extended built-in theme list, and added better defaults
Added support for 9 new themes, and updated the defaults
for some old definitions to much more closely match the "spirit"
of each theme's individual intended brightness
and saturation level.
2017-05-24 10:13:58 +02:00
SteveJobzniak a6b1da5624 Colors: Improved resetting of rainbow-identifiers transient-state
Now reverts lightness and saturation to the user's fallback defaults.

A suggested future improvement: Revert to whatever would be used
for the current theme, so that it is a true "reset". Such a change
would require decoupling the sat&light code in "colors//tweak-theme-colors".
2017-05-24 10:13:36 +02:00
SteveJobzniak 7bff2fddad Colors: Add ability to set default rainbow-identifiers values 2017-05-24 10:13:15 +02:00
SteveJobzniak 079a60b8af Colors: Rewriting of documentation to fix errors and clarify usage 2017-05-24 10:12:33 +02:00
SteveJobzniak fbd29b1b3b Colors: Corrected keybindings in documentation 2017-05-24 10:09:50 +02:00
Rand01ph c71d482012 fix python layers anaconda-mode requirements 404
the anaconda-mode requirements has change to wiki
2017-05-24 10:04:33 +02:00
ralesi e7d01304b8 ivy: define matcher desc, deprecated from package, add M-SPC 2017-05-24 10:00:53 +02:00
Muneeb Shaikh fd63e5cb44 org: bind org-refile from 'R' to 'r'
Why?
 - 'r' is free binding - not used anywhere for org related modes
 - refiling is quite common activity if you use org heavily, so moving it for
 easy access makes sense
2017-05-24 09:56:18 +02:00