From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IKFkLwGw7WHdtQAAgWs5BA (envelope-from ) for ; Sun, 23 Jan 2022 20:44:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IAAXKAGw7WHWcAEAG6o9tA (envelope-from ) for ; Sun, 23 Jan 2022 20:44:01 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 363D8139D8 for ; Sun, 23 Jan 2022 20:44:01 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E7E4E5F5EE; Sun, 23 Jan 2022 19:43:58 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5D81C5F478 for ; Sun, 23 Jan 2022 19:43:56 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id BF1635FC01; Sun, 23 Jan 2022 14:43:55 -0500 (EST) Received: (nullmailer pid 2018642 invoked by uid 1000); Sun, 23 Jan 2022 19:43:54 -0000 From: David Bremner To: Jonas Bernoulli , notmuch@notmuchmail.org Subject: Re: Variable used to detect reply prefixes in Subject In-Reply-To: <87bl02k0ap.fsf@bernoul.li> References: <87bl02k0ap.fsf@bernoul.li> Date: Sun, 23 Jan 2022 15:43:54 -0400 Message-ID: <87pmoifdad.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: OGEAKMXTYABS3VQDIMXSLLGHMWSFEHLO X-Message-ID-Hash: OGEAKMXTYABS3VQDIMXSLLGHMWSFEHLO 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; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642967041; 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-owner:list-unsubscribe:list-subscribe:list-post; bh=vd7FEih9nKu8Uz5B09hRn2CKw3UDFFsmISeQvbAF17U=; b=ApI6YJWRsjcy9vqzHnAWkmvvAacBm3Tj8vBonyE5czWZQpP9BJkSoiFKGt4XxySRPQx0UN Asuo6pYyLWk5cZ3Pcrqr9TcMUCV+Sa/aVft+ETv5sIy7AVMGLBJEP/kYzJGHZADE+gH6Zo p3UF2gyiOLcpOieSwsifHrgFZW6wmPIZXD8GvygUqE/l7sN/wsUsvQV10gvukNTFEak9LN BV/UeeUKpW/9yskuFYRebZ1TbyhshYBE2SEcWwFK2Xhd1ErM2rJrL6ZzbULgUW543+Zgdi e6q/mGj6Cbg9xRcaymWg0MdnLOj/K6JLEYhKrhzqw7qUy5Z2xac9nUjJQK4K5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642967041; a=rsa-sha256; cv=none; b=Kr/XMUucNZB3+NpyF2fui026v1YEGAri8WYwiM73HXGFoGfufwAH1tvVMOFx13C6sgZzZx ZHG3QsSEFNWtZe4IIBIDG3gj5EkTiL6ap5Togp+dfMfyLpPbqrCoNglLPEk81VWigsUWEo 1TwtCIiOYpAgUER2dZF3JeqLEYDx4g4CZdE9ZTvdceUqoA8O49+sflslIUoRDbjDKY/o7s UI5+HHwnKQf2hstBRbqQszwYeFNwsz5z/OcA3E2ZD3RVK+oVRWBsHuPdMQkO1g+paNe+Z+ Vouy41FkSIkOZg1EzVM7E3od2ymaKocmEm6rUOvNyXOW/kxHmx9/TvxD9sF6Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 363D8139D8 X-Spam-Score: -2.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: qSRbRxhWTcJP Jonas Bernoulli writes: > Hello, > > Please tell me what variable I have to customize to recognize additional > unusual prefixes that some people add to the subject when they send a > reply. > > I searched using some strings I would expect to appear in the value of > that variable but either got no results or way too many. There is some simple (-minded?) processing in notmuch-reply.c, which just adds Re: to the front of the subject if it is not already present. The original headers are also returned, so in principle the emacs front end could do something smarter. d