Your message dated Fri, 23 May 2014 11:37:34 -0700 (PDT) with message-id <[email protected]> and subject line Re: Bug#120054 has caused the Debian Bug report #120054, regarding emacs20-el: maildir support for display-time to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 120054: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=120054 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: emacs20-el Version: 20.7-10.1 Severity: wishlist I have a little hack to show when mail arrives in a maildir. There may be a better way to do this, but my way works. Just put the following in time.el: (defun directory-nonempty-p (dir) (> (length (directory-files dir)) 2)) (defun display-time-file-nonempty-p (file) (and (file-exists-p file) (if (file-directory-p file) (let ((cur (concat file "/cur"))) (if (file-directory-p cur) (or (directory-nonempty-p cur) (directory-nonempty-p (concat file "/new"))) (directory-nonempty-p file))) (< 0 (nth 7 (file-attributes (file-chase-links file))))))) Then, run (display-time) as normal. Note that this hack changes the definition of display-time-nonempty-p, and adds a cheap directory-nonempty-p. Thanks, -- System Information Debian Release: testing/unstable Kernel Version: Linux hugo 2.4.15-pre5 #1 Fri Nov 16 22:09:23 CST 2001 i686 unknown Versions of the packages emacs20-el depends on: ii emacs20 20.7-10.1 The GNU Emacs editor.
--- End Message ---
--- Begin Message ---Version: 22.1 Emacs 22.1 added the option display-time-mail-directory, and it seems to me that this would work for maildir. If you think something more is needed, I suggest opening a new report directly with upstream Emacs. Current Emacs version is 24.3.
--- End Message ---

