summaryrefslogtreecommitdiff
path: root/vim/plugin/notmuch.vim
AgeCommit message (Collapse)Author
2012-04-21vim: fix regex after "notmuch show" output changeJakob
The new field "excluded" was added to the output and made this regex fail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-16vim: fix citation/signature fold lengthsJason Woofenden
Before they'd often miss the last line Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-16vim: fix (hack) cig/cit parsing within multipart/*Jason Woofenden
The vim front-end isn't written to handle nested parts. This patch doesn't change that, it just changes the code to pretend that multipart/* sections end immediately. This makes the parsing code think that all sections are top-level, and are thus parsed well enough. The lovely result of this is that citation folds and signature folds now work in text/plain parts that are within multipart/* sections. Also, all mime section starts are now shown correctly (before some were not parsed and showed the ugly ^L and an ID and so on from notmuch.) Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-16vim: fix on-screen instructions for show-signatureJason Woofenden
Also change a passed parameter to be consistent with the current binding. This parameter appears to be unused. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-16vim: fix from list reformatting in search viewJason Woofenden
This patch rewrites the reformatting of the from list so it shows full capitalized names when available (without truncating them as the old code did) and removes the pipe characters that appear between some names. The old code appears to assume from list (the list of senders in the thread) coming from notmuch would be e-mail addresses, but in this version it is mostly full names. Also in this version, the names are sometimes separated by pipe instead of comma. For consistency with old versions, names are still truncated at the first period. Perhaps they shouldn't be though. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-16vim: fix space key: now archives (did opposite)Jason Woofenden
In vim, in the message view, space is supposed to remove the "unread" and "inbox" tags, but was sometimes adding them instead. This patch assures that they are always removed by this binding. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-16vim: use the full path for sendmailUwe Kleine-König
... as /usr/sbin isn't usually in user's PATH. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-16vim: skip trailing slash for g:notmuch_compose_temp_file_dirUwe Kleine-König
With the trailing slash I get Error detected while processing function <SNR>10_NM_new_mail..<SNR>10_NM_cmd_compose..<SNR>10_NM_newComposeBuffer..<SNR>10_NM_newFileBuffer: line 3: E739: Cannot create directory: /home/ukleinek/.notmuch/compose/ when hitting 'm' to compose a new mail. strace shows: stat("/home/ukleinek/.notmuch/compose/", 0x7fffee314a10) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch/compose/", 0x7fffee314e30) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch/compose", 0x7fffee315270) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 mkdir("/home/ukleinek/.notmuch/compose", 0755) = 0 mkdir("/home/ukleinek/.notmuch/compose/", 0755) = -1 EEXIST (File exists) so it seems vim's mkdir() isn't able to handle a trailing slash. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-06-23fix sum moar typos [error messages]Pieter Praet
Various typo fixes in error messages within the source code. Signed-off-by: Pieter Praet <pieter@praet.org> Edited-by: Carl Worth <cworth@cworth.org> Restricted to just error messages.
2011-06-23fix sum moar typos [comments in source code]Pieter Praet
Various typo fixes in comments within the source code. Signed-off-by: Pieter Praet <pieter@praet.org> Edited-by: Carl Worth <cworth@cworth.org> Restricted to just source-code comments, (and fixed fix of "descriptios" to "descriptors" rather than "descriptions").
2011-05-31vim: add delete commandsFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-31vim: add support for delete in search viewFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-31vim: add support to mark as read in search viewFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-31vim: add support to mark as read in show viewFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-04vim: parse 'from' addressFelipe Contreras
In order to pass it to sendmail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-04vim: use sendmail directlyFelipe Contreras
The problem with 'mailx' is that it's not standardized, and it doesn't allow the -f option, which is pretty important on many sendmail configurations. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-04vim: add myself (Felipe Contreras) as contributorFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-04vim: implement archive in show viewFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-04vim: refactor tagging stuffFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-01-26vim: Get user email address from notmuch config file.Peter John Hartman
Here's a bitty patch to the vim plugin; it now calculates the primary email of the user based on a call to notmuch config. There's still a lot of work that needs to get done on notmuch.vim, e.g., the ability to have multiple emails/accounts.
2010-11-08vim: run(): optimize non-debug pathFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-11-08vim: use mailx for sendingFelipe Contreras
Possilby used by more systems, and besides the code wasn't really working properly anyway. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-11-08vim: add option to mark as read + archiveFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-11-08vim: remove add_remove_tags_on_screen()Felipe Contreras
It's not working properly; the current message is jumping around and the tags not really added/removed properly. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-11-08vim: cleanup search bufferFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-11-08vim: add archive support from 'show'Felipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-04-15Fix typo in messageBen Gamari
2009-12-03vim: preserve the 'show everything' flag when finding next/prev bufferBart Trojanowski
When show mode is invoked it could be displaying just the matched messages or everything. This flag is passed to NM_search_show_thread(). It is then stored in a buffer variable, b:nm_show_everything, and used for subsequent calls to NM_search_show_thread() triggered by <Space>, <C-n> and <C-p>. Signed-off-by: Bart Trojanowski <bart@jukie.net>
2009-12-02vim: use notmuch show --entire-threadBart Trojanowski
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-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: have '?' show search words in search modeBart Trojanowski
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