[PATCH] Index Content-Type of attachments with a contenttype prefix

2015-01-09 Thread Todd
I wanted to tag messages with calendar invitations, but couldn't as the information wasn't indexed. This patch allows for queries for like: Find calendar invites - contenttype:text/calendar or contenttype:applicaton/ics Find any image attachments - contenttype:image Find all patches - contentty

[PATCH v2] emacs: Use the message cite variable

2015-01-09 Thread Todd
I checked in the Emacs 22.1 source code, and there it was a defaulted to message-cite-original as well. This patch falls back to message-cite-original in the unlikely case that someone has customized message-cite-function to nil. - Todd --- emacs/notmuch-mua.el | 6 +++--- 1 file changed, 3 ins

[PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Michal Sojka
On Fri, Jan 09 2015, Michal Sojka wrote: > On Fri, Jan 09 2015, Tomi Ollila wrote: >> On Fri, Jan 09 2015, Michal Sojka wrote: >> >>> Hi, >>> >>> sorry for longer response time :) >>> >>> On Thu, Jan 01 2015, Tomi Ollila wrote: On Wed, Dec 31 2014, David Bremner wrote: > Michal Sojk

[PATCH] Index Content-Type of attachments with a contenttype prefix

2015-01-09 Thread Todd
I wanted to tag messages with calendar invitations, but couldn't as the information wasn't indexed. This patch allows for queries for like: Find calendar invites - contenttype:text/calendar or contenttype:applicaton/ics Find any image attachments - contenttype:image Find all patches - contentty

[PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Michal Sojka
On Fri, Jan 09 2015, Tomi Ollila wrote: > On Fri, Jan 09 2015, Michal Sojka wrote: > >> Hi, >> >> sorry for longer response time :) >> >> On Thu, Jan 01 2015, Tomi Ollila wrote: >>> On Wed, Dec 31 2014, David Bremner wrote: >>> Michal Sojka writes: > This option allows to configure

[PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Tomi Ollila
On Fri, Jan 09 2015, Michal Sojka wrote: > Hi, > > sorry for longer response time :) > > On Thu, Jan 01 2015, Tomi Ollila wrote: >> On Wed, Dec 31 2014, David Bremner wrote: >> >>> Michal Sojka writes: >>> This option allows to configure the criterion for duplicate address filtering.

[PATCH] Use the message cite variable instead of a hard coded function

2015-01-09 Thread Tomi Ollila
On Fri, Jan 09 2015, Todd wrote: > It's defaulted to message-cite-original in Emacs 24, and may have been > back to Emacs 22.3 ("This variable was introduced, or its default value > was changed, in version 22.3 of Emacs."). > > I can re-work the patch to fall back to message-cite-original if it

[PATCH v2] emacs: Use the message cite variable

2015-01-09 Thread Todd
I checked in the Emacs 22.1 source code, and there it was a defaulted to message-cite-original as well. This patch falls back to message-cite-original in the unlikely case that someone has customized message-cite-function to nil. - Todd --- emacs/notmuch-mua.el | 6 +++--- 1 file changed, 3 ins

[PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Michal Sojka
Hi, sorry for longer response time :) On Thu, Jan 01 2015, Tomi Ollila wrote: > On Wed, Dec 31 2014, David Bremner wrote: > >> Michal Sojka writes: >> >>> This option allows to configure the criterion for duplicate address >>> filtering. Without this option, all unique combinations of name and

[PATCH] Use the message cite variable instead of a hard coded function

2015-01-09 Thread David Bremner
Todd writes: > @@ -233,7 +233,7 @@ list." > (set-mark (point)) > (goto-char start) > ;; Quote the original message according to the user's configured style. > - (message-cite-original))) > + (funcall message-cite-function))) > Hi Todd; Thanks for the patch. What happ

Re: [PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Michal Sojka
On Fri, Jan 09 2015, Michal Sojka wrote: > On Fri, Jan 09 2015, Tomi Ollila wrote: >> On Fri, Jan 09 2015, Michal Sojka wrote: >> >>> Hi, >>> >>> sorry for longer response time :) >>> >>> On Thu, Jan 01 2015, Tomi Ollila wrote: On Wed, Dec 31 2014, David Bremner wrote: > Michal Sojk

Re: [PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Michal Sojka
On Fri, Jan 09 2015, Tomi Ollila wrote: > On Fri, Jan 09 2015, Michal Sojka wrote: > >> Hi, >> >> sorry for longer response time :) >> >> On Thu, Jan 01 2015, Tomi Ollila wrote: >>> On Wed, Dec 31 2014, David Bremner wrote: >>> Michal Sojka writes: > This option allows to configure

[PATCH] Use the message cite variable instead of a hard coded function

2015-01-09 Thread Todd
It's defaulted to message-cite-original in Emacs 24, and may have been back to Emacs 22.3 ("This variable was introduced, or its default value was changed, in version 22.3 of Emacs."). I can re-work the patch to fall back to message-cite-original if it's been unset, if that's preferred. - Todd

Re: [PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Tomi Ollila
On Fri, Jan 09 2015, Michal Sojka wrote: > Hi, > > sorry for longer response time :) > > On Thu, Jan 01 2015, Tomi Ollila wrote: >> On Wed, Dec 31 2014, David Bremner wrote: >> >>> Michal Sojka writes: >>> This option allows to configure the criterion for duplicate address filtering.

Re: [PATCH] Use the message cite variable instead of a hard coded function

2015-01-09 Thread Tomi Ollila
On Fri, Jan 09 2015, Todd wrote: > It's defaulted to message-cite-original in Emacs 24, and may have been > back to Emacs 22.3 ("This variable was introduced, or its default value > was changed, in version 22.3 of Emacs."). > > I can re-work the patch to fall back to message-cite-original if it

Re: [PATCH v3 10/10] cli: address: Add --filter-by option to configure address filtering

2015-01-09 Thread Michal Sojka
Hi, sorry for longer response time :) On Thu, Jan 01 2015, Tomi Ollila wrote: > On Wed, Dec 31 2014, David Bremner wrote: > >> Michal Sojka writes: >> >>> This option allows to configure the criterion for duplicate address >>> filtering. Without this option, all unique combinations of name and

Re: [PATCH] Use the message cite variable instead of a hard coded function

2015-01-09 Thread Todd
It's defaulted to message-cite-original in Emacs 24, and may have been back to Emacs 22.3 ("This variable was introduced, or its default value was changed, in version 22.3 of Emacs."). I can re-work the patch to fall back to message-cite-original if it's been unset, if that's preferred. - Todd