Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-20 Thread Jameson Graef Rollins
On Wed, Dec 20 2017, Jani Nikula wrote: > Matter of taste. I like the self-documenting aspect of *what* these > options control. --output=body is obvious, --body is less > so. --include-html includes html somewhere, I think --output=html would > be better. > > In the spirit of worse is better, I'l

Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-20 Thread Jani Nikula
On Tue, 19 Dec 2017, Jameson Graef Rollins wrote: > On Wed, Dec 20 2017, Jani Nikula wrote: >> ~$ notmuch address --output=sender --output=recipients --output=address >> --output=count id:878tdy8a2q@ligo.caltech.edu >> 1notmuch@notmuchmail.org >> 1jroll...@finestructure.net >> 1d

Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-19 Thread Jameson Graef Rollins
On Wed, Dec 20 2017, Jani Nikula wrote: > ~$ notmuch address --output=sender --output=recipients --output=address > --output=count id:878tdy8a2q@ligo.caltech.edu > 1 notmuch@notmuchmail.org > 1 jroll...@finestructure.net > 1 d...@fifthhorseman.net > 1 j...@nikula.org > > I pre

Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-19 Thread Jani Nikula
On Tue, 19 Dec 2017, Jameson Graef Rollins wrote: > On Tue, Dec 19 2017, Daniel Kahn Gillmor wrote: >> On Tue 2017-12-19 13:23:55 -0800, Jameson Graef Rollins wrote: >>> On Thu, Nov 02 2017, Jani Nikula wrote: The notmuch address output is much more useful for scripts with just the add

Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-19 Thread Jameson Graef Rollins
On Tue, Dec 19 2017, Daniel Kahn Gillmor wrote: > On Tue 2017-12-19 13:23:55 -0800, Jameson Graef Rollins wrote: >> On Thu, Nov 02 2017, Jani Nikula wrote: >>> The notmuch address output is much more useful for scripts with just >>> the addresses printed. Support this using the --output=address o

Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-19 Thread Daniel Kahn Gillmor
On Tue 2017-12-19 13:23:55 -0800, Jameson Graef Rollins wrote: > On Thu, Nov 02 2017, Jani Nikula wrote: >> The notmuch address output is much more useful for scripts with just >> the addresses printed. Support this using the --output=address option. > > Isn't "address" kind of orthogonal to "send

Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-19 Thread Jameson Graef Rollins
On Thu, Nov 02 2017, Jani Nikula wrote: > The notmuch address output is much more useful for scripts with just > the addresses printed. Support this using the --output=address option. Isn't "address" kind of orthogonal to "sender" and "recipient"? Isn't this more like the --output/--format disti

Re: [PATCH] cli: add support for only printing the addresses in notmuch address

2017-12-15 Thread David Bremner
Jani Nikula writes: > The notmuch address output is much more useful for scripts with just > the addresses printed. Support this using the --output=address option. pushed to master d ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail

[PATCH] cli: add support for only printing the addresses in notmuch address

2017-11-02 Thread Jani Nikula
The notmuch address output is much more useful for scripts with just the addresses printed. Support this using the --output=address option. --- completion/notmuch-completion.bash | 2 +- doc/man1/notmuch-address.rst | 7 ++- notmuch-search.c | 7 ++- test/T095-ad