From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qBxsJLXIuGCLzAAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 14:19:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mP3bH7XIuGAzZwAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 12:19:01 +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 D15B226285 for ; Thu, 3 Jun 2021 14:19:00 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 46A342B24C; Thu, 3 Jun 2021 08:18:55 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 2DF552B247 for ; Thu, 3 Jun 2021 08:18:52 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id D38205FD25; Thu, 3 Jun 2021 08:18:51 -0400 (EDT) Received: (nullmailer pid 992381 invoked by uid 1000); Thu, 03 Jun 2021 12:18:50 -0000 From: David Bremner To: Tomi Ollila , "Tory S. Anderson" , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: PATCH [1/2] mail user agent In-Reply-To: References: <87k0nuhfrk.fsf@toryanderson.com> <87pmxjt14b.fsf@tethera.net> <87zgwalbqc.fsf@tethera.net> Date: Thu, 03 Jun 2021 09:18:50 -0300 Message-ID: <87r1hjjg45.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: KMO4PJNWRUCVE3DQHW5LRK2BPRDILTBQ X-Message-ID-Hash: KMO4PJNWRUCVE3DQHW5LRK2BPRDILTBQ 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=1622722741; 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=WHuG4uq5BkaX1Z/3CxLdGTtxKgKZiAI1OOXJZPla/n8=; b=THqvp5cIpGFcaeHDa9s58FU/i1Ublj/jM4x8Yud2EMcpRR3D+vbfZlFOgGnccyNvQSRPk8 lOwxJ+gifDNQifanVcAMRnYXjBSFFdIetnU2wEVMv3FClIb38r04x5agVwosUnAl+l21A8 UPN+rqC/xM7G9Ry8GCzCnMAQE04MtqOzKU0XR/9t3aw69H/Lm+cJtMfELDjJrKZ1F9PKpT xjx/dWfF+KRPupAq7+TmsvZT3IWtux9StBwST4pNYWj3lT20dTxauy2QSdYC4Hlbar/+lU SXKO/sevr60KvSzOjPpPrVlw1QiW0EWJjEjYgpN0WK8H15yEuTKYnXe3kuBzhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622722741; a=rsa-sha256; cv=none; b=naFNqI6EZBwjGDt0hEgZXHuKSnixZ+GG4AgsA+tEIraYLxhgozKtf1U0ZrTowub0V+vQwN jXRHbgeV5RU6V1OasUZCOiId8fNExK21x9DesKnoawrUAYlgUatq81IkytxDnfqPynzfE4 2aQ5uxcwWrgAolvspt+WjQtT3LXCTAcFHKFZUlU5YnvAlmj1Ci5mr96xTAoELRcw+l4u9i OWEBylm7+O/sQog7ZcHlrCgMAfDcKKyzHp68ckMYMHH5QYKSlTSCk7qe5x3pYlFnDjmmYS n2hv2G5XjBiPmhZFRfBJLlOIrV9g/vXXHuMnV96PD3JA5hsZGdwUYdz8BN5LMg== ARC-Authentication-Results: i=1; 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-Spam-Score: -2.04 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: D15B226285 X-Spam-Score: -2.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: H/nYyOXWpK4D Tomi Ollila writes: > On Mon, May 31 2021, David Bremner wrote: > >> Tomi Ollila writes: >>> >>> 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). >>> >> >> Are you thinking about notmuch-mua-mail (which exists)? >> >> Tory, did you try the eval-after-load trick I mentioned btw? That seemed >> to work in my testing, and I'm just not sure that customizing a >> notmuch-* variable is much less annoying than adding an eval-after-load to >> reset the variable after notmuch messes with it. >> >> Still waiting for feedback from notmuch users that actually use M-x >> compose-mail or other similar generic entry points. > > Does anyone know how compose-mail behaves when one has loaded any other > emacs mua (mh, vm, gnus, mu, ...) ? > As far as I can tell vm: only locally binds mail-user-agent mh-e: used to have a setq mail-user-agent, removed in 2003-ish mu4e: documents how to set mail-user-agent rmail: reads mail-user-agent, but does not set gnus: only locally binds mail-user-agent wanderlust: tells you how how to set mail-user-agent (and oddly, how to define conditionaly define a user agent) So I think notmuch is the odd one out here.