This came over with the sidebar patch, but I believe is only used by
the notmuch extension.
** .dd alpha (alphabetically)
** .dd count (all message count)
** .dd date
- ** .dd desc (description)
** .dd new (new message count)
** .dd size
** .dd unsorted
const struct mapping_t SortSidebarMethods[] = {
{ "alpha", SORT_PATH },
{ "count", SORT_COUNT },
- { "desc", SORT_DESC },
{ "flagged", SORT_FLAGGED },
{ "mailbox-order", SORT_ORDER },
{ "name", SORT_PATH },
short ssm = (SidebarSortMethod & SORT_MASK);
if ((ssm == SORT_COUNT) ||
(ssm == SORT_COUNT_NEW) ||
- (ssm == SORT_DESC) ||
(ssm == SORT_FLAGGED) ||
(ssm == SORT_PATH))
qsort (arr, arr_len, sizeof (*arr), cb_qsort_buffy);
}
/**
- * mutt_sb_set_open_buffy - Set the OpnBuffy based on a the global Context
+ * mutt_sb_set_open_buffy - Set the OpnBuffy based on the global Context
*
* Search through the list of mailboxes. If a BUFFY has a matching path, set
* OpnBuffy to it.
#define SORT_SPAM 14
#define SORT_COUNT 15
#define SORT_COUNT_NEW 16
-#define SORT_DESC 17
-#define SORT_FLAGGED 18
-#define SORT_PATH 19
+#define SORT_FLAGGED 17
+#define SORT_PATH 18
/* dgc: Sort & SortAux are shorts, so I'm bumping these bitflags up from
* bits 4 & 5 to bits 8 & 9 to make room for more sort keys in the future. */