aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-27correct message flag enum value so that it matches the typeBart Trojanowski
As per Carl's request, this patch corrects the only value defined under the notmuch_message_flag_t enum typedef to match the name of the type. Signed-off-by: Bart Trojanowski <bart@jukie.net>
2009-11-27Add some very rudimentary support for handling html partsAlexander Botero-Lowry
If there is an html mime-part in the message and it's the first part, it gets inlined using `mm-display-part' to convert it to plain text. The HTML content is still available as a non-text part as well.
2009-11-27add missing comma in debugging codeDavid Bremner
2009-11-27notmuch.el: Require message mode to avoid undefined function in replies.Eric Anholt
Otherwise, those without keithp's .emacs would end up with reply mode not being entered. Suggested by keithp.
2009-11-27Fix up whitespace styling from previous commit.Carl Worth
Function name in definition belong left-aligned. Body of if statement cannot be on the same line as the "if".
2009-11-27notmuch-new: Test if directory looks like Maildir before skipping tmp.Jan Janak
'notmuch new' skips directory entries with the name 'tmp'. This is to prevent notmuch from processing possibly incomplete Maildir messages stored in that directory. This patch attempts to refine the feature. If "tmp" entry is found, it first checks if the containing directory looks like a Maildir directory. This is done by searching for other common Maildir subdirectories. If they exist and if the entry "tmp" is a directory then it is skipped. Files and subdirectories with the name "tmp" that do not look like Maildir will still be processed by 'notmuch new'. Signed-off-by: Jan Janak <jan@ryngle.com>
2009-11-27Silence compiler warning by initializing a variable.Jeffrey C. Ollie
If Xapian threw an exception on notmuch_query_count_messages the count variable could be used uninitialized. Initialize count to solve the problem. Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
2009-11-27Merge remote branch 'jukie/vim'Carl Worth
2009-11-27notmuch-new: Fix notmuch new to look at files within symbolic linksAneesh Kumar K.V
We look at the modified time of the database and the directory to decide whether we need to look at only the subdirectories. ie, if directory modified time is < database modified time then we have already looking at all the files withing the directory. So we just need to iterate through the subdirectories But with symlinks we need to make sure we follow them even if the directory modified time is less than database modified time Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
2009-11-27notmuch-show: identify which messages printed matched the query stringBart Trojanowski
The show command outputs all messages in the threads that match the search-terms. This patch introduces a 'match:[01]' entry to the 'message{' line output by the show command. Value of 1 indicates that the message is matching the search expression. Signed-off-by: Bart Trojanowski <bart@jukie.net>
2009-11-27have _notmuch_thread_create mark which messages matched the queryBart Trojanowski
When _notmuch_thread_create() is given a query string, it can return more messages than just those matching the query. To distinguish those that matched the query expression, the MATCHING_SEARCH flag is set appropriately. Signed-off-by: Bart Trojanowski <bart@jukie.net>
2009-11-27message: add flags to notmuch_message_tBart Trojanowski
This patch allows for different flags, internal to notmuch, to be set on a message object. The patch does not define any such flags, just the facilities to manage these flags. Signed-off-by: Bart Trojanowski <bart@jukie.net>
2009-11-27reply --format=headers-only: set In-Reply-To header, with ID *last* in ReferencesJed Brown
Apparently this is actually the correct way to do it, it's silly to do it wrong just to conform to one of git's internal data structures.
2009-11-27notmuch-reply.c: implement notmuch_reply_format_headers_onlyJed Brown
This command only generates References, To, and Cc headers. The purpose is primarily for use in git send-email --notmuch id:<MESSAGE-ID> to get proper threading and address the relevant parties. Hooks for other SCMs may come later. Signed-off-by: Jed Brown <jed@59A2.org>
2009-11-27notmuch-reply.c: accept the --format=default default option.Jed Brown
This factors actual generation of the reply out of notmuch_reply_command into notmuch_reply_format_default(), in preparation for other --format= options. Signed-off-by: Jed Brown <jed@59A2.org>
2009-11-27vim: use <Space> more consistently in search viewBart Trojanowski
In search view <Space> will show the thead, but folding messages that don't match the current search expression. Conversly, <Enter> always shows all messages in the thread.
2009-11-27Merge remote branch 'origin/master' into vimBart Trojanowski
2009-11-27vim: make it possible to start a search in show modeBart Trojanowski
2009-11-27vim: don't toggle folds that are inside closed folds in show modeBart Trojanowski
2009-11-27vim: primitive reply to messageBart Trojanowski
2009-11-27vim: primitive reply to threadBart Trojanowski
2009-11-27vim: few compose mode updates, including READMEBart Trojanowski
2009-11-27vim: don't remove headers until after parsing themBart Trojanowski
2009-11-27vim: fix off-by-one error when removing header from message to send outBart Trojanowski
2009-11-27vim: generalize compose buffer function furtherBart Trojanowski
2009-11-27vim: have ,nmr just reload the plugin w/o restarting stateBart Trojanowski
2009-11-27vim: make it possible to replace NM_cobine_tags()Bart Trojanowski
2009-11-27vim: add a helper to combine tag search expressionsBart Trojanowski
2009-11-27vim: README updates and correctionsBart Trojanowski
2009-11-27vim: have '?' show search words in search modeBart Trojanowski
2009-11-27notmuch-search-add/remove-tag: restrict to messages in current queryJed Brown
Rather than tagging the everything in the thread. This is arguably more desirable behavior and is consistent with clearly desirably behavior of notmuch-search-operate-all. Note that this change applies indirectly to notmuch-search-archive-thread (which is actually equivalent behavior since this function is primarily used when browsing an inbox). Signed-off-by: Jed Brown <jed@59A2.org>
2009-11-27New function notmuch-search-operate-all: operate on all messages in the current query.Jed Brown
It is often convenient to change tags on several messages at once. This function applies any number of tag whitespace-delimited tag modifications to all messages matching the current query. I have bound this to `*'. Signed-off-by: Jed Brown <jed@59A2.org>
2009-11-27vim: cleanup error messagesBart Trojanowski
2009-11-27vim: fix regexp for cleaning search listBart Trojanowski
2009-11-27vim: force deleting buffersBart Trojanowski
2009-11-27vim: fix message parsing patternsBart Trojanowski
if a message did not contain a trailing CR, we may not be able to match ^\f
2009-11-27vim: implement sending with ,s from compose bufferBart Trojanowski
2009-11-27vim: store previous buffer number when starting to composeBart Trojanowski
2009-11-27vim: make sure headers begin with \wBart Trojanowski
2009-11-27vim: allow overriding how newBuffer is createdBart Trojanowski
2009-11-26vim: replace echo\nreturn with trhow in a few placesBart Trojanowski
2009-11-26vim: make insert in compose mode configurableBart Trojanowski
2009-11-26vim: add a helpful header to notmuch-compose modeBart Trojanowski
2009-11-26vim: syntax highlighting for notmuch-compose modeBart Trojanowski
2009-11-26vim: add support for <Tab> in compose modeBart Trojanowski
this will skip to the next header in insert and normal modes, and behave like <Tab> otherwise.
2009-11-26vim: add support for :NotMuch composeBart Trojanowski
... but it doesn't send yet.
2009-11-26vim: cleanup settings in newBuffer() and make them localBart Trojanowski
2009-11-26vim: add a line splitter that understands quotesBart Trojanowski
this makes it possible to tokenise expressions like :NotMuch compose 'subject: one two three' to:bart@jukie.net
2009-11-26vim: allow for different types of mappings not just normal mode onesBart Trojanowski
2009-11-26Return unpropertized strings for filename and message-idTassilo Horn