From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +Dn5H9APnWBryQAAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 13:38:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ABWTG9APnWD4TgAAB5/wlQ (envelope-from ) for ; Thu, 13 May 2021 11:38:56 +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 F10CDA861 for ; Thu, 13 May 2021 13:38:55 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C79FE2717B; Thu, 13 May 2021 07:38:51 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id AC2B22717A for ; Thu, 13 May 2021 07:38:48 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 7D00A60018; Thu, 13 May 2021 07:38:48 -0400 (EDT) Received: (nullmailer pid 1509414 invoked by uid 1000); Thu, 13 May 2021 11:38:46 -0000 From: David Bremner To: "Tory S. Anderson" , notmuch@notmuchmail.org Subject: Re: Emacs: prevent notmuch from tampering with message headers & settings In-Reply-To: <87bl9hkv3r.fsf@byu.edu> References: <87bl9hkv3r.fsf@byu.edu> X-List-To: notmuch Date: Thu, 13 May 2021 08:38:46 -0300 Message-ID: <87r1iaeud5.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: XCGCSH3U5UQKNENFTUQWDEK3RSOL3M5U X-Message-ID-Hash: XCGCSH3U5UQKNENFTUQWDEK3RSOL3M5U 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 CC: David Edmondson 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=1620905936; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=w0x7rg9VwVxt9kk+T67GHBF6NuWRbQj8jIbsNXbGn2k=; b=QGqkTMHlZFXcZsHgOKophpR4c3OUdKXr5duAPQj3dqYiHtLzT8X8YQZUMb0pNcpLRtgebo 6OZsQKTKd5bjXtOXmevX2VcCtHGdJbQaExl9dVwgsrvHFojLz4KPXV0du//CkgDItOaczb TB4skz/HVPfQdo/esup+NmEJxGCQTlfUpowdaFNu0A8wfS3k9VCkvyPfK40IgBdCON0hk1 9Bp6J1chBqCq1TqHcXQ7gkthmPdw/EC92zrKSWOmMBocwEE0IQo00vRgCvwwsAd1RuTkZQ 8lzVqx36lLm+2lWor6MlBv0V6k3ShvWW5hX4Bbtt+EtFKIveUbjdCI0On5S/Jw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620905936; a=rsa-sha256; cv=none; b=LcR9B833r9TjaV5Xpddf2Ct6LreB8mQ3fNVoJejZsFyHCiKlUnBsJG8huvxrZM2ElBOcfR swFH5fCAglWyIf8VJorknLHgAX1Mu6dO8nJTIBbkPZ/ypGfyFZ3wV64Roz/YBLMQsWsHiy FmAlRrP77/lph2AzNOkGnJDsj5jpCsprVrtJx1mzDsH7vLrIeZ0cInf2V89GrA86KDkgS/ lfJ77N9yCAQ3bY/u9o9d3YEt4SHWMlObkuJPT4kVO9GAV9wAwHiZm7D/MK7GjiPCkZzRrx 7ryo2jd93Nc7ptQGR3IDm1/6XNLfOivQylfHC0D+kSw/xhJIH1a5T15wVKQOnQ== 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: -0.54 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: F10CDA861 X-Spam-Score: -0.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: 89Pb7OplUUMA webdev@toryanderson.com (Tory S. Anderson) writes: > As an emacs user, I use notmuch for searching and indexing my mail, > and love it. The only problem is that every time I open a message in > notmuch, it overwrites my message configuration for sending mails. In > particular, it seems to change my headers, and my > completion-methods. I need to reset this every time right now. How can > I prevent Notmuch from messing with any of these? How are you sending mail? Do you end up in notmuch-message-mode (in the mode line it looks like Message[Notmuch])? I see that notmuch.el overrides mail-user-agent, which I guess maybe it shouldn't. For what it's worth, the code to do that is more than 10 years old. d