From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kAOqF41ZnWCUYwEAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 18:53:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IFFJE41ZnWBkHQAA1q6Kng (envelope-from ) for ; Thu, 13 May 2021 16:53:33 +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 626C319833 for ; Thu, 13 May 2021 18:53:32 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D649327185; Thu, 13 May 2021 12:53:27 -0400 (EDT) X-Greylist: delayed 1787 seconds by postgrey-1.36 at nmbug; Thu, 13 May 2021 12:53:24 EDT Received: from gateway33.websitewelcome.com (unknown [192.185.146.78]) by mail.notmuchmail.org (Postfix) with ESMTPS id DD5282717A for ; Thu, 13 May 2021 12:53:24 -0400 (EDT) Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id C5FD26EE04 for ; Thu, 13 May 2021 10:58:20 -0500 (CDT) Received: from box2268.bluehost.com ([50.87.192.155]) by cmsmtp with SMTP id hDj9lQVIBvAWvhDjAlcLm4; Thu, 13 May 2021 10:58:20 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=toryanderson.com; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:Content-Transfer-Encoding:References:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=G1zakogbnJKXiHQKMx1cBker7yNoFeKcmO+ut9rYWF4=; b=MEBILA9tYPWHSFCEUROPANYeCK eJRr6vi5671q3JF9LSJbS2QKtfm91giXgSdyW/vKmej2mO+FPmUnz7KX262V/8MOsCZ+WZ9K5zUSd 6lFO/LYS+I8SsUNYoCwsfWe2i55KQ3ULeIjhx/efpqfC8t1BvxlPaUNcn8RTXKvu4X+0=; Received: from c-98-33-162-63.hsd1.ut.comcast.net ([98.33.162.63]:35018 helo=localhost.localdomain) by box2268.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lhDj9-0010At-L4; Thu, 13 May 2021 09:58:19 -0600 From: "Tory S. Anderson" To: David Bremner Subject: Re: Emacs: prevent notmuch from tampering with message headers & settings References: <87bl9hkv3r.fsf@byu.edu> <87r1iaeud5.fsf@tethera.net> Date: Thu, 13 May 2021 09:58:18 -0600 In-Reply-To: <87r1iaeud5.fsf@tethera.net> (David Bremner's message of "Thu, 13 May 2021 08:38:46 -0300") Message-ID: <874kf6vd5x.fsf@toryanderson.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2268.bluehost.com X-AntiAbuse: Original Domain - notmuchmail.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - toryanderson.com X-BWhitelist: no X-Source-IP: 98.33.162.63 X-Source-L: No X-Exim-ID: 1lhDj9-0010At-L4 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: c-98-33-162-63.hsd1.ut.comcast.net (localhost.localdomain) [98.33.162.63]:35018 X-Source-Auth: webdev@toryanderson.com X-Email-Count: 5 X-Source-Cap: dG9yeWFuZGU7dG9yeWFuZGU7Ym94MjI2OC5ibHVlaG9zdC5jb20= X-Local-Domain: yes Message-ID-Hash: YIAONS6IYCPZKQHP23MDWQIQYIKJGRBY X-Message-ID-Hash: YIAONS6IYCPZKQHP23MDWQIQYIKJGRBY X-MailFrom: webdev@toryanderson.com 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: notmuch@notmuchmail.org, 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=1620924813; 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:dkim-signature; bh=4kjoZItJnl/knQiyCSjejxw5VrAviBBqmXWrmOSlfvM=; b=FMd/5OD0EyqPaZYhae1fs0VuXFu0IJQ7yCfiq6ucxpKjvReEfukuq2BbinxvcAIKu6GDYv 6kEhKjMlDgbDtupSEKR/eXa8VdMefhJxDxkq4HuQ+WYbXK5daodYDRQs9Q0LIwPDhIeB2M OOtIQPYBEQbQTzIZdlKmsaJE1KC8MzO0ZmHMnZkZcKfD2Ija8Z93il0oriNvTNTRwihJzi /S8ZaHR+P38hRAV1R/BeQKYi9HWofcqoKi45YJ4jpflSsrw1N9xuvR38RD+uDBZZ86EZC4 vIzqdsU3QfQZsb4pHCWIijEg8lUTZdHtRObXPxgvbDzhAee7Te+dxf+6uaAFmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620924813; a=rsa-sha256; cv=none; b=CoW8tlnc0gOctM5kMPfcx9WsZ37oqrHqb4Ozzlhe51MP/+1x2XXN6QGGF9nt9+m0HJBcZu C1jKLAnXtXEfVEwRQYl+9GILewl0Xm45T2F/Gpq/oTugGajJA+DrmgjUy50Y1O7A8KfDvN qhfBM+BW8LlsCDvuW5bqBpmOk7I+Uv7YbB0tgfBgQQz32UWnhhmnuR2YL75Z53UBUFnd3J AIX4Ac+QMgTFpuUWe3scLUXRzxxgyzSD7YhCtTJ87z5Ax94RDeP+ErOjxejnh+L/ZSI0JO vw0spNVN31JiPNNaa+SQg2HSu1ytzN9/R8VSfrBppGUIALwLYRFIcuguPn1rwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=toryanderson.com header.s=default header.b=MEBILA9t; 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.37 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=toryanderson.com header.s=default header.b=MEBILA9t; 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: 626C319833 X-Spam-Score: -0.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: NO3ImUBQzEKM I send mail with either global C-x m (compose-mail) or from my gnus buffer when I reply to a message. In both cases, if I happen to have visited a notmuch search result previously, it has changed my headers and completion methods. Yeah, over-writing mail-user-agent seems to be the case -- I see that is exactly what has happened. Any idea how can I stop it? - Tory David Bremner writes: > 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