From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KGNlHhJ3t2DFNgEAgWs5BA (envelope-from ) for ; Wed, 02 Jun 2021 14:18:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yCOlGRJ3t2AgCgAAB5/wlQ (envelope-from ) for ; Wed, 02 Jun 2021 12:18:26 +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 F15412DED3 for ; Wed, 2 Jun 2021 14:18:25 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4B71229C45; Wed, 2 Jun 2021 08:18:19 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 1693120017 for ; Wed, 2 Jun 2021 08:18:14 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id D2AB95FD25; Wed, 2 Jun 2021 08:18:11 -0400 (EDT) Received: (nullmailer pid 641121 invoked by uid 1000); Wed, 02 Jun 2021 12:18:10 -0000 From: David Bremner To: Alan Schmitt , notmuch Subject: Re: show a single message in a huge thread In-Reply-To: <87lf7sojbq.fsf@m4x.org> References: <871r9rkw2i.fsf@m4x.org> <878s3zniei.fsf@tethera.net> <87y2bzj651.fsf@m4x.org> <87k0neoywi.fsf@m4x.org> <87r1hll9j4.fsf@tethera.net> <87lf7sojbq.fsf@m4x.org> Date: Wed, 02 Jun 2021 09:18:10 -0300 Message-ID: <871r9klat9.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: LFDXKYQ3OSRFF4KQBFNSFG3SWDDCYMMZ X-Message-ID-Hash: LFDXKYQ3OSRFF4KQBFNSFG3SWDDCYMMZ 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 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=1622636306; 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-unsubscribe:list-subscribe:list-post; bh=wZf8aztE1FKVeyJI934oH7SLTarcve2/m3wOaNmToLM=; b=EiuITFP8zZYiTiTmuxmupkWJqySUYxUXxcUPW95pvK4bgAiIhDdu8RTeNZZOwMzEXGitM4 p99TlQvP4v7Z02ChZEZkMIwWrGdJ2qPVZSUOXXoVjwNXemosh3A37OK2x3IxEeTMekd4xU tP0CYAV+LLd095nvFYkASvD2ZHfSx64IHLmbJf+Lqu4RaRRuxy9nR1uls2lzQGUfRWhKas JbefYVTX0LNGuzKPwcvJcBRrhByCWzhNdQTxCZM3u60uk/SNfSugBWVS7VrXxTJXK6c8/j iP95ss09qeQVEXGghxIctJP+1FfhqzCm45ZnmB40HDd9+x98lYn91h/tNbwa4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622636306; a=rsa-sha256; cv=none; b=eIrG+LMUWNWa5UDbiR8QRcfdd6Dqru5h17z7vn7+O144tBjBrb77Zwr6G5oPddbvY3YqkJ j67aim0bPPZnjgJQ06FBU4xMODgHZ6bW7kXq6h0A+BLqtdaHRORDR9Ks7YpcVqSVon/nQ8 zAYkOs1HgxOUinqZ7XtZQMQu4xZFSu0RxaEXAIW1X4f1fd/HNO/pb6941D1Cc7zrb/78Hl 2EX2w8xcckEcIAi2f5xffkMbp1twYcNEnllKIq+pIeyELt2n71gaprz7vkwFfBHZWZF1k/ F5niqf/pq3sYzhhYGDflHS879tFbIBloljfoKKiD6XUY4Gf888vve3gYNM+u+Q== 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: -2.04 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: F15412DED3 X-Spam-Score: -2.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: 280QZzOTGsIA Alan Schmitt writes: > Hello, > > On 2021-06-01 15:33, David Bremner writes: > >>> Is this a bug of notmuch-emacs? Is there a way to display a single >>> message independently of its context? >>> >> >> I'm not sure what the best UI is, but here is a start: >> >> (defun notmuch-show-single-message (query) >> (interactive "sQuery: ") >> (message query) >> (let ((notmuch-show-indent-messages-width 0) >> (notmuch-show-only-matching-messages t)) >> (notmuch-show query))) > > Thank you for the suggestion, unfortunately I get a very similar error. > I found the id of the message I want, and when I run this function, I > get this backtrace. > The code I posted worked fine for me for one message from a thread of 323 messages. It could be a I need a really giant thread to test, or perhaps the structure of the individual messages matters also. The long threads I have are from Debian mailing lists, so the message structure tests to be be mainly one part of plain text. d