aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* more endless toil with syntaxGravatar Bart Trojanowski2009-11-25
|
* fix after merge, --reverse replaced with --sort=Gravatar Bart Trojanowski2009-11-25
|
* crude order toggleGravatar Bart Trojanowski2009-11-25
|
* added search filteringGravatar Bart Trojanowski2009-11-25
|
* added support for archive commandGravatar Bart Trojanowski2009-11-25
|
* cleanup calls to script functions, use <SID>Gravatar Bart Trojanowski2009-11-25
|
* fix showing threadGravatar Bart Trojanowski2009-11-25
|
* added tagging and refresh to search screenGravatar Bart Trojanowski2009-11-25
|
* add dummy entries to search screen keymapGravatar Bart Trojanowski2009-11-25
|
* define keymap for show screen as a dictionaryGravatar Bart Trojanowski2009-11-25
|
* cleanup default handling codeGravatar Bart Trojanowski2009-11-25
|
* make search screen mappings configurable via dictionaryGravatar Bart Trojanowski2009-11-25
|
* make it possible to set config options from outside the scriptGravatar Bart Trojanowski2009-11-25
|
* toggle signatures and citations with s/c respectivelyGravatar Bart Trojanowski2009-11-25
|
* fix a corner case with folding a single line citationGravatar Bart Trojanowski2009-11-25
|
* added ^n to handle walking messagesGravatar Bart Trojanowski2009-11-25
|
* pretty colouring and folding for message showGravatar Bart Trojanowski2009-11-25
|
* parsing rewritten one more timeGravatar Bart Trojanowski2009-11-25
|
* completely rewritten show handlingGravatar Bart Trojanowski2009-11-25
|
* first attempt to fold the message nicelyGravatar Bart Trojanowski2009-11-25
|
* folding for citationsGravatar Bart Trojanowski2009-11-25
|
* naively fold all signaturesGravatar Bart Trojanowski2009-11-25
|
* grab all the pattern matchers from the emacs scriptGravatar Bart Trojanowski2009-11-25
|
* make <Enter> from search screen display the correct messageGravatar Bart Trojanowski2009-11-25
|
* updated READMEGravatar Bart Trojanowski2009-11-25
|
* add 's' binding to let you search for different termsGravatar Bart Trojanowski2009-11-25
|
* reverse order so that the latest is at topGravatar Bart Trojanowski2009-11-25
|
* READMEGravatar Bart Trojanowski2009-11-25
|
* simplify install with a MakefileGravatar Bart Trojanowski2009-11-25
|
* added syntax files for search and show screensGravatar Bart Trojanowski2009-11-25
|
* move from search to show with Enter, and back with qGravatar Bart Trojanowski2009-11-25
|
* primitive notmuch mail interface for vimGravatar Bart Trojanowski2009-11-25
|
* notmuch.el: Quote arguments to protect from shell interpretation.Gravatar Carl Worth2009-11-24
| | | | | | We want to allow the user to be able to use search expressions with parentheses and semi-colons, etc. and we definitely don't want the shell interpreting those!
* notmuch.el: Exceute "notmuch search" asynchronously.Gravatar Carl Worth2009-11-24
| | | | | | | | | | | Previously, our emacs interface was waiting for the "notmuch search" to complete before it would display anything. Now, we execute the process asyncrhonously and filter results as they come in. This takes advantage of the recent work to make "notmuch search" results stream out steadily. The result is that some search results will be available nearly instantly and the user can navigate and view those while additional results continue loading.
* Merge buttons-for-body-and-headers branch.Gravatar Carl Worth2009-11-24
|\ | | | | | | Thanks, Alexander!
| * Remove the global expand body keymappingGravatar Alexander Botero-Lowry2009-11-24
| | | | | | | | With local buttons done now, we don't need this anymore.
* | lib/messages.c: Make message searches stream as well.Gravatar Carl Worth2009-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xapian provides an interator-based interface to all search results. So it was natural to make notmuch_messages_t be iterator-based as well. Which we did originally. But we ran into a problem when we added two APIs, (_get_replies and _get_toplevel_messages), that want to return a messages iterator that's *not* based on a Xapian search result. My original compromise was to use notmuch_message_list_t as the basis for all returned messages iterators in the public interface. This had the problem of introducing extra latency at the beginning of a search for messages, (the call would block while iterating over all results from Xapian, converting to a message list). In this commit, we remove that initial conversion and instead provide two alternate implementations of notmuch_messages_t (one on top of a Xapian iterator and one on top of a message list). With this change, I tested a "notmuch search" returning *many* results as previously taking about 7 seconds before results started appearing, and now taking only 2 seconds.
| * Make bodies locally toggleableGravatar Alexander Botero-Lowry2009-11-24
| | | | | | | | | | | | | | | | | | | | | | | | Having actually implemented this, I realized that my initial approach of providing a function to configure a button was wrong. Instead I've replaced that with button types. This then makes it possible to provide the fully expanded view when all threads in a message are unread. It also has the potential to allow global-expansion functions if that is desireable
| * make a nice function for generating invisibility toggle buttonsGravatar Alexander Botero-Lowry2009-11-24
| | | | | | | | | | | | I realized I was replicating this code over and over again, so this way if I change my mind about something I only have to do it on one place.
| * cleanup a lot of left-overs from the global invisGravatar Alexander Botero-Lowry2009-11-24
| | | | | | | | | | Basically I'd left in a lot of the key-bindings and all the invisiblity spec variables so just rid the world of those
| * make headers locally expandable/collapsableGravatar Alexander Botero-Lowry2009-11-24
| | | | | | | | | | | | | | This is the same as with citations and signatures. I used an ellipsis here for the invisible region, which I think make it more obvious that there are extra headers. MH-e used this for extra long To/CC headers.
* | lib/query: Drop the first and max_messages arguments from search_messages.Gravatar Carl Worth2009-11-23
| | | | | | | | | | These only existed to support the chunky-searching hack, but that was recently dropped anyway.
* | lib/query: Fix notmuch_threads_t to stream results rather than blocking.Gravatar Carl Worth2009-11-23
| | | | | | | | | | | | | | | | | | | | | | Previously, notmuch_query_search_threads would do all the work, so the caller would block until all results were processed. Now, we do the work as we go, as the caller iterates with notmuch_threads_next. This means that once results start coming back from "notmuch search" they just keep continually streaming. There's still some initial blocking before the first results appear because the notmuch_messages_t object has the same bug (for now).
* | notmuch search: Remove the chunked-searching hack.Gravatar Carl Worth2009-11-23
|/ | | | | | | | | | | | | This was a poor workaround around the fact that the existing notmuch_threads_t object is implemented poorly. It's got a fine iterartor-based interface, but the implementation does all of the work up-front in _create rather than doing the work incrementally while iterating. So to start fixing this, first get rid of all the hacks we had working around this. This drops the --first and --max-threads options from the search command, (but hopefully nobody was using them anyway---notmuch.el certainly wasn't).
* notmuch.el: Add TAB and M-TAB buttons to move between buttons.Gravatar Carl Worth2009-11-23
| | | | | Thanks to Alexander Botero-Lowry for pointing out the interesting functions to use here. This functionality was really easy to add.
* Fix printing of literal '%' in help message.Gravatar Carl Worth2009-11-23
| | | | I suppose I could have just used puts instead...
* Make addresses case insensitive for the purpose of constructing replies.Gravatar Jed Brown2009-11-23
| | | | | | | | | | The domain is alway case insensitive, but in principle the username is case sensitive. Few systems actually enforce this so I think a good default is to treat the entire address as case insensitive, it will eliminate a lot of superfluous self-addressed messages and reply from the correct address in these cases. Signed-off-by: Jed Brown <jed@59A2.org>
* Stay out of tmp to respect the Maildir spec.Gravatar Jed Brown2009-11-23
|
* search : Extend "intial burst" optimization to return all results by chunksGravatar Carl Worth2009-11-23
| | | | | | | | | | | This way, the user gets a steady (but bursty) stream of reults. We double the chunk size each time since each successive chunk has to redo work from all previous chunks. Of course, the overall time is thereby slower, as the price we pay for increased responsiveness. With a search returning about 17000 thread results I measured a total time of 48.8 seconds before this change and 58.4 seconds afterwards.
* Add rudimentary date-based search.Gravatar Carl Worth2009-11-23
| | | | | | | | | | | | | The rudimentary aspect here is that the date ranges are specified with UNIX timestamp values (number of seconds since 1970-01-01 UTC). One thing that can help here is using the date program to determins timestamps, such as: $(date +%s -d 2009-10-01)..$(date +%s) Long-term, we'll probably need to do our own query parsing to be able to support directly-specified dates and also relative expressions like "since:'2 months ago'".