Re: set sort_browser=reverse-date not useful for maildir
* Dale Woolridge [Sun, 09 May 2004 12:44:18 -0400]:
> http://www.mutt.ca/maildir-mtime.html
Thanks again for this patch, it's *so* useful! I'm gonna tell some
friends of mine who'll love it. ;-)
Just one little comment:
--- maildir-mtime/browser.c Sep 2003 13:03:25 -0000 3.9
+++ maildir-mtime/browser.c Feb 2004 13:19:42 -0000
@@ -304,4 +305,6 @@ folder_format_str (char *dest, size_t de
static void add_folder (MUTTMENU *m, struct browser_state *state,
- const char *name, const struct stat *s, int new)
+ const char *name, const struct stat *s, BUFFY *mbuf)
^^^^^
^^^^^
I got a compiler error (probably becaus of strict compiler options), since
later in the function appears this statement:
+ if (mbuf && mbuf->magic == M_MAILDIR && mbuf->mtime)
+ s->st_mtime = mbuf->mtime;
cheers,
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
I don't want to achieve immortality through my work. I want to achieve
immortality throguh not dying.
-- Woody Allen