From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id A4CC61F934 for ; Wed, 23 Dec 2020 05:42:47 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1608702163; 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: in-reply-to:in-reply-to; bh=sQJ1dyf10EpRuf+X1zc4WRM8K4QaJ1q5/z+KklciCJE=; b=C4es/jZGy9H4hkQNuYSj6oXXfy38zlg69jOsEqCBl/JytKFKiSiHKHXKq3EgWfx+XcDlqz 1J8ZvRd4r951ED28J+x8pEqfYw5E09UsL2nX3HO4OCgaQBrFfs6yt8uPHC18MRoqlOdFdt /d2x3cO3iAMfRqsh3xhMXH4KqqlPxgCyK65LlXIW8okaEPhVlxTW94wBK0vQBhjeccB2vp pmZWI7ne/FXjOnfjOYuUt19QXAwB0txdIGLLNEJy7giUlegOHGgOc3zDCASe36d580b8K9 iT5JHyEg+iBC1yWSQdbFqfZqhCDQWtzEIDKQbUiib1LySd+h212cAhPdUSaTxQ== From: Kyle Meyer To: Eric Wong Cc: meta@public-inbox.org Subject: Re: more considerations in UI/UX... In-Reply-To: <20201215120544.GA8927@dcvr> Message-ID: <87ft3xgjse.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com Date: Wed, 23 Dec 2020 05:42:43 GMT List-Id: I'm still digesting this (and the follow-up thread), but all of this looks really great and exciting. Eric Wong writes: > * consistency/familiarity - steal ideas from other software > built-in help, auto-pager/color, > `q=' is stolen from web search engines, > search term prefixes (f:, t:, ...) stolen from mairix > > Stuff I don't know but know other users use: Emacs / Gnus > > notmuch - I've only read the code since Maildir can't scale I use Gnus for NNTP (a mixture of public-inbox and Gmane stuff). In the context of lei, I'm not sure there's a whole lot to borrow from Gnus. I also use notmuch (via its Emacs interface). As someone that will probably write an Emacs interface for lei (as part of piem), an aspect of notmuch that I'd be grateful to see in lei is a structured output format for easier parsing and for conveying the thread layout. `notmuch show' and `notmuch search' have json and S-expressions. I wouldn't expect to see S-expressions coming out of lei :), but perhaps json would be on the table for `lei show' and `lei query' given that it's planned for $ls_format. Just for reference, here's an example of (heavily edited) `notmuch show' output for this thread: $ notmuch show --entire-thread=true --body=false --format=json \ id:20201215120544.GA8927@dcvr [[[ {"id": "20201215114722.27400-1-e@80x24.org", "match": false, "excluded": false, "filename": ["..."], "timestamp": 1608032835, "date_relative": "December 15", "tags": [], "crypto": {}, "headers": { "Subject": "[PATCH/RFC 0/7] lei - Local Email Interface skeleton", "From": "Eric Wong ", "To": "meta@public-inbox.org", "Date": "Tue, 15 Dec 2020 11:47:15 +0000"}}, [[ {"id": "20201215114722.27400-2-e@80x24.org", "match": false, "excluded": false, "filename": ["..."], "timestamp": 1608032836, "date_relative": "December 15", "tags": [], "crypto": {}, "headers": { "Subject": "[PATCH 1/7] daemon: support --daemonize without Net::Server::Daemonize", "From": "Eric Wong ", "To": "meta@public-inbox.org", "Date": "Tue, 15 Dec 2020 11:47:16 +0000"}}, [] ], ... [ {"id": "20201215120544.GA8927@dcvr", "match": true, "excluded": false, "filename": ["..."], "timestamp": 1608033944, "date_relative": "December 15", "tags": [], "crypto": {}, "headers": { "Subject": "more considerations in UI/UX...", "From": "Eric Wong ", "To": "meta@public-inbox.org", "Date": "Tue, 15 Dec 2020 12:05:44 +0000"}}]]]]]