1
我試圖修改alist ibuffer-saved-filter-groups。但是在我退出ibuffer並評估setq語句之後,當我運行M-x ibuffer時,ibuffer類別不會改變。只有當我徹底重新啓動emacs時纔會反映這些更改。如何在不重新啓動Emacs的情況下查看修改變量ibuffer-saved-filter-groups的結果?
即修改此列表,需要一個emacs的完整的重新啓動才能生效:
(setq ibuffer-saved-filter-groups
(quote (("default"
("Org" ;; all org-related buffers
(mode . org-mode)
(mode . ruby-mode))
("Mail"
(or ;; mail-related buffers
(mode . message-mode)
(mode . mail-mode)
;; etc.; all your mail related modes
))
("Emacs"
(or
(mode . emacs-lisp-mode)
))
("Scratch"
(or
(mode . lisp-interaction-mode)
))
("ERC" (mode . erc-mode))
("Consoles"
(mode . term-mode))
("Help" (or (name . "\*Help\*")
(name . "\*Apropos\*")
(name . "\*info\*")
(name . "\*Compile-Log\*")
(name . "\*Backtrace\*")
(name . "\*Messages\*")))))))
這不工作,我已更新我的問題,更多信息 – bneil 2013-04-28 14:28:11
已編輯。這應該現在工作... – thisirs 2013-04-30 12:57:10