unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: PATCH [1/2] mail user agent
@ 2021-05-19 16:03 Tory S. Anderson
  2021-05-22 12:16 ` David Bremner
  0 siblings, 1 reply; 9+ messages in thread
From: Tory S. Anderson @ 2021-05-19 16:03 UTC (permalink / raw)
  To: notmuch

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: patch --]
[-- Type: text/x-patch, Size: 1054 bytes --]

From 9a872e1b3b2b2231d1742fbc04cb366ab3b12b30 Mon Sep 17 00:00:00 2001
From: Tory Anderson <webdev@toryanderson.com>
Date: Wed, 19 May 2021 07:39:45 -0600
Subject: [PATCH 1/2] mail user agent

---
 emacs/notmuch.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 6d37c623..21a85656 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -121,6 +121,9 @@ there will be called at other points of notmuch execution."
   :group 'notmuch-search
   :group 'notmuch-hooks)

+(defcustom notmuch-mail-user-agent 'notmuch-user-agent
+  "The mail user-agent to use when creating mail after using Notmuch. For historical purposes, the default is 'notmuch-user-agent"
+  :group 'notmuch)
 ;;; Mime Utilities

 (defun notmuch-foreach-mime-part (function mm-handle)
@@ -1162,7 +1165,7 @@ Point should be at the beginning of the line."

 ;;; _

-(setq mail-user-agent 'notmuch-user-agent)
+(setq mail-user-agent notmuch-mail-user-agent)

 (provide 'notmuch)

--
2.31.1

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2021-06-03 18:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 16:03 [PATCH] emacs: PATCH [1/2] mail user agent Tory S. Anderson
2021-05-22 12:16 ` David Bremner
2021-05-22 13:28   ` Tomi Ollila
2021-05-22 15:38     ` Tory S. Anderson
2021-05-31 23:33     ` David Bremner
2021-06-02 19:10       ` Tomi Ollila
2021-06-03 12:18         ` David Bremner
2021-06-03 15:15           ` Tory S. Anderson
2021-06-03 18:22             ` 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).