unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: hint that notmuch-mua-attachment-regexp is a regular expression
@ 2019-04-20 19:53 Daniel Kahn Gillmor
  2019-04-22  9:33 ` Örjan Ekeberg
  2019-04-22 19:11 ` Tomi Ollila
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Kahn Gillmor @ 2019-04-20 19:53 UTC (permalink / raw)
  To: Notmuch Mail

Without this change, we see the following warnings during the build:

```
In toplevel form:
emacs/notmuch-mua.el:119:1:Warning: defcustom for
    ‘notmuch-mua-attachment-regexp’ fails to specify type
emacs/notmuch-mua.el:119:1:Warning: defcustom for
    ‘notmuch-mua-attachment-regexp’ fails to specify type
EMACS emacs/notmuch-show.elc
```
---
 emacs/notmuch-mua.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index 94fa19d7..b1a31034 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -121,7 +121,8 @@ multiple parts get a header."
   "Message body text indicating that an attachment is expected.
 
 This is not used unless `notmuch-mua-attachment-check' is added
-to `notmuch-mua-send-hook'.")
+to `notmuch-mua-send-hook'."
+  :type '(regexp))
 
 ;;
 
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] emacs: hint that notmuch-mua-attachment-regexp is a regular expression
  2019-04-20 19:53 [PATCH] emacs: hint that notmuch-mua-attachment-regexp is a regular expression Daniel Kahn Gillmor
@ 2019-04-22  9:33 ` Örjan Ekeberg
  2019-04-24  5:50   ` Daniel Kahn Gillmor
  2019-04-22 19:11 ` Tomi Ollila
  1 sibling, 1 reply; 4+ messages in thread
From: Örjan Ekeberg @ 2019-04-22  9:33 UTC (permalink / raw)
  To: Daniel Kahn Gillmor, Notmuch Mail

This addresses the same issue, and therefore overlaps with the patch
I submitted a week ago.
(id:20190415133519.4532-1-ekeberg@kth.se)

/Örjan


Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> Without this change, we see the following warnings during the build:
>
> ```
> In toplevel form:
> emacs/notmuch-mua.el:119:1:Warning: defcustom for
>     ‘notmuch-mua-attachment-regexp’ fails to specify type
> emacs/notmuch-mua.el:119:1:Warning: defcustom for
>     ‘notmuch-mua-attachment-regexp’ fails to specify type
> EMACS emacs/notmuch-show.elc
> ```
> ---
>  emacs/notmuch-mua.el | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
> index 94fa19d7..b1a31034 100644
> --- a/emacs/notmuch-mua.el
> +++ b/emacs/notmuch-mua.el
> @@ -121,7 +121,8 @@ multiple parts get a header."
>    "Message body text indicating that an attachment is expected.
>  
>  This is not used unless `notmuch-mua-attachment-check' is added
> -to `notmuch-mua-send-hook'.")
> +to `notmuch-mua-send-hook'."
> +  :type '(regexp))
>  
>  ;;
>  
> -- 
> 2.20.1
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] emacs: hint that notmuch-mua-attachment-regexp is a regular expression
  2019-04-20 19:53 [PATCH] emacs: hint that notmuch-mua-attachment-regexp is a regular expression Daniel Kahn Gillmor
  2019-04-22  9:33 ` Örjan Ekeberg
@ 2019-04-22 19:11 ` Tomi Ollila
  1 sibling, 0 replies; 4+ messages in thread
From: Tomi Ollila @ 2019-04-22 19:11 UTC (permalink / raw)
  To: Daniel Kahn Gillmor, Notmuch Mail

On Sat, Apr 20 2019, Daniel Kahn Gillmor wrote:

> Without this change, we see the following warnings during the build:
>
> ```
> In toplevel form:
> emacs/notmuch-mua.el:119:1:Warning: defcustom for
>     ‘notmuch-mua-attachment-regexp’ fails to specify type
> emacs/notmuch-mua.el:119:1:Warning: defcustom for
>     ‘notmuch-mua-attachment-regexp’ fails to specify type
> EMACS emacs/notmuch-show.elc
> ```

LGTM. works as advertised.

Tomi

> ---
>  emacs/notmuch-mua.el | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
> index 94fa19d7..b1a31034 100644
> --- a/emacs/notmuch-mua.el
> +++ b/emacs/notmuch-mua.el
> @@ -121,7 +121,8 @@ multiple parts get a header."
>    "Message body text indicating that an attachment is expected.
>  
>  This is not used unless `notmuch-mua-attachment-check' is added
> -to `notmuch-mua-send-hook'.")
> +to `notmuch-mua-send-hook'."
> +  :type '(regexp))
>  
>  ;;
>  
> -- 
> 2.20.1
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] emacs: hint that notmuch-mua-attachment-regexp is a regular expression
  2019-04-22  9:33 ` Örjan Ekeberg
@ 2019-04-24  5:50   ` Daniel Kahn Gillmor
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Kahn Gillmor @ 2019-04-24  5:50 UTC (permalink / raw)
  To: Örjan Ekeberg, Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

On Mon 2019-04-22 11:33:34 +0200, Örjan Ekeberg wrote:
> This addresses the same issue, and therefore overlaps with the patch
> I submitted a week ago.
> (id:20190415133519.4532-1-ekeberg@kth.se)

sorry, i'd missed your earlier patch!  i agree that your patch is
obviously better than mine, thanks for pointing it out again.

I've marked my patch with notmuch::obsolete, and marked yours with
notmuch::trivial and notmuch::patch, as i don't think it needs any more
review, and should be merged.

        --dkg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-24  5:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-20 19:53 [PATCH] emacs: hint that notmuch-mua-attachment-regexp is a regular expression Daniel Kahn Gillmor
2019-04-22  9:33 ` Örjan Ekeberg
2019-04-24  5:50   ` Daniel Kahn Gillmor
2019-04-22 19:11 ` Tomi Ollila

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).