From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 905JAefC+F9HHgAA0tVLHw (envelope-from ) for ; Fri, 08 Jan 2021 20:39:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id I5N2OObC+F+MMwAA1q6Kng (envelope-from ) for ; Fri, 08 Jan 2021 20:39:02 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1D756940355 for ; Fri, 8 Jan 2021 20:39:02 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BAF5029DA1; Fri, 8 Jan 2021 15:38:56 -0500 (EST) Received: from mail.yoctocell.xyz (h87-96-130-155.cust.a3fiber.se [87.96.130.155]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5B49F29D6E for ; Fri, 8 Jan 2021 15:38:54 -0500 (EST) From: yoctocell DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1610138332; bh=POyhMAvf0zHZLsZXSVkUDStqtjm+c6MMLOThzD4zR3o=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=OCxNw6izLWqbRSNQIgzOvwprE6KWRdTsTANpzY8MUidzwReFBkaZIi1xZh5HD9gB+ glzpYjDZ+2qknRmzL9A95sFZoaFqom4R4YmMmyQasmD3REUVUEnWhVuY6v2gzHUFqL IVFNmWp4hG6EQp26MLOjfaZ33d9VFP1IMX8jwYUg= To: David Bremner , notmuch@notmuchmail.org Subject: Re: emacs-notmuch: notmuch-show-hook runs too early In-Reply-To: <871rev89eu.fsf@tethera.net> References: <875z4bvkjj.fsf@yoctocell.xyz> <871rev89eu.fsf@tethera.net> Date: Fri, 08 Jan 2021 21:38:50 +0100 Message-ID: <87bldzkvtx.fsf@yoctocell.xyz> MIME-Version: 1.0 Message-ID-Hash: 4UN6S2SRLIQOBAGBA65SGXCDCJCNAW47 X-Message-ID-Hash: 4UN6S2SRLIQOBAGBA65SGXCDCJCNAW47 X-MailFrom: public@yoctocell.xyz 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 X-Migadu-Spam-Score: -0.97 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=yoctocell.xyz header.s=mail header.b=OCxNw6iz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 1D756940355 X-Spam-Score: -0.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6m4uB6A6w0/h On Fri, Jan 08 2021, David Bremner wrote: > Can you have a look at > > https://nmbug.notmuchmail.org/nmweb/show/20210108184004.781702-3-dme%40dme.org > > and see if that approach would work with you? > > At first glance I am more in favour of adding a hook than changing the > semantics of an existing one. I works as expected. Thanks for pointing this out!