Re: [PATCH] emacs: do not unconditionally set mail-user-agent

2021-05-15 Thread David Bremner
web...@toryanderson.com (Tory S. Anderson) writes:

> I'm not familiar with how the git process goes here, since it's
> somewhat different than gitlab/github. Is there something I can do to
> apply this, or is there a separate notification for master, or should
> I subscribe to a different branch?

You'll need a checkout of the source, then you can apply that patch with
"git am".

I use roughly the following workflow

1) 'c i' in notmuch-show-mode to grab the message id

2) Switch to a terminal, run

   $ notmuch show --format=raw  | git am

If you do this often, then you may want to investigate the package
"mailscripts" by Sean Whitton that includes some utilities that smooth
out some of the rough edges.

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


Re: [PATCH] emacs: do not unconditionally set mail-user-agent

2021-05-14 Thread Tomi Ollila
On Thu, May 13 2021, David Bremner wrote:

> A user that loads notmuch.el does not necessarily want to user
> notmuch-message-mode to send mail.

If this does not break anything, could be point release content,
provided it did not ship yet (then to the next sailing ship...).

> ---
>  emacs/notmuch.el | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 6d37c623..3e2713e2 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -1162,8 +1162,6 @@ Point should be at the beginning of the line."
>  
>  ;;; _
>  
> -(setq mail-user-agent 'notmuch-user-agent)
> -
>  (provide 'notmuch)
>  
>  ;; After provide to avoid loops if notmuch was require'd via 
> notmuch-init-file.
> -- 
> 2.30.2
> ___
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-le...@notmuchmail.org
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


[PATCH] emacs: do not unconditionally set mail-user-agent

2021-05-13 Thread David Bremner
A user that loads notmuch.el does not necessarily want to user
notmuch-message-mode to send mail.
---
 emacs/notmuch.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 6d37c623..3e2713e2 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -1162,8 +1162,6 @@ Point should be at the beginning of the line."
 
 ;;; _
 
-(setq mail-user-agent 'notmuch-user-agent)
-
 (provide 'notmuch)
 
 ;; After provide to avoid loops if notmuch was require'd via notmuch-init-file.
-- 
2.30.2
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org