Re: [PATCH v3 0/3] Allow functions in notmuch-*-result-format

2021-09-08 Thread David Bremner
David Edmondson  writes:

> As well as allowing headers to be specified in the various result
> format lists, allow functions that can be used to implement per-user
> logic when generating the results.

applied to master, along with my followup patch with tests.
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH] emacs: notmuch-fcc-header-setup: fix regression

2021-09-08 Thread David Bremner
Jonas Bernoulli  writes:

> With [1: 16b2db09] we lost the (undocumented) option to use no Fcc
> header only for From addresses matching a regexp.  This brings back
> that feature and documents it.
>
> 1: 2021-01-15 16b2db0986ce0ed7c420a69d0a98bb41e9ca4bd8
>emacs: various cosmetic improvements

applied to master.

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH] NEWS: typo fix; some trailing periods

2021-09-08 Thread David Bremner
Tomi Ollila  writes:

> The trailing periods to smaller diff between devel/news2wiki.pl
> output and what has been pushed to notmuch-wiki.

applied to master, thanks

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: bug#50460: 27.1; defcustom for mail-user-agent is too strict?

2021-09-08 Thread Gregor Zattler
Hi David, Lars,
* Lars Ingebrigtsen  [2021-09-08; 08:56]:
> David Bremner  writes:
>
>> The defcustom for mail-user-agent looks like
>>
>> :type '(radio (function-item :tag "Message package"
>> :format "%t\n"
>> message-user-agent)
>> ;; [...] snip
>>  (function-item :tag "Message with full Gnus features"
>> :format "%t\n"
>> gnus-user-agent)
>>  (function :tag "Other"))
>>
>> This means that a symbol without a function definition cannot be set
>> (using customize) as mail-user-agent. This seem inconsistent with the
>> docstring of define-mail-user-agent,
>
> Yup.  Now fixed in Emacs 28.

thanks for the fast bug report and fixing.  I confirm it is
now possible to customize `mail-user-agent' to
`notmuch-user-agent' via `customize-variable'.


Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: bug#50460: 27.1; defcustom for mail-user-agent is too strict?

2021-09-08 Thread Lars Ingebrigtsen
David Bremner  writes:

> The defcustom for mail-user-agent looks like
>
> :type '(radio (function-item :tag "Message package"
>  :format "%t\n"
>  message-user-agent)
> ;; [...] snip   
>   (function-item :tag "Message with full Gnus features"
>  :format "%t\n"
>  gnus-user-agent)
>   (function :tag "Other"))
>
> This means that a symbol without a function definition cannot be set
> (using customize) as mail-user-agent. This seem inconsistent with the
> docstring of define-mail-user-agent, 

Yup.  Now fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org