(setq ibuffer-saved-filter-groups '(("default" ("1" (mode . emacs-lisp-mode)) ("2" (or (mode . gnus-group-mode) (mode . gnus-summary-mode) (mode . gnus-article-mode) (mode . message-mode))) ("3" (or (mode . dired-mode) (mode . shell-mode) (mode . eshell-mode))) ("4" (or (name . "^\\*scratch\\*$") (name . "^\\*Messages\\*$"))) ("5" ((or (name . "^\\*gnus trace\\*$") (name . "^\\*imap log\\*$") (name . "^\\.newsrc-dribble$"))))))) (get-buffer-create ".newsrc-dribble") (get-buffer-create "*Compile-Log*") (get-buffer-create "*Completions*") (get-buffer-create "*Ibuffer*") (get-buffer-create "*Messages*") (get-buffer-create "*gnus trace*") (get-buffer-create "*imap log*") (get-buffer-create "*scratch*") (ibuffer) (ibuffer-switch-to-saved-filter-groups "default")