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 2MAzBrxi918ccAAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 19:36:28 +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 ILgMArxi919XdQAA1q6Kng (envelope-from ) for ; Thu, 07 Jan 2021 19:36:28 +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 A4E919402C8 for ; Thu, 7 Jan 2021 19:36:27 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1F86729D6E; Thu, 7 Jan 2021 14:36:20 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5B11929C8B for ; Thu, 7 Jan 2021 14:36:18 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 0E2B65FF47; Thu, 7 Jan 2021 14:36:17 -0500 (EST) Received: (nullmailer pid 2266506 invoked by uid 1000); Thu, 07 Jan 2021 19:36:15 -0000 From: David Bremner To: jonathan@teamwilner.com, notmuch@notmuchmail.org Subject: Re: help with :search-type 'tree' in Emacs/notmuch config? In-Reply-To: References: Date: Thu, 07 Jan 2021 15:36:15 -0400 Message-ID: <87r1mwtu8g.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: IJ66UAALFTQDAZNNRAO5D2OZBEHW2PUQ X-Message-ID-Hash: IJ66UAALFTQDAZNNRAO5D2OZBEHW2PUQ 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 X-Migadu-Spam-Score: -0.98 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: A4E919402C8 X-Spam-Score: -0.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: q9kHgURiJL/r jonathan@teamwilner.com writes: > Hi all, > > Sorry in advance for what's likely a basic configuration question on the Emacs/notmuch side of things. I'd like to have a shortcut that goes into notmuch-tree from notmuch-hello. Following the docs & other configurations, it appears that :search-type 'tree' should work. An example from my configuration is below: > > (:name "inbox tree" :query "tag:inbox date:2021" :search-type 'tree :key "i") > > This also appears to register properly with Emacs. Checking via the customization settings, the option of "tree" is properly ticked. However, no matter what I do, the results always open in the standard configuration, not the tree. > > I'm guessing this is a simple error of my own doing. Any help would be greatly appreciated. Try without the ' in front of tree. At least if I use customize-variable, I get :search-type tree, no quote. d