我最近从 OpenSUSE 12.2/KDE 切换到 Fedora 19/Gnome;我的 .emacs 保持不变。特别是,我在 KDE 上使用 (display-time-mode 1),每当我的 Fetchmail 守护程序抓取新消息时,它都能很好地为我提供“邮件”更新。但是,现在在 Gnome 上,只有在我刚刚启动 emacs 或重新评估我的 .emacs 文件时才会收到 biff 通知。我在 emacs 和 emacsclient 中都试过了,似乎都不再自动提供 biff;我不确定发生了什么变化(emacs 版本可能不同,但为什么新版本会破坏这个?)。请帮忙!
来自.emacs的相关代码:
;; Clock & Biff display
(setq display-time-24hr-format t)
;; display-time-mode mail notification
(defface display-time-mail-face '((t (:background "red")))
"If display-time-use-mail-icon is non-nil, its background colour is that
of this face. Should be distinct from mode-line. Note that this does not seem
to affect display-time-mail-string as claimed.")
(setq
display-time-mail-file "/var/mail/torys"
display-time-use-mail-icon t
display-time-mail-face 'display-time-mail-face)
(display-time-mode 1)
GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.8.2) of 2013-08-14 on buildvm-15.phx2.fedoraproject.org