summaryrefslogtreecommitdiff
path: root/vim/notmuch.vim
AgeCommit message (Collapse)Author
2021-04-27Revert "Vim: Ensure that every queries respect excluded tags"David Bremner
This reverts commit 0998fa9a09387b622d770fc8c5f780a951b0cf2a. per id:CAMP44s2k+fthVXCS9R9kQRzzwWbnS7RAcKg1Q0m6q5Ybzdm71Q@mail.gmail.com
2021-04-26Vim: Ensure that every queries respect excluded tagsJules Aguillon
This makes sure that the bug solved by the previous commit won't happen again and remove some dupplication. This shouldn't have any side effect.
2021-04-26Vim: Respect excluded tags when showing a threadJules Aguillon
Other queries have exclude_tags taken into account but this one. This is annoying when using an excluded tag to ignore past messages from a thread (for example the 'deleted' tag), the entire thread is shown all the time.
2021-04-26vim: fix Mail 2.8.0 warningFelipe Contreras
Passing an unparsed header field to Mail::Field.new is deprecated and will be removed in Mail 2.8.0. Use Mail::Field.parse instead. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2015-01-23VIM: Improve performance of folders_renderFranz Fellner
Simply use query.count_[messages,threads] instead of actually running the query and using the count attribute of the result set.
2015-01-22VIM: Respect exclude_tags specified in .notmuch-configFranz Fellner
Exclude mails tagged with any tag specified in 'notmuch config get search.exclude_tags' in folders list and search list.
2014-10-21VIM: Make starting in 'insert' mode for compose optionalIan Main
This adds a variable to make starting in insert mode optional when composing and replying to emails. I found it unusual to be started in insert mode so I thought I'd make it optional as others may find this as well. Ian
2014-10-21VIM: Use notmuch CLI for configIan Main
This patch switches from reading .notmuch-config directly to using the CLI the same way that emacs does it. It actually uses less code and is probably less error prone. Ian
2014-05-03vim: improve the way messages are sentFelipe Contreras
We want the proper encoding and content-type to be set when sending the mail, but human-readable plain-text for composing. So split the code in two parts: the presentation and the transport conversion. This fixes an issue while sending non-ascii mails to strict servers; the mail needs to be encoded. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-05-03vim: make the html handler configurablePaul Roberts
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-05-03vim: fix count_threads variable checkFelipe Contreras
It never really worked; in Ruby only 'nil' and 'false' evaluate to false, therefore the statement '0 : true ? false' returns true, so it doesn't matter if notmuch_folders_count_threads = 0, count_threads would be true. We need to check specifically if the value is 1 or 0. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: check compose is done on deleteFelipe Contreras
Not on unload, which happens when we switch buffers. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: remove unnecessary buffer queueFelipe Contreras
Vim handles the buffers just fine: when one is deleted, we go to the previous one. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: add wrapper for old variable namesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: move default sets to set_defaults()Felipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: rename public notmuch_rb variablesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: rename internal notmuch_rb variablesFelipe Contreras
Now we are the official one. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: add option to compose new messagesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: refactor open_reply()Felipe Contreras
In preparation for composing new messages. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: trivial cleanupFelipe Contreras
Using $email_address is more straight forward. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: don't execute search if it's cancelledFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: generate custom message-idFelipe Contreras
Using Mail as a reference. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: split $email_addressFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: allow calling with argumentsFelipe Contreras
For example: :NotMuch date:today Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: add option to save the patches of a patch seriesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: use much clearer sort constantFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: show first message of the threadFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: refactor database handlingFelipe Contreras
To minimize memory usage we need to destroy the queries and the databases, so we should keep track of them. Each buffer gets a database connection that is destroyed when the buffer is destroyed, and all the queries along with it. Ideally notmuch should destroy the queries when the database is destroyed, but it's not doing that at the moment. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: use notmuch fieldsFelipe Contreras
They are better encoded than Ruby's Mail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: don't automatically refresh after taggingFelipe Contreras
This operation might take a while, and even if it only takes fractions of a second, that's not what the user might want. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: run mutt in default termCharlie Allom
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-06-02vim: use the old vim plugin function nameFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-06-02Add new notmuch vim pluginFelipe Contreras
The old one was not properly maintained and is now deprecated. The new one has much better support. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>