From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EHD0OhS2nWCtmQAAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 01:28:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MBu/NhS2nWBpJAAA1q6Kng (envelope-from ) for ; Thu, 13 May 2021 23:28:20 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A83FE17497 for ; Fri, 14 May 2021 01:28:20 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BF832271D4; Thu, 13 May 2021 19:28:17 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9DBC820017 for ; Thu, 13 May 2021 19:28:14 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 892B360018; Thu, 13 May 2021 19:28:14 -0400 (EDT) Received: (nullmailer pid 1727617 invoked by uid 1000); Thu, 13 May 2021 23:28:13 -0000 From: David Bremner To: notmuch@notmuchmail.org Cc: David Bremner Subject: [PATCH] emacs: do not unconditionally set mail-user-agent Date: Thu, 13 May 2021 20:28:07 -0300 Message-Id: <20210513232807.1727569-1-david@tethera.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Message-ID-Hash: UEG54LWMSSBVHPHERMTHLY5OKRJEFBQH X-Message-ID-Hash: UEG54LWMSSBVHPHERMTHLY5OKRJEFBQH X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620948500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+3hj04/wwVQrSe4oqec4WtDE5tBDFh7YH6puHR1RWT0=; b=s9f4J0XmxHHYwBLQb9QCoAYNUQetzWHt7kNOLOXOEEgE0lmTMreda58XP26MPUSy2lHIJm WFBjopVsN6sUofiwY2wkSVjt2rsCg0FHGvFcZY8w7EinC46TH0aXS9dc/cRDcQuZWrln3g 4qrFjVIrEsUlGQ29WZEAN78aaRbkZSFVPJ6HmOw+m6+LS1PVP4AeTOKvr1xQJCT/4mshiQ 30Ok2GgCWbcG5bZ/+Xp1YVbCguD9IglTxXFajiIl4GMsrO4j/Ybvk+OEumlVXFkyug0LkQ SOyNVzc22zMxlydtD82q2Uh1fjrKIWQc3gEk8ddPWVPhS64rg1nswl0pUs7erQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620948500; a=rsa-sha256; cv=none; b=XJ12cd6rWKwfb7AAUB3tAq0/0c+MnZFe2K7oL2fialSxeR/9JToZ0Hrl38w8Q7QNUIBJa0 rndRO7oSxLyQLYHz2zH14It4VJ0c46HLDr3MJy5B9tMXvWa/A33fMNkOzDPYop1e8sVB1u WN1gH2506Cqj3EI88yinaekLMUe5Oos0Yd16V/12QUdkAlaPwJs1+kQ26IAkof9zel/aV5 EOI/r68N8PV6slK3VeWsOhfGPxx+7rqLPjzCz5r9gWBHH+pe+qTjS5HQji1DTjSApsWlj2 I1tnOBF01yX00x7ph0S2ghwY2nrELKc5J3irOyHq7N3CUeIZvmkG9tweWuZUbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: A83FE17497 X-Spam-Score: -1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: AzEw9c3B/Pro 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