| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2009-11-26 | notmuch.el: Use variable notmuch-search-oldest-first to decide the search order | Aneesh Kumar K.V | |
| Make sure we use notmuch-search-oldest-first to decide the how the search result should be displayed. This helps to set the value to nil and have latest mail shown first Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | |||
| 2009-11-26 | TODO: A read-only file in the mail store should be a warning, not an error. | Carl Worth | |
| It's a bug that processing currently stops when it hits a read-only file. This is yet another case we'll want our test suite to cover. | |||
| 2009-11-26 | notmuch.el: When removing tags, offer only those a msg/thread has set. | Jan Janak | |
| When removing a tag from a message or thread, build a completion buffer which contains only tags that the message or thread has really set. Signed-off-by: Jan Janak <jan@ryngle.com> | |||
| 2009-11-26 | search-tags: Add support for search-terms. | Jan Janak | |
| This patch adds support for search-terms to 'notmuch search-tags'. If no search-term is provided then the command returns a list of all tags from the database. If the user provides one or more search-terms as arguments then the command collects tags from matching messages only. This could be used by functions in the Emacs mode to further limit the list of tags offered for completion. For example, functions that remove tags from message(s) could offer only tags present in the message(s). Signed-off-by: Jan Janak <jan@ryngle.com> | |||
| 2009-11-26 | lib: New function to collect tags from a list of messages. | Jan Janak | |
| This patch adds a new function that can be used to collect a list of unique tags from a list of messages. 'notmuch search-tags' uses the function to get a list of tags from messages matching a search-term, but it has the potential to be used elsewhere so we put it in the lib. Signed-off-by: Jan Janak <jan@ryngle.com> | |||
| 2009-11-26 | notmuch.el: Select tag names with completion. | Jan Janak | |
| Several commands ask the user for a tag name. With this feature the user can just press tab and Emacs automatically retrieves the list of all existing tags from notmuch database with 'notmuch search-tags' and presents a completion buffer to the user. This feature is very useful for users who have a large number of tags because it saves typing and minimizes the risk of typos. Signed-off-by: Jan Janak <jan@ryngle.com> | |||
| 2009-11-26 | notmuch: New command 'search-tags'. | Jan Janak | |
| This is a new notmuch command that can be used to search for all tags found in the database. The resulting list is alphabetically sorted. The primary use-case for this new command is to provide the tag completion feature in Emacs (and other interfaces). Signed-off-by: Jan Janak <jan@ryngle.com> | |||
| 2009-11-26 | notmuch: New function to retrieve all tags from the database. | Jan Janak | |
| This patch adds a new function called notmuch_database_get_all_tags which can be used to obtain a list of all tags from the database (in other words, the list contains all tags from all messages). The function produces an alphabetically sorted list. To add support for the new function, we rip the guts off of notmuch_message_get_tags and put them in a new generic function called _notmuch_convert_tags. The generic function takes a Xapian::TermIterator as argument and uses the iterator to find tags. This makes the function usable with different Xapian objects. Function notmuch_message_get_tags is then reimplemented to call the generic function with message->doc.termlist_begin() as argument. Similarly, we implement notmuch_message_database_get_all_tags, the function calls the generic function with db->xapian_db->allterms_begin() as argument. Finally, notmuch_database_get_all_tags is exported through lib/notmuch.h Signed-off-by: Jan Janak <jan@ryngle.com> | |||
| 2009-11-25 | modify notmuch_setup_command to return 1 if config file write fails. | Jameson Graef Rollins | |
| This fixes a small bug in notmuch_setup_command such that it returned OK and output the setup message footer even if the config file write step failed. | |||
| 2009-11-25 | vim: fix a case where we started with :NotMuch search | Bart Trojanowski | |
| 2009-11-25 | vim: fix some error checking in NM_search_thread_id() | Bart Trojanowski | |
| 2009-11-25 | vim: removing debug statements | Bart Trojanowski | |
| 2009-11-25 | vim: Space archives/reads and advances to next message | Bart Trojanowski | |
| 2009-11-25 | vim: don't use scrolloff/sidesscrolloff in notmuch buffers | Bart Trojanowski | |
| 2009-11-25 | vim: refactor get_message_for_line out of show_message_id | Bart Trojanowski | |
| 2009-11-25 | vim: more cleanup and fixes for show_next/previous handlers | Bart Trojanowski | |
| 2009-11-25 | vim: allow show_next/previous to skip non-matching messages | Bart Trojanowski | |
| 2009-11-25 | vim: pass filter expression to add/remove tag functions | Bart Trojanowski | |
| 2009-11-25 | Testing. | Carl Worth | |
| 2009-11-25 | notmuch.el: Remove some dead code. | Carl Worth | |
| This was left over from before the switch to using a filter for processing the results of "notmuch search". | |||
| 2009-11-25 | vim: fold messages that don't match a query | Bart Trojanowski | |
| 2009-11-25 | Merge branch 'show-matching-flag' into HEAD | Bart Trojanowski | |
| 2009-11-25 | vim: return nothing instead of failting if there is no message id | Bart Trojanowski | |
| 2009-11-25 | vim: minor improvements to search screen syntax matching | Bart Trojanowski | |
| 2009-11-25 | vim: make timing info a debug option | Bart Trojanowski | |
| 2009-11-25 | vim: include stubs for Tab-ing thorugh folds in show view | Bart Trojanowski | |
| 2009-11-25 | vim: include search terms when showing message | Bart Trojanowski | |
| 2009-11-25 | vim: fix '?' command in message display | Bart Trojanowski | |
| 2009-11-25 | vim: fix shell escaping for () in search terms | Bart Trojanowski | |
| 2009-11-25 | vim: fix column formatting for >9 messages in search view | Bart Trojanowski | |
| 2009-11-25 | vim: preserve previous buffer number when refreshing search | Bart Trojanowski | |
| 2009-11-25 | vim: add git-diff.vim in README, make syntax work w/o the script | Bart Trojanowski | |
| 2009-11-25 | vim: cleanup tag filtering | Bart Trojanowski | |
| Given an existing search expression and a regular filter, the resulting search will be: EXISTING AND ( NEW ) With a tag filter each of the tags given will be prefixed with tag: and separated by AND. | |||
| 2009-11-25 | vim: cleanup a few minor glitches | Bart Trojanowski | |
| 2009-11-25 | vim: fix an error in the logic for finding message under cursor in show screen | Bart Trojanowski | |
| 2009-11-25 | vim: use ,s for editing search query | Bart Trojanowski | |
| (save 'S' for marking things as spam) | |||
| 2009-11-25 | vim: have ? show details of what's under cursor in search/show views | Bart Trojanowski | |
| 2009-11-25 | vim: ingore would-be-folds with line count of 1 or fewer | Bart Trojanowski | |
| 2009-11-25 | vim: added searching for word under cursor with ^] | Bart Trojanowski | |
| 2009-11-25 | vim: highlight []-blocks in search view | Bart Trojanowski | |
| 2009-11-25 | vim plugin: removed some dead code | Bart Trojanowski | |
| 2009-11-25 | vim: place ... more inteligently when shortening 'from' list in search | Bart Trojanowski | |
| 2009-11-25 | fix returning to folders after searching a few times | Bart Trojanowski | |
| 2009-11-25 | make searching, updates and returning to folder view work | Bart Trojanowski | |
| 2009-11-25 | add notmuch-folders support mode | Bart Trojanowski | |
| 2009-11-25 | remove some debug code from NM_cmd_search() | Bart Trojanowski | |
| 2009-11-25 | NM_show_prev() -> NM_show_previous() | Bart Trojanowski | |
| 2009-11-25 | correct fold line counts | Bart Trojanowski | |
| 2009-11-25 | keep the ,nmr hack around | Bart Trojanowski | |
| 2009-11-25 | clear the nmap before creating our bindings | Bart Trojanowski | |
