notmuch/lib
Carl Worth 3334865725 notmuch search: Change default search order to be newest messages first.
This is what most people want for a _search_ command. It's often
different for actually reading mail in an inbox, (where it makes more
sense to have results displayed in chronological order), but in such a
case, ther user is likely using an interface that can simply pass the
--sort=oldest-first option to "notmuch search".

Here we're also change the sort enum from NOTMUCH_SORT_DATE and
NOTMUCH_SORT_DATE_REVERSE to NOTMUCH_SORT_OLDEST_FIRST and
NOTMUCH_SORT_NEWEST_FIRST. Similarly we replace the --reverse option
to "notmuch search" with two options: --sort=oldest-first and
--sort=newest-first.

Finally, these changes are all tracked in the emacs interface, (which
has no change in its behavior).
2009-11-17 20:58:30 -08:00
..
database-private.h libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
database.cc database: Make _parse_message_id static once again. 2009-11-17 18:50:13 -08:00
index.cc Don't create "contact" terms in the database. 2009-11-12 09:38:24 -08:00
libsha1.c libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
libsha1.h libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
Makefile Use $(MAKE) when invoking make from make. 2009-11-12 22:00:51 -08:00
Makefile.local lib: Move notmuch_messages_t code from query.cc to new messages.c 2009-11-14 23:05:17 -08:00
message-file.c message_file_get_header: Use break where more clear than continue. 2009-11-17 18:37:45 -08:00
message.cc Fix "too many open files" bug by closing message files when done with them. 2009-11-17 18:37:13 -08:00
messages.c add_message: Don't add any self-references to the database. 2009-11-17 17:55:37 -08:00
notmuch-private.h database: Make _parse_message_id static once again. 2009-11-17 18:50:13 -08:00
notmuch.h notmuch search: Change default search order to be newest messages first. 2009-11-17 20:58:30 -08:00
query.cc notmuch search: Change default search order to be newest messages first. 2009-11-17 20:58:30 -08:00
sha1.c libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
tags.c notmuch_tags_advance: Make safe against excessive calls. 2009-11-14 23:02:55 -08:00
thread.cc notmuch search: Change default search order to be newest messages first. 2009-11-17 20:58:30 -08:00
xutil.c libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
xutil.h libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00