From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <e@80x24.org>
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net
X-Spam-Level: 
X-Spam-ASN:  
X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no
	autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (dcvr.yhbt.net [127.0.0.1])
	by dcvr.yhbt.net (Postfix) with ESMTP id D16421F55F
	for <meta@public-inbox.org>; Fri, 22 Sep 2023 20:33:53 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org;
	s=selector1; t=1695414833;
	bh=r3BdIAgTnT6pTjgW1YpS7uGd16gHUpW6lxOl6ot+XNA=;
	h=Date:From:To:Subject:From;
	b=wD0iMur50/xQL2TK6wZY73+bpHEe3nI4KKut4jvhpOyhmZbhFyfldQRabope7pL6F
	 i45VDYNxvFNfrq67bpGQ6Spndcs0XYyO3G83uzPcmakR7gzBBF6wiFv0gRe5wqn7vY
	 SwCQoqSKRJISKROYnCk84UZno/mhNLXrFc2QRCHs=
Date: Fri, 22 Sep 2023 20:33:53 +0000
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: lei interactive TUIs (ncurses/vim/emacs)
Message-ID: <20230922203353.M780211@dcvr>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
List-Id: <meta.public-inbox.org>

I hardly have any experience in this area; but automatic
end-to-end tests for ncurses and other TUI stuff seems
like a huge pain...

I've also noticed vim has scripting abilities (like Emacs?) and
notmuch bundles a vim extension we can take inspiration from.
Perhaps we could bundle vim and Emacs extensions for lei, too...

While I use vim[1], I've always kept my vim decoupled from Perl
(or Lua, Python, Ruby, TCL, etc) and rather tie stuff together
with pipes.  IOW, I'm happy my editor can run arbitrary shell
commands; but don't want stuff linked into my editor (since more
code is usually more fragile).

So, any thoughts on this matter?

Anybody willing to maintain an lei TUI for emacs?
I might give a vim TUI a shot...

But writing and testing a FUSE FS is much more natural...


[1] My choice to use vi/vim is merely because it's the most
    widely-installed editor on random systems I ssh into.
    It also mostly works the same after a few decades w/o
    needing UI changes; same goes for Perl.