Commit graph

650 commits

Author SHA1 Message Date
Tristan Hume
cb43a91a15 Add company backend add macro and use it everywhere 2015-03-30 00:01:33 -04:00
Diego Berrocal
78f8c6aae0 Change condition for company-mode detection
changed configuration-layer/package-declaredp for
configuration-layer/layer-declaredp in company-mode
2015-03-29 23:49:37 -04:00
Ratson
325f27cff1 Add modes for Git related files 2015-03-29 23:47:55 -04:00
syl20bnr
f56c035dea haskell layer: disable ghc-check.el overlays with flycheck enabledcc 2015-03-28 20:45:25 -04:00
syl20bnr
2f27a31176 haskell layer: Fix flycheck configuration
Fixes #594
2015-03-28 20:44:30 -04:00
syl20bnr
0058dab322 haskell layer: update README for cabal binaries location 2015-03-28 10:16:33 -04:00
syl20bnr
790a5cc5e9 git layer: add key bindings in rebase mode and document them 2015-03-28 00:06:52 -04:00
syl20bnr
83f268e04b git layer: add init functions for gitconfig and git-commit modes 2015-03-27 23:51:08 -04:00
Rich Alesi
4b1bbc2472 Add gitconfig-mode and git-commit-mode to git contrib 2015-03-27 23:41:56 -04:00
syl20bnr
857c110d9e racket layer: add table of content to README 2015-03-27 23:40:35 -04:00
syl20bnr
3e68321f6d racket layer: refactor and apply conventions
Add more key bindings
2015-03-27 23:37:33 -04:00
Tristan Hume
904ff2d9eb Make tweaks to Racket layer 2015-03-27 22:32:09 -04:00
Tristan Hume
4f9ee49f58 Move Racket to its own layer 2015-03-27 22:32:07 -04:00
Tristan Hume
94176bc4bf Fix some extra lang quirks and add Nim support 2015-03-27 22:32:06 -04:00
syl20bnr
06607fe3e3 Move rcirc and erc layer in irc subfolder 2015-03-27 22:27:58 -04:00
syl20bnr
8a1750b7c0 erc layer: Small refactor of packages.el 2015-03-27 22:24:39 -04:00
Christoph Paulik
4ab8f723c5 added a few keybindings and documentation 2015-03-27 22:17:08 -04:00
Swaroop
9723aaead9 Add minimal ERC layer 2015-03-27 22:17:05 -04:00
Jean-Christophe Petkovich
50b62b3d65 Last spacemacs/activate-evil-leader-for-map call to remove.
Everything should use the `evilify` macro now.

Conflicts:
	contrib/lang/clojure/packages.el
2015-03-26 12:31:26 -04:00
syl20bnr
3bdb08773d Uncomment spacemacs/indent-region-or-buffer and move it
to spacemacs/funcs.el
2015-03-26 12:26:09 -04:00
Diego Berrocal
663503c772 Add Perspective-enable-persp-projectile to the documentation 2015-03-26 12:22:38 -04:00
syl20bnr
6fa63b8dbb clojure layer: Remove call to deprecated function 2015-03-25 00:55:05 -04:00
syl20bnr
131fd3cce8 Remove empty file funcs.el in c-c++ layer 2015-03-24 21:53:37 -04:00
syl20bnr
0f4cae5773 Ignore company-quickhelp for emacs version < 24.4
Fix #922
2015-03-23 23:29:03 -04:00
syl20bnr
3e14243a5f New layer better-defaults 2015-03-23 23:27:51 -04:00
Cong Nguyen
e7ec767fa8 go layer: use new company-mode layer init
Fix #913
2015-03-23 22:12:04 -04:00
person808
0810217bb6 Add darktooth theme. 2015-03-23 22:07:34 -04:00
syl20bnr
86f40dc20f Remove unnecessary forward slashes in concat functions. 2015-03-23 21:57:42 -04:00
Jean-Christophe Petkovich
676e8ddb72 Don't refer to ~/.emacs.d/ directly.
This is mostly a style thing, since I think it would probably be a lot
of effort getting spacemacs working on windows smoothly. But it is also
a first step towards a "try out spacemacs" script that doesn't require
someone to move their `~/.emacs.d` around.
2015-03-23 21:55:33 -04:00
Jean-Christophe Petkovich
e1c2c50932 Create rcirc logging directory during init.
Not much else to say about it.
2015-03-23 21:54:37 -04:00
Daniel Wu
41efc0e263 python layer: Update README 2015-03-23 21:54:06 -04:00
Michael Hauser-Raspe
43c9e14d16 Add projectile-find-other-file key bindings 2015-03-23 21:52:55 -04:00
syl20bnr
c291d0e9c3 Temporarily remove company-yasnippet backend
I have to investigate why it triggers some weird side
effects with anaconda source.
2015-03-23 00:48:06 -04:00
syl20bnr
8c05eaa19e Correctly fix the company transformer 2015-03-23 00:22:27 -04:00
syl20bnr
8765158b60 Fix company transformer with company-mode-use-tab-instead-of-enter 2015-03-23 00:18:52 -04:00
syl20bnr
bdf1ec390b New evil state evilified + support for dynamic toggle of holy-mode
Key binding on `SPC P <tab>` in the pair programming prefix.
2015-03-22 23:14:43 -04:00
syl20bnr
5c936a5088 Remove unneeded empty init functions since the fix of non activated packages 2015-03-22 03:13:09 -04:00
syl20bnr
814b56ba26 Simplify initialization of flycheck-haskell 2015-03-22 03:11:54 -04:00
syl20bnr
8d66f55d05 Set company-delay to 0.5 as default
0.5 is a sane default, users can easily tweak it in the dotfile.
2015-03-22 02:28:10 -04:00
syl20bnr
b1adef0626 Heavy refactoring of company-mode layer
- Enable lazy-loading of company.
- The company layer is now agnostic of any packages which use company
- company-backends is now buffer local and contains only the backends
which are relevant for the current modes
- New macro `spacemacs|reset-local-company-backends`
2015-03-22 02:23:12 -04:00
syl20bnr
cc0cb82283 Remove lighter for robe in ruby layer 2015-03-21 18:41:31 -04:00
syl20bnr
2980ae01ef Correctly lazy-load projectile-rails
Fixes #853
2015-03-21 18:40:36 -04:00
syl20bnr
30ced0a08b Work-around a bug in enh-ruby-mode
Taken from https://github.com/zenspider/enhanced-ruby-mode/blob/master/test/enh-ruby-mode-test.el#L4

Fixes a wrong number of arguments error.
2015-03-21 18:39:37 -04:00
syl20bnr
de24fd7f2a Minor edition of ruby layer README 2015-03-21 18:39:15 -04:00
syl20bnr
53edf82299 Use helm by default for all key bindings equivalent to M-x
Resolves #901
2015-03-21 13:18:33 -04:00
Christoph Paulik
30aee9fd64 add material theme to themes megapack 2015-03-20 23:38:07 -04:00
Jean-Christophe Petkovich
f5fa170147 Fix loading packages for new version of ess
`ess-R-object-popup` and `ess-R-data-view` no longer exist in the newest
version of the `ess` package. All we need to load now is `ess-site`.

Revert changes to ess lazy loading

Include two empty init functions for packages causing errors instead.
2015-03-20 23:28:43 -04:00
syl20bnr
2fa2c620ee clojure layer: add cider-eval-sexp-fu 2015-03-20 23:27:08 -04:00
syl20bnr
890217a6f4 clojure layer: Add SPC m e f eval function at point 2015-03-20 22:50:05 -04:00
syl20bnr
b92888cb04 Move helm-colors key binding in SPC C l 2015-03-20 21:49:50 -04:00
Jean-Christophe Petkovich
f099537282 Fix for flycheck-haskell-setup autoload
I get the following backtrace after starting any mode that includes
flycheck initialization:

Debugger entered--Lisp error: (void-function flycheck-haskell-setup)
  flycheck-haskell-setup()
  run-hooks(flycheck-mode-hook flycheck-mode-on-hook)
  flycheck-mode()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
  run-mode-hooks(python-mode-hook)
  python-mode()
  set-auto-mode-0(python-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer setup.py> "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" (11679577 2052))
  find-file-noselect("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil nil)
  find-file("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  find-file-at-point("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  helm-find-file-or-marked("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  ...
  ABBREVIATED HELM BACKTRACE
  ...
  helm-find-files-1("/home/jcp/" nil)
  helm-find-files(nil)
  call-interactively(helm-find-files nil nil)
  command-execute(helm-find-files)

By moving the `flycheck-mode-hook` manipulation to
`haskell/init-flycheck-haskell`, I no longer get this error.
2015-03-20 21:37:38 -04:00
Ryan Artecona
66dc692bb1 add sass-mode 2015-03-20 21:24:00 -04:00
syl20bnr
8a393f43df Slight edition of evil-commentary readme 2015-03-20 21:22:02 -04:00
person808
e22e2b4623 Add evil-commentary layer. 2015-03-20 20:08:22 -04:00
Tu Do
a173d07252 Remove company-semantic to conform with Spacemacs
Since Spacemacs set the idle delay to 0.0 for continuous completion
offering, it is too much for backend like company-semantic, and probably
other backends that require long processing time that should only be
initiated when user is actually idle. company-semantic is not compatible
with Spacemacs overall, so we should remove it otherwise it hangs
Emacs.
2015-03-20 04:20:25 -04:00
syl20bnr
0a934b2b4e Update haskell readme 2015-03-18 08:52:06 -04:00
syl20bnr
72edfcd137 Move SPC m t and SPC m i under SPC m h
`SPC m t` is reserved for tests.
Information commands are considered help commands.
2015-03-18 08:51:20 -04:00
syl20bnr
fa3ebe2897 Fix lazy loading of rcirc 2015-03-18 00:29:09 -04:00
Jean-Christophe Petkovich
1ffe401e0d Use correct spacemacs cache directory for irc logs
Use `spacemacs-cache-directory` for irc logs, rather than
`~/.emacs/.cache/rcirc-logs` which looks incorrect (`.emacs` vs
`.emacs.d`), and should not be hardcoded.

Fix associated comment.
2015-03-17 23:25:53 -04:00
syl20bnr
a5e33401d0 Add note about ZNC server configuration and security 2015-03-17 23:25:16 -04:00
syl20bnr
76951bb0ae Minor update in rcirc layer README 2015-03-17 23:23:31 -04:00
syl20bnr
ed7a56ed5f Update rcirc layer README 2015-03-17 23:20:04 -04:00
syl20bnr
ace2576ff6 Refactor rcirc layer
Tested only without authinfo and without znc.
Needs some more tests :-)
2015-03-17 22:50:11 -04:00
Jean-Christophe Petkovich
360cebf259 Fix for rcirc load ordering and configuration
I'm not sure if this is necessary, it's possible I'm using this layer
incorrectly, but I needed to change the order in which rcirc was loaded,
and in which it was configured.

This commit fixes all the issues I was running into, but perhaps I'm not
using this as intended. Be sure to look carefully over what I changed to
make sure it makes sense for what you want this layer to do.
2015-03-17 20:01:44 -04:00
syl20bnr
11d29d1699 Add TOC in fsharp layer readme + resize the logo 2015-03-17 00:18:55 -04:00
Rodolfo Hansen
bd0721ca39 Declare floobits prefix description 2015-03-16 23:56:24 -04:00
syl20bnr
a0fb7c77b2 Update logos for fsharp and dockerfile 2015-03-16 23:56:14 -04:00
syl20bnr
4753502945 haskell layer: Update readme 2015-03-16 01:56:28 -04:00
Pierre Radermecker
3deb06fec9 haskell layer: haskell-enable-hindent-support requires a style name
Fixes #758
2015-03-16 01:45:14 -04:00
Diego Berrocal
8223282795 dim:rcirc function needs rcirc to be loaded before 2015-03-16 01:43:38 -04:00
syl20bnr
8b175d6eb6 Simplify ruby layer use-package
`:mode` implies `:defer t` so I removed all the `:defer t` when
`:mode` is used
2015-03-15 23:48:58 -04:00
syl20bnr
96e96ae8e4 Fix clojure lazy-loading 2015-03-15 23:48:47 -04:00
Diego Berrocal
c6bb4b9e21 Refactor rcirc-config for spacemacs/rcirc 2015-03-15 22:54:34 -04:00
Diego Berrocal
5c7df01cc3 Code-breaking typo 2015-03-15 22:54:17 -04:00
syl20bnr
c2aaebdb01 Add missing contirb/rcric/config.el file 2015-03-15 21:44:42 -04:00
syl20bnr
ff7960fe5d Lazy-loading for c-c++ layer 2015-03-15 21:44:10 -04:00
syl20bnr
c613fed7da Refactor ycmd layer for lazy loading 2015-03-15 21:43:31 -04:00
syl20bnr
13d7326685 Refactor rcirc layer for lazy loading
Rename layer variables to
- rcirc-enable-authinfo-support
- rcirc-enable-znc-support
2015-03-15 21:42:40 -04:00
Diego Berrocal
6e348c0a54 Fix compatibility with use-package 2.0 2015-03-15 18:51:18 -04:00
syl20bnr
e4101c84cb Edit floobits layer README 2015-03-15 00:59:27 -04:00
Rodolfo Hansen
d970b84162 Initial work on a floobits layer 2015-03-15 00:51:56 -04:00
syl20bnr
a721dc55fe Refactor prespecitves layer README and move key bindings on L prefix 2015-03-15 00:51:22 -04:00
syl20bnr
834c0aea4f Rename variable with with more conventional enable
Also use `:if` use-package keyword.
2015-03-15 00:34:57 -04:00
Diego Berrocal
c2afa9dc3e Add better support for persp-projectile 2015-03-15 00:32:22 -04:00
Alan Zimmerman
17c2ddf943 Adding layer for dockerfile-mode 2015-03-15 00:31:37 -04:00
Diego Berrocal
0b9aee747c Add rcirc layer and support for it in the perspectives layer 2015-03-15 00:30:31 -04:00
Amin Bandali
f8b42d166b clojure layer: add cider-quit binding SPC m s q 2015-03-15 00:16:57 -04:00
Amin Bandali
64f8db437f (doc) CIDER requires nREPL minimum 0.2.7
https://github.com/clojure-emacs/cider/issues/970
2015-03-15 00:16:38 -04:00
Chris Barrett
d4a7e3bed1 Fix up some use-package forms
- The `use-package` for magit-gh-pulls is malformed.
- The one for volatile-highlights attempts to enable the mode too early
2015-03-15 00:14:47 -04:00
Christoph Paulik
7cc096e213 activate inferior-python-mode in comint buffer
this enables autocompletion
This code still has the bug that point stays in the comint buffer
2015-03-14 23:57:39 -04:00
Christoph Paulik
06a2d9ba47 fixes python compile command
- now sets the compile command correctly if python buffers are switched
- moves point to end of comint buffer, useful if a breakpoint is set
2015-03-14 23:57:37 -04:00
Tu Do
3e277409ea [Fix #738] Display all parameters in the top line
This change allows semantic-sticky-func-mode to display parameters that
are scattered in many lines by using stickyfunc-enhance package. It also
specifically handles Python to also display assigned values if
available.

Also update documentation.
2015-03-14 22:56:20 -04:00
person808
9f1cacf236 Set evil-snipe-override-evil.
Replaces enabling evil-snipe-override-mode directly.
2015-03-14 22:55:39 -04:00
syl20bnr
3098a1a2d8 Refactor python compile command 2015-03-14 02:59:12 -04:00
Christoph Paulik
ca7048c971 Add python compile command
- automatically changes compile command to
  ```python (buffer-file-name```
  for python buffers
- automatically starts comint mode in python mode to allow interaction
  with debugger
2015-03-14 02:56:51 -04:00
syl20bnr
14a3737890 Rename spacemacs custom cider function
Add the cider prefix to avoid clashes
2015-03-14 01:46:05 -04:00
syl20bnr
8982836fe9 Adapt fsharp to the conventions 2015-03-14 01:45:52 -04:00
Ryan Roberts
02c5c82768 Add fsharp layer 2015-03-13 23:24:17 -04:00
Michael Hauser-Raspe
519e46bbc9 Add haskell-type-on-previous-line function 2015-03-13 23:22:39 -04:00
syl20bnr
e7d2532cc8 Refactor dash layer
Rename variable dash/helm-dash-docset-newpath to
dash-helm-dash-docset-path
2015-03-13 23:16:40 -04:00