Re: [PATCH v2] completion: complete bash completion rewrite

2013-03-29 Thread David Bremner
Jani Nikula j...@nikula.org writes: Rewrite the bash completion script to actually do something useful. Supported completions: * All the notmuch commands, command line arguments, and values for keyword arguments. It seems to do what it says on the box. The bash code look OK, although I'm

Re: [PATCH v2] lib: Fix name reordering to handle commas without spaces

2013-03-29 Thread David Bremner
Adam Wolfe Gordon awg+notm...@xvx.ca writes: Notmuch automatically re-orders names of the format Last, First to First Last when the associated email address is first.l...@example.com. But, if a name is of the format Last,First then notmuch will format the name as irst Last. Handle any number

Re: [PATCH 1/1] devel/STYLE: information how to enable standard pre-commit hook

2013-03-29 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: It is easier to enable git standard pre-commit hook, when the operation to do so is presented. Pushed. d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH 1/1] devel: add post-release tools news2wiki.pl and man-to-mdwn.pl

2013-03-29 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: After new notmuch release has been published the NEWS and manual pages have been updated using these 2 programs. Adding the tools to notmuch repository eases their use, adds more transparency to the process and gives more people chance to do the

Re: [PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string

2013-03-29 Thread David Bremner
da...@tethera.net writes: From: David Bremner brem...@debian.org This has two benefits: unified error handling, and avoiding tramp's hooking into shell-command-string. This seems to be a fix for id:874nguxbvq@tu-dortmund.de --- Simon: can you check if this fixes your bug? Anyone

Re: [PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string

2013-03-29 Thread Tomi Ollila
On Fri, Mar 29 2013, David Bremner da...@tethera.net wrote: da...@tethera.net writes: From: David Bremner brem...@debian.org This has two benefits: unified error handling, and avoiding tramp's hooking into shell-command-string. This seems to be a fix for id:874nguxbvq@tu-dortmund.de

Re: [PATCH v2 0/4] cli: notmuch tag --remove-all option

2013-03-29 Thread Tomi Ollila
On Sat, Mar 09 2013, Jani Nikula j...@nikula.org wrote: Rebased version of id:1a2c09adc1c963f1aa209c09143f85dca7634e11.1358876448.git.j...@nikula.org Jani Nikula (4): cli: make caller check tag count in parse_tag_command_line cli: add --remove-all option to notmuch tag man: document

Re: funcmail.py: generate notmuch-tags based on headers

2013-03-29 Thread Jameson Graef Rollins
On Fri, Mar 22 2013, Michal Vyskocil mvysko...@suse.cz wrote: because it seems that notmuch does not index all headers, I've written a simple, but quite usable tool, which goes through a maildir and generate an output for notmuch-tag --batch according a simple rules. I've borrowed the syntax

[PATCH 1/2] NEWS: bash completion

2013-03-29 Thread Jani Nikula
--- NEWS | 12 1 file changed, 12 insertions(+) diff --git a/NEWS b/NEWS index 530da31..c348068 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,18 @@ Command-Line Interface Deprecated commands part and search-tags are removed. +Bash command-line completion + + The notmuch

[PATCH 2/2] completion: update README about bash completion dependencies

2013-03-29 Thread Jani Nikula
--- completion/README | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/completion/README b/completion/README index 40a30e5..93f0f8b 100644 --- a/completion/README +++ b/completion/README @@ -3,8 +3,18 @@ notmuch completion This directory contains support

Re: Updated mutt wikipage, new addressbook script: notmuch-abook

2013-03-29 Thread Jani Nikula
On Thu, 28 Mar 2013, Guyzmo guyzmo+notm...@m0g.net wrote: ok, I updated the wiki, restoring nocmuch-mutt and created mutttips and vimtips pages while Thanks for doing this and improving notmuch documentation! BR, Jani. ___ notmuch mailing list

Re: Strange behavior on manually files moving

2013-03-29 Thread Jani Nikula
On Wed, 20 Mar 2013, keda...@gmail.com wrote: Hello, When I manually move some messages, these changes are detected by notmuch but it doesn't remove these files of its database. I think, it's more clear to show you an example: 1) Initialisation toto@compaq:~$ notmuch new No new

Re: [PATCH v4 06/12] test: add tests for insert

2013-03-29 Thread David Bremner
It took longer than I thought (of course) but I finally finished looking at the first 6 patches. I already mentioned a minor man page issue in a seperate message. I took a second pass through 03/12, and I think I would prefer thethe control flow of insert_message be closer to the standard

Re: [PATCH 2/2] cli: mime node: abstract decryption and signature verification

2013-03-29 Thread David Bremner
Jani Nikula j...@nikula.org writes: The code filled with #ifdef GMIME_ATLEAST_26 is difficult to read. Abstract the decryption and signature verification into functions, with separate implementations for GMime 2.4 and 2.6, to clarify the code. This series mostly looks OK, although it's a

Re: [PATCH v4 04/12] man: document 'insert' command

2013-03-29 Thread David Bremner
Peter Wang noval...@gmail.com writes: + +.B notmuch insert +reads a message from standard input +and delivers it to the specified maildir folder, +then incorporates the message into the notmuch database. +It is an alternative to using a separate tool to deliver +the message then running

Re: [PATCH v4 06/12] test: add tests for insert

2013-03-29 Thread Peter Wang
On Fri, 29 Mar 2013 19:59:56 -0400, David Bremner da...@tethera.net wrote: It took longer than I thought (of course) but I finally finished looking at the first 6 patches. I already mentioned a minor man page issue in a seperate message. I took a second pass through 03/12, and I think I

[PATCH v2] completion: complete bash completion rewrite

2013-03-29 Thread David Bremner
Jani Nikula writes: > Rewrite the bash completion script to actually do something > useful. Supported completions: > > * All the notmuch commands, command line arguments, and values for > keyword arguments. It seems to do what it says on the box. The bash code look OK, although I'm probably

[PATCH v2] lib: Fix name reordering to handle commas without spaces

2013-03-29 Thread David Bremner
Adam Wolfe Gordon writes: > Notmuch automatically re-orders names of the format "Last, First" to > "First Last" when the associated email address is > First.Last at example.com. But, if a name is of the format "Last,First" > then notmuch will format the name as "irst

[PATCH 1/1] devel: add post-release tools news2wiki.pl and man-to-mdwn.pl

2013-03-29 Thread David Bremner
Tomi Ollila writes: > After new notmuch release has been published the NEWS and manual > pages have been updated using these 2 programs. > > Adding the tools to notmuch repository eases their use, adds more > transparency to the "process" and gives more people chance to > do the updates is one

[RFC PATCH 1/3] cli: cosmetic style cleanup

2013-03-29 Thread David Bremner
This doesn't apply anymore. Also, the commit message could be a bit more specific. d

[PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string

2013-03-29 Thread David Bremner
david at tethera.net writes: > From: David Bremner > > This has two benefits: unified error handling, and avoiding tramp's > hooking into shell-command-string. > > This seems to be a fix for id:874nguxbvq.fsf at tu-dortmund.de > --- > > Simon: can you check if this fixes your bug? Anyone

[PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string

2013-03-29 Thread Tomi Ollila
On Fri, Mar 29 2013, David Bremner wrote: > david at tethera.net writes: > >> From: David Bremner >> >> This has two benefits: unified error handling, and avoiding tramp's >> hooking into shell-command-string. >> >> This seems to be a fix for id:874nguxbvq.fsf at tu-dortmund.de >> --- >> >>

[PATCH v2 0/4] cli: notmuch tag --remove-all option

2013-03-29 Thread Tomi Ollila
On Sat, Mar 09 2013, Jani Nikula wrote: > Rebased version of > id:1a2c09adc1c963f1aa209c09143f85dca7634e11.1358876448.git.jani at nikula.org > > Jani Nikula (4): > cli: make caller check tag count in parse_tag_command_line > cli: add --remove-all option to "notmuch tag" > man: document

funcmail.py: generate notmuch-tags based on headers

2013-03-29 Thread Jameson Graef Rollins
nature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130329/92b93ad9/attachment.pgp>

[PATCH 1/2] NEWS: bash completion

2013-03-29 Thread Jani Nikula
--- NEWS | 12 1 file changed, 12 insertions(+) diff --git a/NEWS b/NEWS index 530da31..c348068 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,18 @@ Command-Line Interface Deprecated commands "part" and "search-tags" are removed. +Bash command-line completion + + The notmuch

[PATCH 2/2] cli: mime node: abstract decryption and signature verification

2013-03-29 Thread David Bremner
Jani Nikula writes: > The code filled with #ifdef GMIME_ATLEAST_26 is difficult to > read. Abstract the decryption and signature verification into > functions, with separate implementations for GMime 2.4 and 2.6, to > clarify the code. This series mostly looks OK, although it's a challenge to

[PATCH v4 04/12] man: document 'insert' command

2013-03-29 Thread David Bremner
Peter Wang writes: > + > +.B notmuch insert > +reads a message from standard input > +and delivers it to the specified maildir folder, > +then incorporates the message into the notmuch database. > +It is an alternative to using a separate tool to deliver > +the message then running > +.B notmuch