Commit graph

1516 commits

Author SHA1 Message Date
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
Bin Huang
81953ad033 Move the prelude tips for key-chord-mode to it's module file. 2014-05-29 17:16:05 +08:00
Bozhidar Batsov
70bdffd4a6 Merge pull request #554 from tuhdo/master
Update document and operate-on-number key bindings
2014-05-29 08:16:40 +03:00
Tu Do
ca9dc4676c Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
2014-05-29 11:10:04 +07:00
Bozhidar Batsov
b998a8bd47 Don't recompile elc files outside of Prelude 2014-05-28 18:57:54 +03:00
Bozhidar Batsov
3f0322a806 Add extra keybindings for eval-defun and eval-buffer 2014-05-28 18:56:58 +03:00
Bozhidar Batsov
ef9580ca96 Get rid of the deprecated clojure-test-mode 2014-05-28 18:56:32 +03:00
toctan
d529ef86a5 Do not bind proced with OS X 2014-05-28 21:10:10 +08:00
Bozhidar Batsov
36822d7e3e Log nREPL messages by default 2014-05-27 18:21:25 +03:00
Bozhidar Batsov
44e10c1052 Leftover from previous commit 2014-05-27 15:29:15 +03:00
Bozhidar Batsov
e6c2f4c139 Remove EmacsWiki section 2014-05-27 15:28:42 +03:00
Bozhidar Batsov
7bccd138c3 Extend improvements section 2014-05-27 15:28:23 +03:00
Bozhidar Batsov
381d781035 Merge pull request #551 from toctan/fix-define-key
Fix define-key 'help-command
2014-05-27 12:15:51 +03:00
toctan
1df4cb8043 Fix define-key 'help-command 2014-05-27 16:03:47 +08:00
Bozhidar Batsov
45ee90ad6f Merge pull request #546 from tuhdo/master
Add discover-my-major
2014-05-27 08:12:23 +03:00
Tu Do
543bfd4cc4 Update documentation 2014-05-27 12:00:59 +07:00
Tu Do
ed4036f95d Add discover-my-major
A better interface for getting information about major mode features. It can
complement the built-in "C-h m" (describe-mode): "C-h m" can be thought of
a full mode help, while discover-my-major a quick mode help, in the following
ways:

- Show key binding with description
- Cursor is automatically switched to discover-my-major help buffer, and to quit
the help buffer, simply press 'q'. In stock "C-h m", user has to manually switch,
scroll up/down to look for major mode commands. Finally, user closes the buffer
either by "C-x 0", or winner-mode undo (C-c <left>), which requires more key strokes.
- Display just enough information. In "C-h m", it displays every thing, from
major mode to minor modes, enabling minor modes and description of every modes.
- More polished user interface.

It's also better than smex-major-mode-commands, since smex-major-mode-commands
does not show key bindings and description.
2014-05-27 10:40:10 +07:00
Bozhidar Batsov
bbf524aea9 Merge pull request #550 from bronislav/add-dockerfile-mode
Add dockerfile-mode to the prelude-auto-install-alist
2014-05-26 21:33:29 +03:00