Commit graph

123 commits

Author SHA1 Message Date
Bartłomiej Kruczyk
c35bbaaca3 Customize shell to run with prelude-visit-term-buffer 2015-10-15 11:17:21 +02:00
toctan
e28d03818d Respect delete-by-moving-to-trash
close bbatsov/prelude#864
2015-09-03 23:45:46 +08:00
Bozhidar Batsov
fe7997bc6e Merge branch 'master' of github.com:bbatsov/prelude 2015-05-22 08:52:22 +03:00
Bozhidar Batsov
2b6615381d [Fix #827] Make it possible to disable the tips 2015-05-22 08:51:47 +03:00
Geoff Shannon
67cf26cbbd Don't open a file as root if it is owned by the current user
Fixes #839.

The reasoning behind this is that if we own a file, we can change it's
permissions with `chmod` so there's probably a good reason it's not
writable.
2015-05-16 13:36:11 -07:00
Geoff Shannon
cd9ea1edee Change how the "re-open file as root" functionality works
Fixes #850

Use find-file-hook instead of advising ido-find-file.
2015-05-16 12:47:09 -05:00
Geoff Shannon
61d45f8e6e Extract a function for reopening a file as root 2015-05-16 12:41:55 -05:00
Bozhidar Batsov
30fea6d9d6 Merge pull request #825 from pronobis/ad-handle-definition
Fixed the problem with ido/untabify defadvice triggering got redefined error
2015-04-17 00:04:40 +03:00
Swaroop
bcde6a59bd Add tip on keyboard shortcut for ace-jump-mode 2015-03-17 22:10:04 -07:00
Andrzej Pronobis
925ed507b1 Fixed the problem with ido/untabify defadvice triggering got redefined error 2015-03-12 20:26:20 -07:00
Swaroop C H
e3831fc993 Add tip on keyboard shortcut to open recent file 2015-03-09 00:04:03 -07:00
Swaroop C H
cdc4314081 Add Prelude tip on keyboard shortcut to join lines 2015-03-08 23:51:27 -07:00
Bozhidar Batsov
c2da437aa4 Update copyright years 2015-03-03 13:04:34 +02:00
Bozhidar Batsov
dc861b7c8b [Fix #798] Prompt for confirmation in prelude-kill-other-buffers 2015-02-13 09:53:07 +02:00
Bozhidar Batsov
c4e9a587c5 Require imenu for prelude-goto-symbol 2015-01-26 19:33:34 +02:00
k1-hedayati
37b72fb2f1 [Fix #764] Removed redundant command
`prelude-copy-file-name-to-clipboard` is redundant due to easy-kill package
2015-01-15 12:30:03 +03:30
Bozhidar Batsov
dc82375714 Update copyright years 2014-12-07 11:37:46 +02:00
Doug MacEachern
4517a2f594 Add prelude-term-buffer-name variable
This provides multi-term support via .dir-locals.el for example.
2014-11-14 16:40:00 -08:00
Bozhidar Batsov
3017a15150 Rename prelude-ido-goto-symbol to prelude-goto-symbol 2014-09-19 12:05:50 +03:00
Bozhidar Batsov
adb9ad3529 Remove redundant feature check 2014-09-19 12:03:26 +03:00
Bozhidar Batsov
8f06d26de2 [Fix #580] Preserve symbols order in prelude-ido-goto-symbol 2014-09-14 09:45:10 +03:00
Bozhidar Batsov
5644022e06 Clean up a bit prelude-ido-goto-symbol 2014-09-14 09:21:15 +03:00
Bozhidar Batsov
438c3e5bdf Move prelude-ido-goto-symbol to prelude-core 2014-09-14 09:13:16 +03:00
toctan
108adcdbc3 Fix prelude-open-with on gnu/linux/freebsd 2014-09-08 10:56:35 +08:00
toctan
933fed932f Fix prelude-open-with
Currently, `prelude-open-with` does not work with files whose name has a
space or non-ascii character in it. I guess `shell-quote-argument` is
not needed for `start-process`.

I also refactor the code a little bit, and since we dot not care about
the output of `open`, so I removed the buffer name passed to `start-process`
2014-09-04 23:37:24 +08:00
Aleksei Gusev
6f05616b60 Update documentation and tips for projectile keys 2014-08-24 10:17:47 +03:00
Tobias Adam
7bcfcf6b21 Remove two keybinding tips concerning Super
- <s-f> was removed in commit d49a8e9a16.
- <s-m> was removed in commit 0e1632868e.
2014-08-14 14:28:05 +02:00
Tobias Adam
6ab7ed461c Remove the documentation for the <s-g> keybinding
It was removed in commit d49a8e9a16 and it
is now bound to the god-local-mode command.
2014-08-14 12:47:15 +02:00
Tobias Adam
0a140202cb Remove the documentation for the <s-x> keybinding
It was removed in commit 0e1632868e and it
is now the standard kill-region command.
2014-08-14 12:43:58 +02:00
toctan
2d11c0bc4b A better prelude-view-url
- remove HTTP headers, what we care most of the time is the content
- `set-auto-mode` is way better than the naive xml, html tag check
2014-07-30 20:46:19 +08:00
toctan
2f22cb2684 Fix editing remote unwriteable file
With the original advice, if we try to find a not writeable file on a
remote machine, the extra tramp prefix would be inserted. As a result,
we actually end up in a blank new file.
2014-07-30 20:16:12 +08:00
Daniel Wu
6c337b21a0 fixed a bug in prelude-create-scratch-buffer 2014-07-25 08:03:13 -04:00
Jory Graham
e1f9016432 Use the phrase 'open a line' in both tips 2014-07-15 20:34:10 -04:00
toctan
4dab9a193a Respect initial-major-mode creating scratch buffer 2014-07-01 20:50:17 +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
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
toctan
0e75110769 Rename buffer not visiting files 2014-06-04 20:11:18 +08: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
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
db2dcb82e4 Merge pull request #525 from bixuanzju/2-commits-squashed
Simplify `prelude-annotate-todo`, make it evaporate when modified.
2014-05-26 09:44:37 +03:00
Tu Do
5bf38b05da Add operate-on-number
Replace prelude functions for increment and decrement of numbers.

Signed-off-by: Tu Do <tu.h.do@dektech.com.au>
2014-05-21 13:07:33 +07:00
Geoff Shannon
ab06782c9b Make prefix argument optional
It seems to be the general style of how prefix args are done...
2014-05-15 13:54:38 -07:00
Geoff Shannon
3896e421d0 Find user-init-file when given prefix arg 2014-05-15 13:48:24 -07:00
Geoff Shannon
c380a3f001 Update prelude-find-user-init-file docstring
To reference the variable that it actually pulls from now
2014-05-15 13:36:58 -07:00
Geoff Shannon
57ef5bb249 Add new prelude custom variable for user-init-file
This way the prelude-find-user-init-file can actually take you to a
useful file (instead of to init.el)
2014-05-15 13:36:57 -07:00
Daniel Wu
7f6969cc3b made prelude-open-with work in dired mode 2014-05-14 21:40:00 -04:00
Jeremy Bi
d82fc1f45f Simplify prelude-annotate-todo, make it evaporate when modified. 2014-04-27 23:46:08 +08:00
Zhitao Gong
5d8fd5c35a annotate TODO in comments 2014-04-19 15:28:37 -05:00