[BUG] Minor: config list adds a semi-colon to lists with a single item until set

2017-11-17 Thread Ian
It seems on first config some settings are listed by "config list" with a semicolon suffix even if they are a single item. If they are subsequently set to another/the same single value they will then appear in config list WITHOUT the semicolon suffix. See output below. This is a very minor incon

gnus-alias integration bug

2014-04-07 Thread Ian Kelling
gnus-alias allows you to set your identity based on the headers in the message you are replying. This is an essential feature in a mail client for me, I want to automatically reply as the person an email was sent to for certain addresses. This does not work in notmuch. gnus sets the variable messag

failed to change from unread to read

2014-04-07 Thread Ian Kelling
I was reading a thread I got to from a folder: search, and in the thread was a message from a different maildir folder, and notmuch would not mark it as read like it did with normal messages. That one would just remain unread when I hit space on it. Not the right behavior imo. I've had generally g

Re: gnus-alias integration bug

2014-04-07 Thread Ian Kelling
and you have a higher version number than me? lol gnu aliases works, but not that part. - Ian ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH] Fix subject handling

2014-09-30 Thread Ian Main
I'm just starting to use notmuch so I'm not sure if this is the right way to fix this but this was erroring out so I changed it to what you see here which is working for me now. --- vim/notmuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vi

[PATCH] Make patch saving in vim a little better.

2014-09-30 Thread Ian Main
the thread. for some reason the toplevel messages didn't usually contain all the patches in my testing. - Check for 'Re:' at the beginning and skip if it's there. - Save patches to filesystem-safe filename containing the subject (unfortunately we use system()...)

[PATCH] VIM: Automatically refresh folder screen

2014-10-01 Thread Ian Main
This patch makes the folder screen refresh each time you 'enter' it. This way when you read a folder and mark items as read the changes are reflected immediately when you return to the folder view. Ian --- vim/notmuch.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/n

[PATCH] VIM: Automatically refresh folder screen

2014-10-01 Thread Ian Main
This patch makes the folder screen refresh each time you 'enter' it. This way when you read a folder and mark items as read the changes are reflected immediately when you return to the folder view. Ian --- vim/notmuch.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/n

[PATCH] VIM: Make starting in 'insert' mode for compose optional

2014-10-01 Thread Ian 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 --- vim/notmuch.vim | 13 +++-- 1 file changed, 11 inser

RE: [PATCH] Fix subject handling

2014-10-01 Thread Ian Main
Ian Main wrote: > I'm just starting to use notmuch so I'm not sure if this is the right > way to fix this but this was erroring out so I changed it to what you > see here which is working for me now. > --- > vim/notmuch.vim | 2 +- > 1 file changed, 1 insertion(+), 1 d

[PATCH] VIM: Add a 'tag all' folder option.

2014-10-01 Thread Ian Main
This adds the ability to mark an entire folder as read (or any other tags you like once you map it). Ian --- vim/notmuch.vim | 11 +++ 1 file changed, 11 insertions(+) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 331e930..3f2444b 100644 --- a/vim/notmuch.vim +++ b/vim

[PATCH] VIM v2: Add a 'tag all' folder option.

2014-10-01 Thread Ian Main
This adds the ability to mark an entire folder as read (or any other tags you like once you map it). This update adds documentation for the command. Ian --- vim/notmuch.txt | 1 + vim/notmuch.vim | 11 +++ 2 files changed, 12 insertions(+) diff --git a/vim/notmuch.txt b/vim

[PATCH] VIM: Add better attachment support

2014-10-02 Thread Ian Main
can use 'v' to 'view' the attachment using xdg-open by default. Ian --- vim/notmuch.txt | 8 +++- vim/notmuch.vim | 60 +++-- 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/vim/notmuch.txt b/vim/n

Re: notmuch-vim doesn't respect notmuch config defaults

2014-10-02 Thread Ian Main
he emacs client do it? I can make up a patch if this seems like the right way to go. Also, someone on IRC mentioned making it so config list could dump JSON which would make that more reasonable. Ian ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH] VIM: Add URI handling

2014-10-02 Thread Ian Main
#x27;s and will compose a new message when activated. By default xdg-open is used for everything but mailto: which generally does the right thing afaict. Ian --- vim/notmuch.txt | 1 + vim/notmuch.vim | 59 ++--- 2 files changed, 53 i

[PATCH] VIM: Use notmuch CLI for config

2014-10-02 Thread Ian 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 --- vim/notmuch.vim | 31 --- 1 file changed, 12 insertions(+), 19 deletions(-) diff

[PATCH v2] VIM: Use notmuch CLI for config

2014-10-02 Thread Ian 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 --- This update changes result to be '' instead of nil by default so missing config items won't cause

[PATCH] VIM: Better reply handling with multiple emails

2014-10-02 Thread Ian Main
that this is built on top of the config change patch. Ian --- vim/notmuch.vim | 57 - 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index b251af6..fbd0e21 100644 --- a/vim/notmuch.vim

Re: [PATCH v2] VIM: Use notmuch CLI for config

2014-10-03 Thread Ian Main
David Bremner wrote: > Ian Main writes: > > > 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 > > The g

RE: notmuch-vim doesn't respect notmuch config defaults

2014-10-03 Thread Ian Main
fore right? Doesn't the default notmuch setup set that for you? It wouldn't be too hard to change vim to use 'notmuch config list' to get its configuration information, but as mentioned a library would be much nicer. Anyone have any thoughts on this? How does the emacs client do

[PATCH] Improve moving between messages in a thread

2014-10-06 Thread Ian Main
This patch adds a few changes to moving between threads: - It supports 'scrolloff' so that if you have this set it will move the buffer and cursor so the next/prev email starts at the top of the screen. - It adds the ability to use shift-tab to go to the previous msg in the thread

RE: [PATCH] Improve moving between messages in a thread

2014-10-06 Thread Ian Main
Ian Main wrote: > This patch adds a few changes to moving between threads: > > - It supports 'scrolloff' so that if you have this set it will move the > buffer and cursor so the next/prev email starts at the top of the > screen. > - It adds the ability to use shi

[PATCH] VIM: Make an option to save sent mail locally

2014-10-06 Thread Ian Main
Add an option to use 'notmuch insert' to save your sent mail. --- vim/notmuch.vim | 17 + 1 file changed, 17 insertions(+) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 331e930..cb280c3 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -58,6 +58,7 @@ let s:notmuch_date_

[PATCH] VIM: Improve moving between messages in a thread

2014-10-06 Thread Ian Main
Add a few changes to moving between threads: - It supports 'scrolloff' so that if you have this set it will move the buffer and cursor so the next/prev email starts at the top of the screen. - It adds the ability to use shift-tab to go to the previous msg in the thread. Ian

[PATCH] VIM: Make an option to save sent mail locally

2014-10-06 Thread Ian Main
Add an option to use 'notmuch insert' to save your sent mail. --- Add -inbox as well. vim/notmuch.vim | 17 + 1 file changed, 17 insertions(+) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 331e930..a9044c4 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -58,6 +58,7

[PATCH] VIM: Improve search list

2014-10-06 Thread Ian Main
Make the width of the search name column expand/contract with the length of the longest search name string. Fix syntax highlighting to make the above work right. Add the ability to use a blank search pattern to create a spacer to break up searches into groups. --- vim/notmuch.txt

Re: [PATCH] VIM: Make an option to save sent mail locally

2014-10-06 Thread Ian Main
Tomi Ollila wrote: > On Mon, Oct 06 2014, Ian Main wrote: > > > Add an option to use 'notmuch insert' to save your sent mail. > > --- > > > > Add -inbox as well. > > > > vim/notmuch.vim | 17 + > > 1 file changed, 1

Re: [PATCH] VIM: Add better attachment support

2014-10-10 Thread Ian Main
uot;save to". It would be easy to add a filename prompt for saving a specific attachment. I can preload it with the default value and it'll just mean one more keystroke if that location is ok with you. Sound good? Ian ___ notmuch mailing l

Re: [PATCH] VIM: Add URI handling

2014-10-10 Thread Ian Main
> it should be fairly easy to add a custom scheme for id. I'm afraid I'm not sure what you mean by message id handling? It's probably something simple but .. :) Ian ___ notmuch mailing list notmuch@notmuchmail.org http://no

Re: [PATCH] VIM: Improve moving between messages in a thread

2014-10-10 Thread Ian Main
solution. Yeah I agree. This is a start anyway. As I use the vim client more my plan is to just keep fixing things that get in my way. Thanks for catching the vim_puts. :) Thanks for you're reviews!! Ian > On Mon, 6 Oct 2014 10:55:16 -0700, Ian Main wrote: > >

Re: [PATCH] VIM: Make an option to save sent mail locally

2014-10-14 Thread Ian Main
ht thing. > All in all the feature and the the rest of your work is very much > appreciated! > > Franz Thanks for the review Franz! I'll do another round of patch fixing soon I'm sure. Ian > On Mon, 6 Oct 2014 11:10:36 -0700, Ian Main wrote: > > Add an o

Re: [PATCH] VIM: Add URI handling

2014-10-15 Thread Ian Main
ithub plugin repo (I think)? I think It'd be nice to have this against the main repo and in its own thread. I can repost it for you if you like as I added it to mine, or you can do it if you prefer. Ian > Regards > Franz > > > diff --git a/plugin/notmuch.vim b/plugin/notm

notmuch vim patches

2014-10-15 Thread Ian Main
ful to get feedback here on what people think. I'm starting to realize that I could default to using 'enter' to both open URI's and view attachments. Any other ideas welcome. Ian ___ notmuch mailing list notmuch@notmuchmail.org

Re: notmuch vim patches

2014-10-16 Thread Ian Main
l work). Yeah I'm not sure how we would do that. I do remember the old email client for vim had some form of folding in the syntax file I think. That seem right? The other feature I'd like is to be able to view the full headers of an email. Ian ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: notmuch vim patches

2014-10-16 Thread Ian Main
ade me think we should be able to press 'a' (or whatever archive key) and have it archive and move to next unread. That seems to me to be a good behavior with a natural flow. Ian > - use proper buffers instead of Scratch buffers, so BufExplorer also > shows notmuch-vim buf

Re: notmuch vim patches

2014-10-17 Thread Ian Main
Franz Fellner wrote: > On Thu, 16 Oct 2014 15:30:11 -0700, Ian Main wrote: > > Franz Fellner wrote: > > > > > > > > > > I'm starting to realize that I could default to using 'enter' to both > > > > open URI's and view

Re: [PATCH] VIM: Add URI handling

2014-10-20 Thread Ian Main
Franz Fellner wrote: > On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main wrote: > > Franz Fellner wrote: > > > Here is a working implementation. > > > Please review carefully as I only can simulate ruby and vimscript > > > knowledge from what I see in notmuch.vim

Re: [PATCH v2] VIM: Use notmuch CLI for config

2014-10-20 Thread Ian Main
David Bremner wrote: > Ian Main writes: > > > 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 > > We&#x

[PATCH v2] VIM: Make an option to save sent mail locally

2014-10-20 Thread Ian Main
Add an option to use 'notmuch insert' to save your sent mail. --- This update changes the 'system' line and adds a sent mailbox option. vim/notmuch.vim | 22 ++ 1 file changed, 22 insertions(+) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 331e930..b0c6ebd 100644 ---

[PATCH v3] VIM: Improve moving between messages in a thread

2014-10-20 Thread Ian Main
Add a few changes to moving between threads: - It supports 'scrolloff' so that if you have this set it will move the buffer and cursor so the next/prev email starts at the top of the screen. - It adds the ability to use shift-tab to go to the previous msg in the thread. Ian -

RE: [PATCH] VIM: Respect exclude_tags specified in .notmuch-config

2014-10-20 Thread Ian Main
hat is the best way to fix this.. Ian Franz Fellner wrote: > commit 558719b9ea9c218117c448cf4c7bd671de14d968 > Author: Franz Fellner > Date: Fri Oct 17 17:53:58 2014 +0200 > > Exclude tags specified by > notmuch config get search.exclude_tags > > diff --

[PATCH v2] VIM: Make patch saving in vim a little better.

2014-10-20 Thread Ian Main
the thread. for some reason the toplevel messages didn't usually contain all the patches in my testing. - Check for 'Re:' at the beginning and skip if it's there. - Save patches to filesystem-safe filename containing the subject (unfortunately we use system()...) Ian --

RE: [PATCH] VIM: Respect exclude_tags specified in .notmuch-config

2014-10-20 Thread Ian Main
Franz Fellner wrote: > Ian Main wrote: > > > > Thanks Franz! > > > > So this works well in the main searches by not showing anything I have > > marked > > as 'spam'. However if I force a search for tag:spam and then try to view > >

[PATCH] VIM: Add better attachment support

2014-10-23 Thread Ian Main
se 'v' to 'view' the attachment/part using xdg-open by default. - If the message is 'text/html' we include a 'Part:' for the body of the message so you can easily view it in a web browser if you so choose.

[PATCH v2] VIM: Add URI handling

2014-10-23 Thread Ian Main
also supports mailto: URI's and will compose a new message when activated. By default xdg-open is used for everything but mailto: which generally does the right thing afaict. Note that this is now dependant on the attachment patch in order to make the nice 'enter' behavior work for

[PATCH] VIM: Fix header management and fold threads

2014-10-23 Thread Ian Main
(optional) ability to list threads using vim folding so that you can see at a glance the whole thread, which messages are new etc. Ian --- vim/notmuch.vim | 61 ++--- 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/vim/not

RE: Looking for the perfect mail client

2014-10-23 Thread Ian Main
ng similar. It's > strange that after so many years I'm still looking for the perfect mail > client. I wonder if you'd be willing to give the vim client a go. We've done a lot of work to it lately and I think it would handle all you listed here. Try the github

[PATCH v2] VIM: Fix header management and fold threads

2014-10-23 Thread Ian Main
(optional) ability to list threads using vim folding so that you can see at a glance the whole thread, which messages are new etc. Ian --- Fix a thinko where I was using the local variable name instead of the global. vim/notmuch.vim | 61 ++

RE: [PATCH] VIM: Automatically refresh folder screen

2014-10-24 Thread Ian Main
Can I get someone to test this one? It's pretty simple and useful. Ian Ian Main wrote: > This patch makes the folder screen refresh each time you 'enter' it. > This way when you read a folder and mark items as read the changes are > reflected immediately when you r

RE: [PATCH] VIM v2: Add a 'tag all' folder option.

2014-10-24 Thread Ian Main
This one is pretty straightforward and useful too. Ian Ian Main wrote: > This adds the ability to mark an entire folder as read (or any other > tags you like once you map it). > > This update adds documentation for the command. > > Ian > --- > vim/notmuch.txt |

Re: Looking for the perfect mail client

2014-10-24 Thread Ian Main
Sepp Tannhuber wrote: > Ian Main schrieb am 6:28 Freitag, 24.Oktober 2014: > > > I wonder if you'd be willing to give the vim client a go. We've done a lot > > of work to it lately and I think it would handle all you listed here. > For me, it's hard to get

[PATCH v3] VIM: Add URI handling

2014-10-24 Thread Ian Main
available. It also supports mailto: URI's and will compose a new message when activated. By default xdg-open is used for everything but mailto: which generally does the right thing afaict. Note that this is now dependant on the attachment patch in order to make the nice 'enter' behavi

[PATCH v4 2/2] VIM: Add URI handling

2014-10-24 Thread Ian Main
also supports mailto: URI's and will compose a new message when activated. By default xdg-open is used for everything but mailto: which generally does the right thing afaict. Note that this is now dependant on the attachment patch in order to make the nice 'enter' behavior work f

[PATCH v4 1/2] VIM: Add better attachment support

2014-10-24 Thread Ian Main
#x27; to 'view' the attachment/part using xdg-open by default. - If the message is 'text/html' we include a 'Part:' for the body of the message so you can easily view it in a web browser if you so choose. Ian --- - Fixed commit message - Fixed docum

Re: [PATCH v3] VIM: Add URI handling

2014-10-24 Thread Ian Main
Tomi Ollila wrote: > On Fri, Oct 24 2014, Ian Main wrote: > > This patch does not apply on top of notmuchmail master > (commit 38240d106139da8). > > > This patch adds URI handling to the vim client. You can now press > > Although insignificant, I'll star

Re: Looking for the perfect mail client

2014-10-24 Thread Ian Main
Sepp Tannhuber wrote: > Ian Main schrieb am 18:02 Freitag, 24.Oktober 2014: > > > Interesting, good feedback. Is it the usage that is difficult or setup? > Installation was not a problem for me although the files »notmuch.vim« and > »notmuch.txt« were not found by »make

Re: [PATCH v4 1/2] VIM: Add better attachment support

2014-10-27 Thread Ian Main
Tomi Ollila wrote: > On Fri, Oct 24 2014, Ian Main wrote: > > > Change how the notmuch vim client supports attachments: > > > > - For each message part a 'Part : ' is added to the > > header. > > - You can then use 'e' to extract the

Re: Looking for the perfect mail client

2014-10-27 Thread Ian Main
Sepp Tannhuber wrote: > Ian Main schrieb am 23:33 Freitag, 24.Oktober 2014: > > > https://github.com/imain/notmuch-vim/blob/master/doc/notmuch.txt > Aha, the documentation is in the doc directory. Makes sense. :-) > I'm sorry, I have ignored it. Perhaps you could refer to

[PATCH v2] VIM: Better reply handling with multiple emails

2014-10-27 Thread Ian Main
that this is built on top of the config change patch. Ian --- This update uses hashes to ensure no duplicate emails are inserted into the to/cc lists. It's also just a little easier to read. vim/notmuch.vim | 53 - 1 file change

[PATCH v3] VIM: Better reply handling with multiple emails

2014-10-27 Thread Ian Main
Fix reply handling when using multiple emails. This adds a config check for other_email and uses that information when formulating reply headers. It will strip out your own email addresses from the reply and set the From: to be an email of yours found in the original message. Ian --- Fix

Re: Looking for the perfect mail client

2014-10-27 Thread Ian Main
Sepp Tannhuber wrote: > Ian Main schrieb am 23:33 Freitag, 24.Oktober 2014: > > > https://github.com/imain/notmuch-vim/blob/master/doc/notmuch.txt > Aha, the documentation is in the doc directory. Makes sense. :-) > I'm sorry, I have ignored it. Perhaps you could refer to

Re: [DRAFT] New features in Vim interface

2015-01-17 Thread Ian Main
Bartosz Telenczuk wrote: > Dear David, > (CC Ian and Franz) > > > Before Christmas we had a flurry of patches from Ian Main (in copy). I > > think there is some functionality overlap with what you proposed. As far > > as I know Ian has mainly been working on

RE: [PATCH] VIM: Improve performance of folders_render

2015-01-23 Thread Ian Main
Yes, LGTM. This greatly improves performance of the startup screen. Ian Franz Fellner wrote: > Simply use query.count_[messages,threads] instead of actually running > the query and using the count attribute of the result set. > --- > vim/notmuch.vim | 2 +- > 1 file chang

gnus-alias integration bug

2014-04-07 Thread Ian Kelling
gnus-alias allows you to set your identity based on the headers in the message you are replying. This is an essential feature in a mail client for me, I want to automatically reply as the person an email was sent to for certain addresses. This does not work in notmuch. gnus sets the variable messag

failed to change from unread to read

2014-04-07 Thread Ian Kelling
I was reading a thread I got to from a folder: search, and in the thread was a message from a different maildir folder, and notmuch would not mark it as read like it did with normal messages. That one would just remain unread when I hit space on it. Not the right behavior imo. I've had generally g

gnus-alias integration bug

2014-04-07 Thread Ian Kelling
and you have a higher version number than me? lol gnu aliases works, but not that part. - Ian

[PATCH] Fix subject handling

2014-09-30 Thread Ian Main
I'm just starting to use notmuch so I'm not sure if this is the right way to fix this but this was erroring out so I changed it to what you see here which is working for me now. --- vim/notmuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vi

[PATCH] Make patch saving in vim a little better.

2014-09-30 Thread Ian Main
the thread. for some reason the toplevel messages didn't usually contain all the patches in my testing. - Check for 'Re:' at the beginning and skip if it's there. - Save patches to filesystem-safe filename containing the subject (unfortunately we use system()...)

[PATCH] VIM: Automatically refresh folder screen

2014-10-01 Thread Ian Main
This patch makes the folder screen refresh each time you 'enter' it. This way when you read a folder and mark items as read the changes are reflected immediately when you return to the folder view. Ian --- vim/notmuch.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/n

[PATCH] VIM: Automatically refresh folder screen

2014-10-01 Thread Ian Main
This patch makes the folder screen refresh each time you 'enter' it. This way when you read a folder and mark items as read the changes are reflected immediately when you return to the folder view. Ian --- vim/notmuch.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/n

[PATCH] VIM: Make starting in 'insert' mode for compose optional

2014-10-01 Thread Ian 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 --- vim/notmuch.vim | 13 +++-- 1 file changed, 11 inser

[PATCH] Fix subject handling

2014-10-01 Thread Ian Main
Ian Main wrote: > I'm just starting to use notmuch so I'm not sure if this is the right > way to fix this but this was erroring out so I changed it to what you > see here which is working for me now. > --- > vim/notmuch.vim | 2 +- > 1 file changed, 1 insertion(+), 1 d

[PATCH] VIM: Add a 'tag all' folder option.

2014-10-01 Thread Ian Main
This adds the ability to mark an entire folder as read (or any other tags you like once you map it). Ian --- vim/notmuch.vim | 11 +++ 1 file changed, 11 insertions(+) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 331e930..3f2444b 100644 --- a/vim/notmuch.vim +++ b/vim

[PATCH] VIM v2: Add a 'tag all' folder option.

2014-10-01 Thread Ian Main
This adds the ability to mark an entire folder as read (or any other tags you like once you map it). This update adds documentation for the command. Ian --- vim/notmuch.txt | 1 + vim/notmuch.vim | 11 +++ 2 files changed, 12 insertions(+) diff --git a/vim/notmuch.txt b/vim

[PATCH] VIM: Add better attachment support

2014-10-02 Thread Ian Main
can use 'v' to 'view' the attachment using xdg-open by default. Ian --- vim/notmuch.txt | 8 +++- vim/notmuch.vim | 60 +++-- 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/vim/notmuch.txt b/vim/n

notmuch-vim doesn't respect notmuch config defaults

2014-10-02 Thread Ian Main
he emacs client do it? I can make up a patch if this seems like the right way to go. Also, someone on IRC mentioned making it so config list could dump JSON which would make that more reasonable. Ian

[PATCH] VIM: Add URI handling

2014-10-02 Thread Ian Main
#x27;s and will compose a new message when activated. By default xdg-open is used for everything but mailto: which generally does the right thing afaict. Ian --- vim/notmuch.txt | 1 + vim/notmuch.vim | 59 ++--- 2 files changed, 53 i

[PATCH] VIM: Use notmuch CLI for config

2014-10-02 Thread Ian 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 --- vim/notmuch.vim | 31 --- 1 file changed, 12 insertions(+), 19 deletions(-) diff

[PATCH v2] VIM: Use notmuch CLI for config

2014-10-02 Thread Ian 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 --- This update changes result to be '' instead of nil by default so missing config items won't cause

[PATCH] VIM: Better reply handling with multiple emails

2014-10-02 Thread Ian Main
that this is built on top of the config change patch. Ian --- vim/notmuch.vim | 57 - 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index b251af6..fbd0e21 100644 --- a/vim/notmuch.vim

[PATCH v2] VIM: Use notmuch CLI for config

2014-10-03 Thread Ian Main
David Bremner wrote: > Ian Main writes: > > > 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 > > The g

notmuch-vim doesn't respect notmuch config defaults

2014-10-02 Thread Ian Main
fore right? Doesn't the default notmuch setup set that for you? It wouldn't be too hard to change vim to use 'notmuch config list' to get its configuration information, but as mentioned a library would be much nicer. Anyone have any thoughts on this? How does the emacs client do it? If the config list method is superior I'll write up a patch for it. Ian

[PATCH] Improve moving between messages in a thread

2014-10-06 Thread Ian Main
This patch adds a few changes to moving between threads: - It supports 'scrolloff' so that if you have this set it will move the buffer and cursor so the next/prev email starts at the top of the screen. - It adds the ability to use shift-tab to go to the previous msg in the thread

[PATCH] Improve moving between messages in a thread

2014-10-06 Thread Ian Main
Ian Main wrote: > This patch adds a few changes to moving between threads: > > - It supports 'scrolloff' so that if you have this set it will move the > buffer and cursor so the next/prev email starts at the top of the > screen. > - It adds the ability to use shi

[PATCH] VIM: Make an option to save sent mail locally

2014-10-06 Thread Ian Main
Add an option to use 'notmuch insert' to save your sent mail. --- vim/notmuch.vim | 17 + 1 file changed, 17 insertions(+) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 331e930..cb280c3 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -58,6 +58,7 @@ let s:notmuch_date_

[PATCH] VIM: Improve moving between messages in a thread

2014-10-06 Thread Ian Main
Add a few changes to moving between threads: - It supports 'scrolloff' so that if you have this set it will move the buffer and cursor so the next/prev email starts at the top of the screen. - It adds the ability to use shift-tab to go to the previous msg in the thread. Ian

[PATCH] VIM: Make an option to save sent mail locally

2014-10-06 Thread Ian Main
Add an option to use 'notmuch insert' to save your sent mail. --- Add -inbox as well. vim/notmuch.vim | 17 + 1 file changed, 17 insertions(+) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 331e930..a9044c4 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -58,6 +58,7

[PATCH] VIM: Improve search list

2014-10-06 Thread Ian Main
Make the width of the search name column expand/contract with the length of the longest search name string. Fix syntax highlighting to make the above work right. Add the ability to use a blank search pattern to create a spacer to break up searches into groups. --- vim/notmuch.txt

[PATCH] VIM: Make an option to save sent mail locally

2014-10-06 Thread Ian Main
Tomi Ollila wrote: > On Mon, Oct 06 2014, Ian Main wrote: > > > Add an option to use 'notmuch insert' to save your sent mail. > > --- > > > > Add -inbox as well. > > > > vim/notmuch.vim | 17 + > > 1 file changed, 1

[PATCH] VIM: Add better attachment support

2014-10-10 Thread Ian Main
uot;save to". It would be easy to add a filename prompt for saving a specific attachment. I can preload it with the default value and it'll just mean one more keystroke if that location is ok with you. Sound good? Ian

[PATCH] VIM: Add URI handling

2014-10-10 Thread Ian Main
> it should be fairly easy to add a custom scheme for id. I'm afraid I'm not sure what you mean by message id handling? It's probably something simple but .. :) Ian

[PATCH] VIM: Improve moving between messages in a thread

2014-10-10 Thread Ian Main
solution. Yeah I agree. This is a start anyway. As I use the vim client more my plan is to just keep fixing things that get in my way. Thanks for catching the vim_puts. :) Thanks for you're reviews!! Ian > On Mon, 6 Oct 2014 10:55:16 -0700, Ian Main wrote: > >

[PATCH] VIM: Make an option to save sent mail locally

2014-10-14 Thread Ian Main
ht thing. > All in all the feature and the the rest of your work is very much > appreciated! > > Franz Thanks for the review Franz! I'll do another round of patch fixing soon I'm sure. Ian > On Mon, 6 Oct 2014 11:10:36 -0700, Ian Main wrote: > > Add an o

[PATCH] VIM: Add URI handling

2014-10-15 Thread Ian Main
ithub plugin repo (I think)? I think It'd be nice to have this against the main repo and in its own thread. I can repost it for you if you like as I added it to mine, or you can do it if you prefer. Ian > Regards > Franz > > > diff --git a/plugin/notmuch.vim b/plugin/notm

notmuch vim patches

2014-10-15 Thread Ian Main
ful to get feedback here on what people think. I'm starting to realize that I could default to using 'enter' to both open URI's and view attachments. Any other ideas welcome. Ian

notmuch vim patches

2014-10-16 Thread Ian Main
l work). Yeah I'm not sure how we would do that. I do remember the old email client for vim had some form of folding in the syntax file I think. That seem right? The other feature I'd like is to be able to view the full headers of an email. Ian

notmuch vim patches

2014-10-16 Thread Ian Main
ade me think we should be able to press 'a' (or whatever archive key) and have it archive and move to next unread. That seems to me to be a good behavior with a natural flow. Ian > - use proper buffers instead of Scratch buffers, so BufExplorer also > shows notmuch-vim buf

notmuch vim patches

2014-10-17 Thread Ian Main
Franz Fellner wrote: > On Thu, 16 Oct 2014 15:30:11 -0700, Ian Main wrote: > > Franz Fellner wrote: > > > > > > > > > > I'm starting to realize that I could default to using 'enter' to both > > > > open URI's and view

[PATCH] VIM: Add URI handling

2014-10-20 Thread Ian Main
Franz Fellner wrote: > On Wed, 15 Oct 2014 12:33:55 -0700, Ian Main wrote: > > Franz Fellner wrote: > > > Here is a working implementation. > > > Please review carefully as I only can simulate ruby and vimscript > > > knowledge from what I see in notmuch.vim

[PATCH v2] VIM: Use notmuch CLI for config

2014-10-20 Thread Ian Main
David Bremner wrote: > Ian Main writes: > > > 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 > > We&#x

  1   2   >