Commit graph

1383 commits

Author SHA1 Message Date
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
Rowan Thorpe
d33983ce81 Various install-script fixes
* Colour handling in zsh (& don't use "colors" as funcname)

* Quote-protect -z test

* Clean up verbose var-printout

* git clone requires empty dir - tweak script to make it work with
  an existing dir

* Unquote asterisks for shell-expansion when byte-compiling
2014-06-07 23:58:19 +03:00
Rowan Thorpe
646905c505 Avoid compile warning in test for slime 2014-06-07 23:47:09 +03:00
Bozhidar Batsov
fcc82c75ff Auto-install swift-mode when needed 2014-06-05 16:20:18 +03:00
Bozhidar Batsov
fda3f0067a Merge pull request #560 from toctan/rename-buffer
Rename buffer not visiting files
2014-06-05 15:35:10 +03:00
Bozhidar Batsov
57dab8813e Merge pull request #561 from toctan/scheme-complete
Add tab compelete and eldoc for scheme
2014-06-05 15:32:06 +03:00
Bozhidar Batsov
59b8d1710b Merge pull request #566 from toctan/smart-curly-braces
Extra newline and indent when RETURN between {}
2014-06-04 19:02:43 +03:00
Bozhidar Batsov
a452530266 Merge pull request #565 from dougm/go
Add Go module
2014-06-04 19:02:29 +03:00
Doug MacEachern
d16214faa3 Add Go module 2014-06-04 08:57:56 -07:00
Bozhidar Batsov
2656ffa229 Set company-tooltip-flip-when-above to t 2014-06-04 15:57:29 +03:00
toctan
ab64e2bb3c Extra newline and indent when RETURN between {} 2014-06-04 20:23:08 +08:00
toctan
0e75110769 Rename buffer not visiting files 2014-06-04 20:11:18 +08:00
toctan
4995a8ccd9 Add geiser for scheme 2014-06-04 17:36:05 +08:00
Bozhidar Batsov
b21abe428e Merge pull request #562 from toctan/prelude-helm
Move helm related code into its own module
2014-06-01 12:42:12 +03:00
toctan
461a560ddd Define prelude helm menu entry in its own module 2014-06-01 13:29:39 +08:00
toctan
639cecb759 Remove redundant helm-prelude key binding code 2014-06-01 13:27:47 +08:00
Bozhidar Batsov
80101de017 [Fix #559] Add an autoload for vkill 2014-05-31 16:12:38 +03:00
Bozhidar Batsov
699f14b80c Add vkill as an alternative to proced on OS X 2014-05-31 12:43:02 +03:00
Bozhidar Batsov
50ccd6db23 Merge pull request #553 from toctan/proced-binding
Binding proced only in Linux
2014-05-31 12:39:07 +03:00
Bozhidar Batsov
1c319bb448 Merge pull request #558 from hbin/operations-on-buffer-or-region
Operations for buffer or region
2014-05-31 12:38:15 +03:00
Bin Huang
9b7e0b6ce4 1. Rename prelude-indent-region-or-buffer to prelude-indent-buffer-or-region.
2. Add prelude-cleanup-buffer-or-region.
3. Add prelude-untabify-buffer-or-region.
4. Update menus and kbds.
2014-05-31 01:56:38 +08:00
Bozhidar Batsov
1681215b25 Merge pull request #555 from hbin/prelude-tips-for-key-chord-mode
Move the prelude tips for key-chord-mode to its module file.
2014-05-29 12:24:01 +03:00