Commit graph

1354 commits

Author SHA1 Message Date
Bozhidar Batsov 7b31aad69e Merge pull request #611 from RadicalZephyr/prelude-ocaml
Add basic ocaml setup for prelude
2014-07-18 10:33:33 +03:00
Geoff Shannon 6bd092dc5b Add basic ocaml setup for prelude 2014-07-18 00:22:21 -07:00
Bozhidar Batsov f6781cdc23 Toggle god-local-mode instead of god-mode 2014-07-17 00:38:40 +03:00
Bozhidar Batsov ef381ed943 Merge pull request #609 from danielwuz/fix-init-evil
enabled evil-visualstar by default
2014-07-16 14:18:14 +03:00
Daniel Wu a3f6b0e53d enabled evil-visualstar by default 2014-07-16 07:12:46 -04:00
Bozhidar Batsov 84fac2c435 Merge pull request #608 from jory/chore-add-missing-word-in-tips
Reword the <M-o> tip
2014-07-16 07:39:35 +03:00
Jory Graham e1f9016432 Use the phrase 'open a line' in both tips 2014-07-15 20:34:10 -04:00
Bozhidar Batsov c91bf8d0dd Minor fix 2014-07-15 17:38:59 +03:00
Bozhidar Batsov 744790627c Update the section on Projectile's keybindings 2014-07-15 17:37:07 +03:00
Bozhidar Batsov a7bae36f8a Merge pull request #592 from toctan/set-buffer-major-mode
Set new special buffer mode according to `auto-mode-alist'
2014-07-15 13:10:10 +03:00
Bozhidar Batsov 5bee586f0a [Fix #602] Associate .tpl files with web-mode 2014-07-15 11:40:18 +03:00
Bozhidar Batsov fa40fc8a7e [Fix #604] Save only the current buffer on focus lost 2014-07-14 18:54:49 +03:00
Bozhidar Batsov 978808b745 Add a shorter prefix for all Projectile commands 2014-07-14 17:50:45 +03:00
Bozhidar Batsov d49a8e9a16 Add god-mode 2014-07-14 17:42:34 +03:00
Bozhidar Batsov fcab23fe9c Merge pull request #599 from avsej/fix-io-redirects-in-installer
Fix redirection of IO streams
2014-07-08 08:37:51 +02:00
Sergey Avseyev bb34a4b908 Fix redirection of IO streams 2014-07-08 09:13:06 +03:00
Bozhidar Batsov 31b84dc749 Merge pull request #597 from benprew/patch-1
Update installer.sh
2014-07-05 10:35:32 +02:00
Ben Prew ce97547acf Fix unset PRELUDE_INTO bug.
A -n test behaves differently with and without quotes.  This fixes
https://github.com/bbatsov/prelude/issues/577
2014-07-04 22:41:38 -07:00
toctan 4dab9a193a Respect initial-major-mode creating scratch buffer 2014-07-01 20:50:17 +08:00
toctan bc53a7008a Set buffer mode according to `auto-mode-alist'
With this, after we create a special buffer, the major-mode get set
automatically. For example, we create a new buffer named "ruby.rb",
`ruby-mode` was automatically enabled.
2014-07-01 20:47:15 +08:00
Bozhidar Batsov 86f25a9462 Merge pull request #571 from ilkka/patch-1
Add note about .emacs.d Windows path
2014-06-30 14:15:06 +02:00
Bozhidar Batsov e3217b65e0 Merge pull request #584 from toctan/cleanup-buffer
Cleanup code of `prelude-cleanup-buffer`
2014-06-30 14:14:20 +02:00
Bozhidar Batsov 368ce0ceb1 Merge pull request #590 from toctan/slime
Start slime automatically via `slime-auto-start`
2014-06-30 14:13:51 +02:00
toctan ffe8350530 Start slime automatically with slime-auto-start 2014-06-30 20:02:40 +08:00
toctan 158f695813 Do not bind "C-c i" to slime-inspect
This keybinding is in conflict with that of `prelude-ido-goto-symbol`,
and `slime-inspect` is already bound to "C-c I"
2014-06-30 20:02:37 +08:00
Bozhidar Batsov 5445a40453 Merge pull request #587 from swhalen/two-quicklisp-dirs
Look for Quicklisp in ~/quicklisp and ~/.quicklisp
2014-06-25 14:36:30 +03:00
Simon Whalen d7ba68c19f Look for Quicklisp in ~/quicklisp and ~/.quicklisp
In `prelude-common-lisp.el`, look in both `~/quicklisp/` and
`~/.quicklisp/` for `slime-helper.el`, on the assumption that most users
will have Quicklisp installed in one of these two locations.

This commit fixes #582
2014-06-25 22:34:11 +12:00
Bozhidar Batsov 2437b447d9 Merge pull request #585 from toctan/smartparens
Move smartparens pair definition out of hooks
2014-06-25 10:57:15 +03:00
toctan 07ff79872e Move smartparens pair definition out of hooks
There are two reasons for doing this:
- It's inefficient, we don't have to define the pairs every time we
  enter the mode.
- It's extremely difficult to override the pair definition, even with
  `eval-after-load` and `add-hook`
2014-06-25 11:04:49 +08:00
toctan 3ac1cc8f00 Remove duplication advice of yank and yank-pop 2014-06-25 10:21:51 +08:00
toctan 491bc0617f Do not indent region with indent sensitive modes
- Rename and move yank indent vars into prelude-custom.el
- Add coffee-mode to prelude-indent-sensitive-modes
- Do not mess up indentation when cleanup with indentation sensitive
  modes, such as Python.
2014-06-25 10:21:51 +08:00
toctan d226fd63f7 Clean up prelude-cleanup-buffer code
- Create a macro `with-region-or-buffer` to replace the prelude wrapper
  around `untabify` and `indent-region`
- Remove the function operated on buffers, cause we only need the dwim
  one
2014-06-25 10:21:51 +08:00
Bozhidar Batsov 2e8859b936 Merge pull request #578 from dougm/go
Add help-command mapping for godoc
2014-06-20 19:32:37 +03:00
Doug MacEachern 3491279585 Add key bindings for godoc
C-h G -> godoc: can be used in any mode

C-h f -> godoc-at-point: go-mode only
2014-06-18 08:41:35 -07:00
Bozhidar Batsov 96c155fa0e Merge pull request #575 from lazywei/upstream-master
Rename evil-surround due to upstream changing.
2014-06-17 12:49:57 +03:00
Bert Chang 1d4d92b655 Rename evil-surround due to upstream changing. 2014-06-17 17:47:31 +08:00
Ilkka Laukkanen 30e5256a39 Add instructions for getting homedir path
This should work for all versions of Windows.
2014-06-16 09:27:53 +03:00
Bozhidar Batsov fbdb60a8ee Merge pull request #542 from avsej/yank-to-end-of-line
prelude-evil: add 'nmap Y y$' equivalent
2014-06-14 21:59:28 +03:00
Sergey Avseyev fa45eba962 Apply prelude codestyle 2014-06-14 20:37:27 +03:00
Bozhidar Batsov b60180b9c4 Merge pull request #572 from toctan/prelude-web
Make web-mode play nice with smartparens
2014-06-14 09:43:10 +03:00
Bozhidar Batsov 35d43ea91d Merge pull request #573 from toctan/prelude-css
Run prelude-prog-mode-hook with CSS
2014-06-14 09:42:36 +03:00
toctan 149f9ec301 Run prelude-prog-mode-hook with CSS
I don't know if CSS should be count as a programming language, but the
utilities provided in the `prelude-prog-mode-hook`, such as
smartparens, whitespace-mode, comment annotation, are also very useful
when editing CSS files.
2014-06-14 11:17:19 +08:00
toctan 207ec885db Make web-mode play nice with smartparens
web-mode's auto paring is in conflict with smartparens. With
smartparens, since the closing '>' is inserted right after the opening
'<' and web-mode is not aware of that, the extra closing '>' would be
inserted. That's very annoying.
2014-06-14 10:48:16 +08:00
toctan f73e348534 Remove web-mode customization
- Code indent offset is subjected to personal taste, I think we should
  stick to the web-mode default, which is sensible enough, and leave it
  to the user to decide.
- `web-mode-disable-autocompletion` is no longer used by web-mode.
- As to `newline-and-indent`, I think we should be consistent across all
  major modes. And this line of code will become useless with Emacs 24.4.
2014-06-14 10:29:27 +08:00
Ilkka Laukkanen 4c6a64dbe5 Add note about .emacs.d Windows path
At least on my Windows 7 machine, `user-emacs-directory` prints `~/.emacs.d`, which is not really useful, since you also then have to realize that the tilde refers to the roaming appdata directory. I think this way of documenting would perhaps be more immediately useful. For probably almost all other platforms the tilde path will work just fine.
2014-06-12 10:54:01 +03:00
Bozhidar Batsov 3b61b1f3bb Merge pull request #570 from toctan/exchange-point-and-mark
Do not deactivate-mark if region active when exchange-point-and-mark
2014-06-11 08:35:30 +03:00
toctan ba2272a690 Prefer advice over remap exchange-point-and-mark 2014-06-08 13:18:06 +08:00
toctan ab6ecdedfd Do not deactivate-mark if region active 2014-06-08 12:54:24 +08:00
Bozhidar Batsov 8c69e43088 Merge pull request #569 from rowanthorpe/silence-slime-warning
Avoid compile warning in test for slime
2014-06-08 00:25:07 +03:00
Bozhidar Batsov 18a707f4d5 Merge pull request #568 from rowanthorpe/install-script-fixes
Various install-script fixes
2014-06-08 00:24:21 +03:00