unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: Add missing type and group to defcustom variable
@ 2019-04-15 13:35 Örjan Ekeberg
  2019-04-15 13:53 ` David Edmondson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Örjan Ekeberg @ 2019-04-15 13:35 UTC (permalink / raw)
  To: notmuch

Added the type 'regexp and group 'notmuch-send as properties to the
customizable variable notmuch-mua-attachment-regexp.
---
 emacs/notmuch-mua.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index 94fa19d7..7fdd76bc 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -121,7 +121,9 @@ 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
+  :group 'notmuch-send)
 
 ;;
 
-- 
2.20.1

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

* Re: [PATCH] emacs: Add missing type and group to defcustom variable
  2019-04-15 13:35 [PATCH] emacs: Add missing type and group to defcustom variable Örjan Ekeberg
@ 2019-04-15 13:53 ` David Edmondson
  2019-04-24  5:52 ` Daniel Kahn Gillmor
  2019-04-24 10:10 ` David Bremner
  2 siblings, 0 replies; 4+ messages in thread
From: David Edmondson @ 2019-04-15 13:53 UTC (permalink / raw)
  To: Örjan Ekeberg, notmuch

Obviously good.

On Monday, 2019-04-15 at 15:35:19 +02, Örjan Ekeberg wrote:

> Added the type 'regexp and group 'notmuch-send as properties to the
> customizable variable notmuch-mua-attachment-regexp.
> ---
>  emacs/notmuch-mua.el | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
> index 94fa19d7..7fdd76bc 100644
> --- a/emacs/notmuch-mua.el
> +++ b/emacs/notmuch-mua.el
> @@ -121,7 +121,9 @@ 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
> +  :group 'notmuch-send)
>  
>  ;;
>  
> -- 
> 2.20.1
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch

dme.
-- 
Please forgive me if I act a little strange, for I know not what I do.

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

* Re: [PATCH] emacs: Add missing type and group to defcustom variable
  2019-04-15 13:35 [PATCH] emacs: Add missing type and group to defcustom variable Örjan Ekeberg
  2019-04-15 13:53 ` David Edmondson
@ 2019-04-24  5:52 ` Daniel Kahn Gillmor
  2019-04-24 10:10 ` David Bremner
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Kahn Gillmor @ 2019-04-24  5:52 UTC (permalink / raw)
  To: Örjan Ekeberg, notmuch

On Mon 2019-04-15 15:35:19 +0200, Örjan Ekeberg wrote:
> Added the type 'regexp and group 'notmuch-send as properties to the
> customizable variable notmuch-mua-attachment-regexp.

This is clearly a good patch, and better than
id:20190420195359.23399-1-dkg@fifthhorseman.net which i'd sent to try to
address the same issue (Örjan adds both group and type, and i only added
type).

Tomi also reviewed my patch and said it was ok, i'm assuming that the
result would be the same on this one.  I think it should be merged.

Thanks, Örjan!

       --dkg

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

* Re: [PATCH] emacs: Add missing type and group to defcustom variable
  2019-04-15 13:35 [PATCH] emacs: Add missing type and group to defcustom variable Örjan Ekeberg
  2019-04-15 13:53 ` David Edmondson
  2019-04-24  5:52 ` Daniel Kahn Gillmor
@ 2019-04-24 10:10 ` David Bremner
  2 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2019-04-24 10:10 UTC (permalink / raw)
  To: Örjan Ekeberg, notmuch

Örjan Ekeberg <ekeberg@kth.se> writes:

> Added the type 'regexp and group 'notmuch-send as properties to the
> customizable variable notmuch-mua-attachment-regexp.

pushed,

d

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-15 13:35 [PATCH] emacs: Add missing type and group to defcustom variable Örjan Ekeberg
2019-04-15 13:53 ` David Edmondson
2019-04-24  5:52 ` Daniel Kahn Gillmor
2019-04-24 10:10 ` David Bremner

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).