From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EM+nHqz6dmUNBQEAkFu2QA (envelope-from ) for ; Mon, 11 Dec 2023 13:03:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QHnMGqz6dmUgxQAA62LTzQ (envelope-from ) for ; Mon, 11 Dec 2023 13:03:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702296236; 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-owner:list-unsubscribe:list-subscribe:list-post; bh=HG0a9EnDODK4RxVU1I4OCxxijs0gUi0YB61CoajbJNo=; b=VoGqt5jGs/Ir/P7310olDHdkMvEWfoIvcLcGQ8L3qPoK5ArWzdp77ZUk+eX/H0vWXu2FdE 562qgkQZVp+Tn2QP8om+AC5eA3hCXd8vh/CxwN4NN8Nhs9GFyjONmnpdYhKLQSt2I/Ix7l vviqfOoQlnhaIrJ+eFGGDTFmimKsEKaNdSP7vmDWkBgMHBAsB+rMgZBXK+Fl65QHvVGF3P CL9DKuVjbj7tPLYrl5567NhK9pdoAy3/5vPZIaU4B3oLhwuV2bOReA+C7mGwD6vStL4Xpi T4NtoocrgdeuGwBbY8/uqMqOPUis8gMUHTZ0bOzr5QV+kvLrn5U+WqxDWcYWKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702296236; a=rsa-sha256; cv=none; b=ixB4IPJ9A0mwOstMWXsO2n5yzv8jdCT9znciwAkqOumLzm/x54derA6oRkiMiKKIYeq2GT ytAe+N6dIDgZCYzPkRHRyWQBj4E/WXGsyI3yegwx+3pk2E8iDtItOaFv/CnEzJRlkC6qfV YPk7SxE/Qu9bCtJkH3QyXZCRRAbZnWVB2q0vOGBZ1PI7L7IAfZu4Z+uspgD8qBPDaMWvop /6y928mCEQcUG3V7Vg6rQxxUdqgSRXSKoEZCJgriCIMPTeSHR92zVzIFBubmSgpPZz0wgp wuEUxe13IWJOnx6h11R+8+6c/ISjDTyR0vxCVpYA42LBxFITo7A+PsfWC8lIYw== 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 D640266E6B for ; Mon, 11 Dec 2023 13:03:55 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 992D85E520; Mon, 11 Dec 2023 12:03:46 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [IPv6:2607:5300:60:3a9d::1]) by mail.notmuchmail.org (Postfix) with ESMTPS id CBC6A5E51E for ; Mon, 11 Dec 2023 12:03:42 +0000 (UTC) Received: from tethera.net (fctnnbsc51w-159-2-190-140.dhcp-dynamic.fibreop.nb.bellaliant.net [159.2.190.140]) by phubs.tethera.net (Postfix) with ESMTPS id 47249180066; Mon, 11 Dec 2023 08:03:41 -0400 (AST) Received: (nullmailer pid 1893594 invoked by uid 1000); Mon, 11 Dec 2023 12:03:40 -0000 From: David Bremner To: Sandra Snan , notmuch@notmuchmail.org Subject: Re: [PATCH] Add hook inside notmuch-mua-reply In-Reply-To: <20231210224024.1414315-1-sandra.snan@idiomdrottning.org> References: <20231210224024.1414315-1-sandra.snan@idiomdrottning.org> Date: Mon, 11 Dec 2023 08:03:40 -0400 Message-ID: <87msuhaqub.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: ZMPZ672R3GIMTROAE7WD225QUR24W53C X-Message-ID-Hash: ZMPZ672R3GIMTROAE7WD225QUR24W53C 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 CC: Sandra Snan 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-Country: DE X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.21 X-Spam-Score: -1.21 X-Migadu-Queue-Id: D640266E6B X-TUID: FkA4PWBj+zKC Sandra Snan writes: > +(defvar in-notmuch-mua-reply-functions nil > + "Functions to run after `notmuch-reply' was called successfully > +without erroring. The functions get the message-id as a string > +argument.") > + Overall this looks reasonable to me, but I'm not sure about the name. Since emacs doesn't have any namespace facility, I think that any globals we define should probably start with 'notmuch-' d