summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-04-17 20:57:12 -0400
committerKyle Meyer <kyle@kyleam.com>2014-04-17 20:57:12 -0400
commit145e20ae59a539bd417f7ae18cd570e2c99a61d4 (patch)
treee63a798578cbd861b2e2e6e6daf65349abdc0d84 /lisp
parent759ee7b97064d797d769fb52e247e676854bd93a (diff)
downloademacs.d-145e20ae59a539bd417f7ae18cd570e2c99a61d4.tar.gz
Remove saved ibuffer groups
I don't think this has too much advantage over filtering and sorting on the fly, and it is a hassle to keep up-to-date.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-buffile.el59
1 files changed, 1 insertions, 58 deletions
diff --git a/lisp/init-buffile.el b/lisp/init-buffile.el
index 18f8273..8d4d81a 100644
--- a/lisp/init-buffile.el
+++ b/lisp/init-buffile.el
@@ -64,64 +64,7 @@ user."
;; Replace buffer-menu with ibuffer.
(global-set-key (kbd "C-x C-b") 'ibuffer)
-;; Modified from http://martinowen.net/blog/2010/02/tips-for-emacs-ibuffer.html
-;; and here http://www.elliotglaysher.org/emacs/.
-
-(setq ibuffer-saved-filter-groups
- '(("home"
- ("elisp" (mode . emacs-lisp-mode))
- ("org" (or (mode . org-mode)
- (name . "^\\*Org Agenda\\*$")
- (name . "^\\*Calendar\\*$")))
- ("web" (or (mode . html-mode)
- (mode . nxml-mode)
- (mode . css-mode)
- (mode . less-css-mode)))
- ("r" (or (mode . ess-mode)
- (mode . inferior-ess-mode)
- (name . "^\\*ESS\\*$")))
- ("markup" (or (mode . markdown-mode)
- (mode . rst-mode)))
- ("lua" (mode . lua-mode))
- ("perl" (mode . perl-mode))
- ("python" (or (mode . python-mode)
- (name . "^\\*Python")))
- ("haskell" (mode . haskell-mode))
- ("text" (mode . text-mode))
- ("shell" (mode . sh-mode))
- ("latex" (or (mode . latex-mode)
- (mode . LaTeX-mode)
- (mode . bibtex-mode)
- (mode . reftex-mode)))
- ("dir" (or (mode . dired-mode)
- (name . "^\\*tramp")))
- ("terminal" (or (mode . term-mode)
- (name . "^\\*Shell Command Output*")
- (name . "^\\*External terminal*")))
- ("packages" (or (name . "^\\*Compile-Log\\*")
- (name . "^\\*Packages\\*")))
- ("magit" (name . "^\\*magit"))
- ("emacs" (or (name . "^\\*scratch\\*$")
- (name . "^\\*Messages\\*$")))
- ("mail" (or (mode . message-mode)
- (mode . mail-mode)
- (mode . gnus-group-mode)
- (mode . gnus-summary-mode)
- (mode . gnus-article-mode)
- (mode . notmuch-search-mode)
- (mode . notmuch-show-mode)
- (name . "^\\*Mail sync\\*$")
- (name . "^\\*Gnus sync\\*$")
- (name . "^\\.newsrc-dribble")))
- ("help" (or (name . "^\\*Help\\*$")
- (name . "^\\*Apropos\\*$")
- (name . "^\\*info\\*$")
- (name . "^\\*Completions\\*"))))))
-
-(add-hook 'ibuffer-mode-hook
- '(lambda ()
- (ibuffer-auto-mode 1) ; Keep buffer list up-to-date.
- (ibuffer-switch-to-saved-filter-groups "home")))
+(ibuffer-auto-mode 1) ; Keep buffer list up-to-date.
(setq
;; Don't prompt to delete unmodified buffers.