Commit graph

99 commits

Author SHA1 Message Date
Syohei YOSHIDA 526ffaaeca Fix non dotted pair element issue
Every element of auto-mode-list are not dotted pair. For example
.gpg, .gz etc. assoc-default returns list for such buffer names and
funcall raises error because it is not function.
2016-02-13 12:22:59 +09:00
Bozhidar Batsov ebd6e9d591 Update the copyright years 2016-01-31 08:44:18 +02:00
Bozhidar Batsov 0c4457e1c8 Remove duplicated line 2015-12-19 16:53:56 +02:00
toctan 2160bd34a5 [Fix #902] Fix kill-region advice 2015-09-10 16:30:30 +08:00
toctan 535e054208 [Fix #899] Make the kill-region advice play nice with rectangle-mark-mode 2015-09-06 13:57:15 +08:00
Jonas Bernoulli 5e487e5f85 Don't add COMMIT_EDITMSG to recentf-exclude
Loading `git-commit.el' now already does that.
2015-06-27 16:17:29 +02:00
Bozhidar Batsov 7a5e798d03 Track upstream changes in avy 2015-05-11 12:44:30 +03:00
Bozhidar Batsov b2947f2164 Replace ace-jump-mode with avy 2015-05-09 13:02:43 +03:00
Andrzej Pronobis 925ed507b1 Fixed the problem with ido/untabify defadvice triggering got redefined error 2015-03-12 20:26:20 -07:00
Bozhidar Batsov c2da437aa4 Update copyright years 2015-03-03 13:04:34 +02:00
Bozhidar Batsov 19f71e5937 [Fix #813] Add missing smartrep require 2015-02-22 20:25:34 +02:00
roryk 63687ccb10 autosave undo history 2014-12-30 12:31:18 -05:00
Bozhidar Batsov 76c2e99070 Merge pull request #761 from k1-hedayati/restore-kill-region-defadvice
[Fix #623] Restored kill-region defadvice
2014-12-22 09:10:26 +02:00
Bozhidar Batsov f19aeda388 Merge pull request #762 from k1-hedayati/remove-ack
[Close #547] Removed ack-and-a-half from prelude
2014-12-22 09:09:42 +02:00
Keyvan Hedayati bd97b03872 [Close #547] Removed ack-and-a-half from prelude 2014-12-22 10:29:49 +03:30
Keyvan Hedayati daf52c2b0a [Fix #623] Restored kill-region defadvice
When no region selected `C-w` kills current line
2014-12-22 09:53:12 +03:30
Bozhidar Batsov dc82375714 Update copyright years 2014-12-07 11:37:46 +02:00
lexa 8c55c6f4bb Added helper to open file with emacsclient using filename:line path
Most of console-based utilities prints filename in format
"filename:linenumber". So you may wish to open filename in that format.
This little 'advice' can do that. Just call

emacsclient filename:linenumber

and cursor will be positioned on requested line
2014-11-30 22:18:25 +03:00
Fanael Linithien 502b82eb52 Tell savehist to actually save "search-ring"…
…instead of "search" and "ring".
2014-09-09 19:18:20 +02:00
Bozhidar Batsov 35c0937784 Use anzu for query-replace 2014-08-28 18:40:43 +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 fa40fc8a7e [Fix #604] Save only the current buffer on focus lost 2014-07-14 18:54:49 +03: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
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
toctan ba2272a690 Prefer advice over remap exchange-point-and-mark 2014-06-08 13:18:06 +08: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
toctan 93d73e0f93 Newline at end of file 2014-05-27 00:05:29 +08:00
Bozhidar Batsov 94a0dde302 Code style 2014-05-25 14:02:48 +03:00
Bozhidar Batsov 381dc28439 Exclude magit's commit message files in recentf 2014-05-25 14:00:10 +03:00
Bozhidar Batsov cc5a2ed2dd Merge pull request #532 from tatsuhirosatou/fixTrampRecentf
Fixes bbatsov/prelude#528
2014-05-21 09:33:03 +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 5ffa4bb187 Pull Prelude's custom variables into a new file
This is so we can define a custom variable to use in prelude-core
2014-05-15 13:36:57 -07:00
Gabriel J. Pérez Irizarry 055ce06b38 Fixes bbatsov/prelude#528 2014-05-09 12:07:55 -04:00
Bozhidar Batsov 0c93a1c542 Ignore in recentf all files from the elpa dir and the savefile dir 2014-04-30 12:46:32 +03:00
Bozhidar Batsov e7d9555bc3 Remove a couple of kill-related advices
Those are made redundant by the awesome easy-kill.
2014-04-19 15:05:09 +03:00
Bozhidar Batsov b51eeff933 Colorize compilation buffers out-of-the-box 2014-04-19 10:29:14 +03:00
Bozhidar Batsov 41da475ed4 Save all buffers on focus lost 2014-04-14 17:54:13 +03:00
Bozhidar Batsov 244fe33296 Merge branch 'master' of github.com:bbatsov/prelude
Conflicts:
	core/prelude-editor.el
2014-04-14 17:41:16 +03:00
Bozhidar Batsov 5538bb77b9 Add diff-hl package 2014-04-14 17:40:34 +03:00
Bozhidar Batsov f5092b31fd Add the easy-kill package 2014-04-12 17:47:06 +03:00
Bozhidar Batsov c9b6b8a76c Don't mess with Projectile's modeline text 2014-03-10 11:58:31 +02:00
Bozhidar Batsov 86ba702f48 Enable browse-kill-ring's default keybindings 2013-12-14 11:06:53 +02:00
Bozhidar Batsov 654e4eb463 Add browse-kill-ring package 2013-12-11 11:50:32 +02:00
Bozhidar Batsov d54d3956fd Improve tab's behavior
It now does both indentation and completion (when supported)
2013-12-07 09:40:05 +02:00
Bozhidar Batsov 8217618525 Simplify sexp wrapping code 2013-12-07 09:14:44 +02:00
Bozhidar Batsov 150ac9e510 [Fix #433] Disable problematic binding M-[ 2013-12-07 08:45:05 +02:00
Bozhidar Batsov 3cdb7f32ad [Fix #447] Extract ido config into a module
This should make it simpler to disable ido completely if you want to use
an alternative library (like `icomplete` or `icicles` for instance).
2013-12-06 17:10:04 +02:00
Bozhidar Batsov dae1e4d1bc Some minor changes in yank-pop 2013-11-19 12:02:36 +02:00