From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ODvZOh8HqWC9LAEAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 15:29:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IIx8Nh8HqWBJXgAAbx9fmQ (envelope-from ) for ; Sat, 22 May 2021 13:29:03 +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 37E6B22B64 for ; Sat, 22 May 2021 15:29:03 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B2FD92AA08; Sat, 22 May 2021 09:28:56 -0400 (EDT) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [IPv6:2a0b:5c81:1c1::37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 975532A9CB for ; Sat, 22 May 2021 09:28:53 -0400 (EDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 466301B00101; Sat, 22 May 2021 16:28:48 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1621690128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V1++RCXw60AX9tgPIMjPU+yl2Xh0ppfo5ESWrU3xNmg=; b=d6x0cLQZFHaWmPxKNLdGxgx/Dz4Hc9o6fqQEgk+P4lg//0uYVpUPDcFvmyZb91h/h/NgKr wGywtee+h61IoPERJwyNfawmJJ7FcB4KpkWkYc725tbU8Azs8tMebz5FwaSisKl2bUOUzS +q4ZbzMWnp4nXxxvJwluhXNVd07dXqM3oPWwGz4yv7Y+kcOF1bryRokDa1aKyhjmwQZ/DT 3gYTYmSznLD6+V6oob/VOCbRTnWeFYinGEuSA+Y/84LU4uhpBTGMa6uPYD5jQFbkceIlSr DfvWWJk5V3cwVpqy7Jh6+CtMTG1PDCYHA1rQRig/1u0ayEbg6gHSPc0nIK4jdw== From: Tomi Ollila To: David Bremner , "Tory S. Anderson" , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: PATCH [1/2] mail user agent In-Reply-To: <87pmxjt14b.fsf@tethera.net> References: <87k0nuhfrk.fsf@toryanderson.com> <87pmxjt14b.fsf@tethera.net> User-Agent: Notmuch/0.32+21~gfdddd4c (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1621690128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V1++RCXw60AX9tgPIMjPU+yl2Xh0ppfo5ESWrU3xNmg=; b=dZhcbF/GK7rKwBQsWXsdYwD7/tasH4t0Ojs0jYo6SeifrGnuXy70kUuG3FRQmHEQYYY8au 1wZBdgWFKSXrkRj/GZWyfS1XfugRY99KTn5JI4Gznaiw8tVfHUT9M0P6R/KR7lpBjXHrKJ P1Xw6BAdG4IbZ8yEnCaBQhgHjgSqESMW642g6Ni+Zfc9wniqugMs0a7KoP44iIkh/NqeSB dULJsAGs3GBPYh1CNd6CNvSveF674Kle/HnvS8t+QvEB2HRuQ3lPziLAPeQn3eBws+PsZA mGJXkkOJ/k/eMKrJ4k2JG5OZ+uhg9H/4rO9aPCWbXgyd2rd1siTm7cTRsscJmQ== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1621690128; a=rsa-sha256; cv=none; b=M3Al7Yi7/weWYdtMVB2Qv7utUm2ft3w+W69joZIyMM5YQHgI36z6IXQqDtfLKnq8xjqyfh bzkPxAUyVVjHLrb2V8D8nwhbmZxTIvLlyC3dG6b1oTDnjIrGnc3XaHFeG4NGze/53EDFRN SuJ+x3rLYNbPI4TpuZDkatjPYTWHAWXDVXjQ5zYobXFxA/BMOYCGoBKZNFDonLak0cRkgj PmzrMSn/V5yViXq7ClLpemS+wapuEjG18rq2r3GyDET6+te3M4Z7wWiuJFz9pCpvG6VYHH IeX6m0ZDJ9rN0rhf/q9iJDLHh/skfai1xExlwck4+jS4V7O48r1WGIXdDXS0LA== Message-ID-Hash: EWJQESBQDGJOJEICAYBTVFW3L6BIDWNA X-Message-ID-Hash: EWJQESBQDGJOJEICAYBTVFW3L6BIDWNA X-MailFrom: tomi.ollila@iki.fi 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621690143; 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:dkim-signature; bh=RlYBO6EeCUpzChR9upCtm6GeeawZBaEkrAcNv167/es=; b=EYy5OGZ1ZELwClGJhADreW/ZuQWNtjHVMD9dfJjwSrCjCT7ZzEPWK4AT0K/tFo4O0hjLzK z8XNEDY9kSPWEiCR/Nkxi64kNdZ5qxG0vpkgxVDwfBvaJ1lYBny+lR9W4bbDcXSFneYBT8 vPftfmPPJ+3A0kG1Z8bKZa6kQkfAh9GsJztiIDb1A+3PVobL7m0Jh722jtXSpEZa/iK07c nENnF4K9YMzJ5t65S1AbeVo8TWa22C5ujpsgUO2Bn/K5956lWxTdaMhBGwFt/rzF3eNWcr GfLgiH6X4XrVsbjuFshY4fdhhoIUMwNIc9Hoc9rzvPkHgoM9k8P93+YKcmb5Hg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1621690143; a=rsa-sha256; cv=fail; b=XCfWL/Qtlq32rFsxN07an4pIHQ2zjqcSFQCE1zTwPNfuB0rluCV3sErFmFMeK+2ds46ZZf UBKgbPQizS4prZfwUJtGExWk9bSaKgPYWrfEeGiyGDkUz++dLPQ3NZDQO4154aMw1bE7et CVS9HpUInZDCxfrzE2utbX5EwwkazcPIQRs6ACcWV1WPFDR/rhQ1R5YCzui42p+2f8D38M +5YPtZdp5rOED0VfYQggqTZ2wwoLHvr5wLO2uL2zUIl1W8QZEtZQ8h+ObkGBp2jXTdn9qX HV1BT+6TVTYZCwW0bxJ+EK+IrJQFp+6nfDCMpwOtR7jKmOxTrYhrV4r6gXXA3g== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=d6x0cLQZ; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: 0.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=d6x0cLQZ; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: 37E6B22B64 X-Spam-Score: 0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: UqrWP6WhfZSw On Sat, May 22 2021, David Bremner wrote: > 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. I am for 'ripping the bandage off' and not configure mail-user-agent outside of notmuch use (and just require 'notmuch would not set anything...) Could we have some 'compose-mail' variant (different name, of course; I had one in mind but then came off-by one problem... >;) which configures mail-user-agent just for that use (or something). Tomi