From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A6D4F6DE00B8 for ; Sat, 10 Jun 2017 14:49:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.008 X-Spam-Level: X-Spam-Status: No, score=-0.008 tagged_above=-999 required=5 tests=[AWL=0.093, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ILiccg3pEsO1 for ; Sat, 10 Jun 2017 14:49:26 -0700 (PDT) Received: from mail.choca.pics (mail.choca.pics [62.210.108.126]) by arlo.cworth.org (Postfix) with ESMTPS id 551346DE00AC for ; Sat, 10 Jun 2017 14:49:25 -0700 (PDT) Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 196B72329BDF; Sat, 10 Jun 2017 23:49:21 +0200 (CEST) Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id pSLwCfIn6s6O; Sat, 10 Jun 2017 23:49:20 +0200 (CEST) Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 3871D2329FAC; Sat, 10 Jun 2017 23:49:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.choca.pics 3871D2329FAC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=9EA44F5C-DEF4-11E6-A83F-A08DF322D8FB; t=1497131360; bh=7K1/xt4ZBrgGxUqTM423vUQEC6mMC3W9hDPnkotMRvY=; h=From:To:Date:Message-ID:MIME-Version; b=CXecfHCFP91vr/XQ7rP4gNMjWok8r+UMD25L7Ift7zw0SMnmNHbKCt4W6EtMQrt9u c2a/ASS74IdF2DBicIEtfvMiUf3fNH3mFkQdKGhx1ilo4p+BkQrv5Gy4Wjd4KPKPJC VUt8AUoJ96vZN3rf7xADEgQ6gZF+t0D4ZgVJVtnYwF6cSZF9nTxW3Rxd0wS23ubrz2 Upk0jXCRDtdFVapY0y/uzmgJj0MYDDaEgGri3i7tjw9uDIIiwZDbQBszfcB7srLqNM Z1Ds36nCVTM30kqidoOzjrJEbLkRvx8C2kUQwjsdLji3XiUHLk1j+KSkvzJ+0sUCEa Kq6wqUYQSZRQQ== X-Virus-Scanned: amavisd-new at choca.pics Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id cc4KwFxJp-41; Sat, 10 Jun 2017 23:49:20 +0200 (CEST) Received: from luz4 (c80-216-198-172.bredband.comhem.se [80.216.198.172]) by mail.choca.pics (Postfix) with ESMTPSA id DAA7E2329BDF; Sat, 10 Jun 2017 23:49:19 +0200 (CEST) From: Damien Cassou To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] Add Emacs' imenu support in notmuch-show and notmuch-search In-Reply-To: <8760g4em51.fsf@tethera.net> References: <87mva3r3wo.fsf@cassou.me> <20170524061444.12827-1-damien@cassou.me> <8760g4em51.fsf@tethera.net> Date: Sat, 10 Jun 2017 23:49:13 +0200 Message-ID: <87mv9f1pk6.fsf@cassou.me> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2017 21:49:29 -0000 David Bremner writes: > In show mode the chosen imenu index function seems less useful > to me; it treats indentation level as significant, so in threads > with many levels of reply, one has to type many periods. It's > also not clear to me that the information on the header line is > very helpful for navigation, even without indentation. I guess you are using the default imenu frontend which is both ugly and inefficient. I also guess few people care about adding imenu support to packages for this exact reason. The counsel's version is quite good though (see attached screenshot). The indentation is respected making the imenu content a visual overview of the thread (and you don't have to type any periods). I can still get rid of indentation if you confirm you don't want it. For example, I understand that it would be nice to have better integration with the original imenu frontend (even though the default frontend is so bad I doubt anyone not having a better version ever uses imenu at all). You also say the information on the header line is not very helpful. Do you have any other suggestion? I'm open to trying several different alternatives and see what people prefer. Bye -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill