From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iAd9Khz2qGDvDQEAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 14:16:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4IAyJhz2qGDvbwAAB5/wlQ (envelope-from ) for ; Sat, 22 May 2021 12:16:28 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 EE9912993A for ; Sat, 22 May 2021 14:16:27 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4CC902A9E8; Sat, 22 May 2021 08:16:24 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9660F2A9E2 for ; Sat, 22 May 2021 08:16:21 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 784FF5FD25; Sat, 22 May 2021 08:16:21 -0400 (EDT) Received: (nullmailer pid 1529086 invoked by uid 1000); Sat, 22 May 2021 12:16:20 -0000 From: David Bremner To: "Tory S. Anderson" , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: PATCH [1/2] mail user agent In-Reply-To: <87k0nuhfrk.fsf@toryanderson.com> References: <87k0nuhfrk.fsf@toryanderson.com> Date: Sat, 22 May 2021 09:16:20 -0300 Message-ID: <87pmxjt14b.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: ATMSLIZXVFHE47QUXHHK6RLC7EFGM5XL X-Message-ID-Hash: ATMSLIZXVFHE47QUXHHK6RLC7EFGM5XL X-MailFrom: david@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=1621685788; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=LQGGwT4oZdBhXK4ZZyELqEDJiPEfs6IVyJPAVnnU1ik=; b=Ys53y7SWwkOHBFyJO2MqS9vsMZhxXxBoCKVLmVELdSs6p0dbJqo76KZaTB71Tx9Wm6HyqX Jl48oyDJPUIfsG+uUZRhTx7KWqexfpvkiQEQHAARvj/pbqSlFph4nk3CGFORMn2ApUugGP 51Xye6qX5AzlOI2vdbIEry/AeUFefdaHUnluFX8NNqtgz5Cwc0XbRsTXhbloGh5I2IbXgK 53TVGWHlXlLzScACb8sz4Nvl7pYI32Lh93zCXWJ4ok7eHGzO8cGx8C8/ORTXvbFiqu+X1E INBFNiZTHH5HuHa3GnMy6+Fr3E5YUiAp+EMuYl5D4IZ5KZnBmviUYBm+0AiWWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621685788; a=rsa-sha256; cv=none; b=B/xl2m4pogqB8+XqyD2NaTCDQqAjok1crgYJhPHvKyNjBKZklsHyuqiQRVVYbV9rNjPTIz 3fWTUPo2XvB6g6LauqG63KY1/kaxVUChH2DsodOY49HjTmb50sALxz3FZmCtZLSw0tLjx0 QuZGaCe74FJv4N/GjyOraDmoMM3X7j+l5njyobLU+eSe0Wjb+9ChQrQsQNxEBRe7x/CEwB M2IcvE3hDoHllCVa6a72zQa2l6ts6t+htZMXD2Ztwie4B86/NTR1EG0qMCJcyFrvmF9cWF FRcYEAkYBFvXq2VVW9Ek3UpPfpFw5PT+QpX0+28+Fn5EyX6TYnTPAsG1LUlahg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: EE9912993A X-Spam-Score: -2.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: HrrsxNrfXbHw webdev@toryanderson.com (Tory S. Anderson) writes: > > +(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) OK, I appreciate idea of a smooth upgrade for existing notmuch users. I wonder though if other emacs MUAs do this? I did not see e.g. a gnus-mail-user-agent variable. I'm probably biased because I never use compose-mail to send mail, but I'm wondering if we're better off to just rip the bandage off and let users who want to use notmuch via generic emacs mail sending commands configure that.