Commit graph

386 commits

Author SHA1 Message Date
Eric Zhang
aafe4156ed Fix some auto-pairing issues when editing erb file with web-mode (#805) 2016-04-18 09:19:06 -07:00
Bozhidar Batsov
ebd6e9d591 Update the copyright years 2016-01-31 08:44:18 +02:00
Bozhidar Batsov
3906f34d6c Update cider-mode's hook 2015-12-23 10:23:00 +02:00
Bozhidar Batsov
cbe988da7a Merge pull request #927 from tmccombs/magit-log-key
Fix magit key bindings.
2015-10-29 16:22:02 +02:00
Richard Primus
09b61bbd48 Replace deprecated utop-setup-ocaml-buffer function 2015-10-29 12:51:00 +00:00
Thayne McCombs
9696c56d8b Fix magit key bindings 2015-10-23 22:44:04 -06:00
Bozhidar Batsov
4ea6d30dc2 Merge pull request #885 from ankhers/haskell_indentation_function_obsolete
Replace a couple of obsolete haskell-mode functions
2015-07-30 18:49:00 +02:00
Justin Wood
4f07b6a2f6 Replace a couple of obsolete haskell-mode functions
* `turn-on-haskell-indentation` has been marked obsolete in favour of
  `haskell-indentation-mode`

* `turn-on-haskell-doc-mode` has been marked obsolete in favour of
  `haskell-doc-mode`
2015-07-30 12:40:10 -04:00
Bin Huang
c97f910efd Use ruby-mode for .cap files 2015-07-22 15:23:40 +08:00
Doug MacEachern
2fe4fe5987 Remove go-oracle-mode hook
See golang/tools@68b5f75

Loading of go-oracle is now taken care of by go-projectile

Fixes issue #854
2015-07-18 11:12:29 -07:00
Leandro Facchinetti
b774a24110 Fix quotes in LaTeX
With a default installation of Prelude and the `prelude-latex` package
enabled, when the user types `"` on a LaTeX document the following shows
up:

```
``|'
```

where the `|` is the point.

Note that the parenthesis are unbalanced, there's a missing single quote
`'` in the end.

The reason seems to be that both AUCTeX and SmartParens try to
autocomplete and they interact bad.

The solution is to disable AUCTeX autocompletion feature just for the
quotes and let SmartParens take over. It does the right thing by putting
the point on the right place and removing the closing quotes if the user
hits backspace.
2015-06-26 18:08:39 -04:00
Bozhidar Batsov
328dcadeac Merge pull request #836 from demon386/master
Don't disable which-function-mode in Python
2015-05-16 13:09:49 +03:00
Bozhidar Batsov
b2947f2164 Replace ace-jump-mode with avy 2015-05-09 13:02:43 +03:00
M. Tong
c8b33df811 Don't disabling which-function-mode in Python 2015-04-17 17:08:21 +08:00
Bozhidar Batsov
4e807b8d5f Merge pull request #834 from tmccombs/slime-repl-fix
Improve slime repl
2015-04-17 00:03:18 +03:00
Wu Jiang
01569fa13f Enable the mode in a definite way
`(anaconda-mode)` is to toggle the mode on/off.
2015-04-16 13:14:34 -04:00
Bozhidar Batsov
dbfe0df1d0 Use sbcl in the absence of ccl on OS X 2015-04-05 21:06:47 +03:00
Thayne McCombs
4fe5752a8d Improve slime repl
This enables the slime-fancy contribs for slime, and no longer enables
rainbow-delimiters for the slime repl.

rainbow-delimiters doesn't seem to work with the slime-repl anyway, and
messes up all of the other colors.
2015-03-22 23:05:37 -06:00
Swaroop C H
c572d7cb8f Enable ERC spell mode only if prelude-flyspell 2015-03-15 20:04:32 -07:00
Bozhidar Batsov
c2da437aa4 Update copyright years 2015-03-03 13:04:34 +02:00
Bozhidar Batsov
9dd4b916bc Merge pull request #792 from marknsikora/c-style
Use K&R as default style
2015-02-04 08:09:34 +02:00
Bin Huang
b2b83b4341 `turn-on-eldoc-mode' is an obsolete command (as of 24.4); use
`eldoc-mode' instead.
2015-01-21 21:25:38 +08:00
Mark Sikora
977fa6318e Use K&R as default style 2015-01-19 21:21:37 -05:00
k1-hedayati
c46079e698 Revert "[Fix #782] Added magit-filenotify"
This reverts commit 003bbc4e0b.

Conflicts:
	core/prelude-packages.el
2015-01-19 23:14:46 +03:30
k1-hedayati
5476324772 [Fix #783] Removed rainbow-mode from prelude-packages 2015-01-15 12:30:03 +03:30
k1-hedayati
58550466ad [Fix #779] Moved elisp-slime-nav to elisp module 2015-01-15 12:30:03 +03:30
k1-hedayati
003bbc4e0b [Fix #782] Added magit-filenotify 2015-01-15 12:30:03 +03:30
k1-hedayati
92807a507c [Fix #703] Disable which-fun-mode in python-mode 2015-01-15 10:49:09 +03:30
k1-hedayati
48d41e6052 Removed redundant guru-mode require package 2015-01-15 10:13:23 +03:30
Bozhidar Batsov
8953e8f138 Merge pull request #757 from k1-hedayati/patch-1
Added helm-ag to auto install list [Fix #756]
2014-12-18 18:06:42 +02:00
Keyvan Hedayati
99e4c9646d [Fix #756] Added helm-ag to auto install list 2014-12-16 21:37:01 +03:30
Bozhidar Batsov
b39d5ce07f Merge pull request #734 from abdulhaq-e/helm-replaces-ibuffer
helm-every-where takes responsibility for buffers-list
2014-12-16 19:38:51 +02:00
Samuel Tonini
da1bf0a787 elixir module 2014-12-12 22:32:47 +01:00
Geoff Shannon
1011fccaba Update default opam commands to newest syntax
Newer versions of opam don't do argument parsing of the first argument
after `opam config exec` so everything needs to be passed as separate
arguments in the shell (i.e. unquoted).
2014-12-11 11:00:31 -05:00
Geoff Shannon
67082e77e3 Setup the new flycheck-ocaml syntax checker 2014-12-11 10:58:47 -05:00
Bozhidar Batsov
dc82375714 Update copyright years 2014-12-07 11:37:46 +02:00
Bozhidar Batsov
e13be254bb Install SLIME from MELPA 2014-12-07 11:36:15 +02:00
Tu Do
310b98b973 Disable helm-quick-update
It is not needed anymore since helm-candidate-number-limit is
small (less than several thousands). If this is the case, then there's
no difference between quick update and no quick update execution time.
Enabling helm-quick-update makes helm buffer flashing for every entered
character to retrieve new candidate list, which would annoy user.
2014-11-14 15:39:06 +07:00
Bozhidar Batsov
21df465e4b Remove custom erc notifications code
It should be replaced with the use of something like
https://github.com/jwiegley/alert
2014-11-05 12:56:12 +02:00
abdulhaq
0055df431c helm-every-where takes responsibility for buffers-list 2014-11-04 21:34:56 +02:00
Geoff Shannon
350504521a Improve ocaml module documentation
Add some documentation about environment assumptions, and correct some
grammar issues.
2014-10-24 14:35:41 -04:00
Geoff Shannon
3d85f4014c Have tuareg mode set the compile command
to utilize corebuild via opam
2014-10-24 14:23:16 -04:00
toctan
456e437496 fix electric-layout-post-self-insert-function autoload 2014-10-17 14:33:37 +08:00
Bozhidar Batsov
4c7483cd79 Merge pull request #710 from pgmcgee/helm-everywhere-C-x-C-m
In helm-everywhere, bind "C-x C-m" to helm-M-x
2014-10-16 12:29:24 +03:00
Bozhidar Batsov
bc8e47984b Merge pull request #712 from toctan/local-electric
Enable electric-layout-mode only with python-mode
2014-10-16 10:13:22 +03:00
toctan
71fe265293 exec-path-from-shell-copy-env PYTHONPATH 2014-10-15 18:30:17 +08:00
toctan
7a51853b05 Enable electric-layout-mode only with python-mode 2014-10-15 18:23:31 +08:00
Parker McGee
80b623432f In helm-everywhere, bind "C-x C-m" to helm-M-x 2014-10-11 18:49:40 -04:00
Bozhidar Batsov
2440f7fda9 Merge pull request #707 from toctan/js2-mode
js2-mode is awesome
2014-10-11 08:53:42 +03:00
Bozhidar Batsov
5362e410c4 Merge pull request #705 from tuhdo/master
Helm cleanup
2014-10-11 08:51:21 +03:00
toctan
edd83dc60b Add json-mode 2014-10-11 11:34:45 +08:00
toctan
fa64e27914 js2-mode is awesome 2014-10-11 11:34:38 +08:00
toctan
ca4797da79 Clean up prelude-coffee.el 2014-10-11 11:32:40 +08:00
Tu Do
741cfb12e8 Helm cleanup
Such bindings prevent editing the *grep buffer.
2014-10-09 11:24:58 +07:00
Tu, Do
41d312fea0 Leaner Helm config and enable Helm version of Projectile commands 2014-10-08 22:39:20 +07:00
toctan
0da2bd461c remove curly braces from js electric-layout-rules
fix #694
2014-09-26 10:28:07 +08:00
schasse
ab763dce6f Appraisals is a ruby file, too 2014-09-24 15:28:35 +02:00
Bozhidar Batsov
cd29262c36 Don't set scss-compile-at-save in the mode hook 2014-09-18 18:07:25 +03:00
Bozhidar Batsov
5bc3ceb6d1 Merge branch 'master' of github.com:bbatsov/prelude 2014-09-18 18:06:33 +03:00
Bozhidar Batsov
07ae0bc2b3 [Fix #692] Don't set the default css indent in the css-mode-hook 2014-09-18 18:05:50 +03:00
toctan
0769eb5e7c Fix newline after colon inside a list 2014-09-18 22:37:59 +08:00
Bozhidar Batsov
00d4587105 Fix 2014-09-14 09:14:20 +03:00
Bozhidar Batsov
438c3e5bdf Move prelude-ido-goto-symbol to prelude-core 2014-09-14 09:13:16 +03:00
Bozhidar Batsov
fda768992e [Fix #663] Make guru-mode warn by default 2014-09-14 08:57:02 +03:00
Bozhidar Batsov
822a595a6b Merge pull request #684 from tuhdo/master
Set Helm prefix key independent of Helm's packages
2014-09-13 20:06:27 +03:00
Tu Do
01cb638fad Set Helm prefix key independent of Helm's packages
Since `helm-command-prefix-key' must be loaded before `helm-config', we
don't know if other Helm packages include `helm-config' and invalidate
custom prefix key. This change makes prefix binding independent from any
Helm package.

Conflicts:
	modules/prelude-helm.el
2014-09-11 12:14:43 +07:00
Bozhidar Batsov
fca390003c Enable subword-mode for yaml-mode 2014-09-10 17:56:00 +03:00
Tu Do
241fcc76d6 Set prefix key before loading helm-projectile
Because helm-projectile loads helm-config, prefix key must also be set
before helm-projectile. Comment is added for future reference
2014-09-10 14:53:29 +07:00
Tu Do
9ee54fdff7 Adjust Helm prefix key
helm-command-prefix-key is already defined with defcustom in
helm-config.el. It must be set before helm-config.el to take
effect. With current setting, "C-x c" is used instead of "C-c h" and it
conflicts with the guide on homepage. "C-x c" makes it easy to press
"C-x C-c" to close Emacs when pressing fast enough. "C-c h" is also
originally used for Helm in Prelude.
2014-09-10 14:01:14 +07:00
Bozhidar Batsov
99f1a43752 Merge pull request #641 from avsej/evil-visual-shift
Keep selection after visual shift
2014-09-10 09:41:48 +03:00
toctan
3dd60e5106 Slim helm module
- Keep only the basic configurations
- Code style
2014-09-07 09:22:38 +08:00
toctan
343ea5bc74 Typo & Code style 2014-09-05 00:31:48 +08:00
toctan
0f1f82fc86 Check if curl is available 2014-09-05 00:31:48 +08:00
toctan
8f028ffb89 Remove unnecessary helm configuration code
There options are already the default.
2014-09-05 00:31:48 +08:00
toctan
013919ff75 Do not mess up with Ido's option in helm module 2014-09-05 00:31:48 +08:00
Bozhidar Batsov
8cf9acc155 Merge pull request #667 from toctan/anaconda
Add anaconda-mode for python
2014-09-04 15:11:29 +03:00
Bozhidar Batsov
8a3e58ac86 Merge pull request #647 from ToBeReplaced/prelude-yaml
Add prelude-yaml
2014-09-04 14:08:52 +03:00
Tu Do
2f815d777e Update README and move some packages to helm-everywhere
Add Helm to table of contents and move helm-descbinds and helm-eshell to
helm-everywhere module.
2014-09-04 10:07:07 +07:00
toctan
6f72bdfd32 Add anaconda-mode for python 2014-09-04 09:49:07 +08:00
Bozhidar Batsov
6835a4ee96 Merge pull request #658 from tuhdo/master
Enable prelude-global-helm-global-mode by default
2014-09-02 09:41:24 +03:00
Tu, Do
72d0e6f159 Enable prelude-global-helm-global-mode by default
Since Helm is another option to Ido, users who want to use it fully
should benefit from the default Prelude setup. If some users don't like,
they can always disable global Helm mode according to the instructions
in the homepage. User can enable Helm everywhere with
prelude-helm-everywhere.

This change also enables Helm version of command history in shell and
eshell. It also adds minibuffer history without overrides any key
binding in minibuffer-local-map.
2014-09-02 13:30:18 +07:00
Bozhidar Batsov
e37fac9b4a Merge branch 'master' of github.com:bbatsov/prelude 2014-09-01 11:56:14 +03:00
Bozhidar Batsov
50e430f2e6 Enable which-function-mode for all major modes 2014-09-01 11:55:43 +03:00
Bozhidar Batsov
0cccfb8487 Merge pull request #655 from toctan/python-imenu
Flat index with python imenu
2014-08-31 18:28:57 +03:00
Tu, Do
10b045c29a Allow enable/disable global helm key bindings
Since some users prefer using default Prelude commands, a new global
mode is defined: prelude-global-helm-mode. When activate, Helm binds
some global key bindings to its own commands. When deactivate, Helm
removes the bindings and Prelude uses the default bindings.
2014-08-31 01:54:33 +07:00
toctan
e379c876c2 Flat index with python imenu 2014-08-30 23:30:16 +08:00
Tu, Do
bde6bb0d37 Improve Helm configuration
The current prelude-helm only uses a single command of Helm, which
is a waste given how Helm contains many other commands. When
prelude-helm is activated, users should be able to utilize all of these
useful commands. If a user wants to use Helm, he will want to use all of
its features anyway.

prelude-helm is configured that it is able to be used with this [guide](http://tuhdo.github.io/helm-intro.html).
2014-08-30 16:08:52 +07:00
ToBeReplaced
e01dfddcdb Add prelude-yaml 2014-08-24 22:58:10 -06:00
toctan
17cf2c710a Insert magic encoding comment upon save 2014-08-20 21:45:25 +08:00
toctan
41e153058c Automatically newline with block start 2014-08-20 16:12:29 +08:00
toctan
6283c1afd7 Turn on electric indent mode with python mode 2014-08-20 16:07:55 +08:00
Sergey Avseyev
720658c0e5 * modules/prelude-evil.el: keep selection after visual shift 2014-08-13 23:22:34 +03:00
Geoff Shannon
17d56f668d Redefine C-c C-s to run utop
Instead of tuareg-run-ocaml.  This avoids the problems described in
issue #626. Nominally fixes #626.
2014-08-04 15:44:20 -07:00
Geoff Shannon
6bbcd438ae Remove unnecessary autoload call 2014-08-04 15:15:40 -07:00
Bozhidar Batsov
1b9c059c48 Merge pull request #613 from roryk/upstream
fix for evil-mode in terminal
2014-08-01 18:43:58 +03:00
mike-work
0ac11b33b3 added (interactive-haskell-mode) to enable the use of interactive haskell commands (such as C-c C-l to load file) 2014-08-01 16:35:55 +01:00
Geoff Shannon
ed91fb3d7e Remove hook to activate an apparently obsolete tuareg function
Trivially fixes #614 by simply removing the offending hook.
2014-07-28 12:58:33 -07:00
Geoff Shannon
313265f69c Activate company mode support for merlin
Also, provide a commented out sample for activating autocomplete support
2014-07-28 12:52:18 -07:00
roryk
d757699536 Fix for ESC -> meta in terminal mode.
If you hit esc-key in terminal mode very quickly, it gets interpreted
as meta-key, which makes evil-mode unusable in terminal mode. The
default value of 0.01 doesn't completely fix this behavior, but
setting it to 0 does. The meta key still works fine with it at 0.
2014-07-19 13:05:47 -04:00
Alexey Romanov
4666983a5e Add fast math entry methods 2014-07-19 10:57:19 +04:00