Eric Wong writes:

> Kyle Meyer <[email protected]> wrote:
>> I'm not a mutt user, but I think that's because mutt sees that stdin
>> isn't attached to a tty.  I haven't tried anything on my end yet, but
>> perhaps there's a clean way to make --stdin and --mua [*] work together.
>
> Thanks for the report.  Yes, that's correct, fortunately we can
> reasonably expect stdout to be a terminal and the patch below
> should fix it.

Confirmed.  Thanks for the quick fix.

>>   [*] The only other --mua value I checked was 'mail' (and that shows a
>>       similar issue), but I'm guessing other MUAs don't not work well
>>       with --stdin either.
>
> Btw, since you seem to be a gnus user;

I'm a lightweight Gnus user :)  I just use gnus to read NNTP, and use
Notmuch for mail.  But...

> does/can gnus work via --mua= ?

... I don't see a good way to do this, no.  A more natural approach
would be calling lei from Emacs.

I've been thinking a good amount about Emacs integration with lei in the
context of piem (<https://git.kyleam.com/piem/>).  My initial focus will
be something closer to Notmuch's Emacs interface.  I'm pretty excited
about the it, as it will be the main way I interact with lei (but sadly
it'll be at least a few weeks before I have the free time to begin any
work on it).

The above interface will probably reduce my use of Gnus to lists that
don't have public-inbox archives, but I still might try to add some Gnus
integration eventually.  Gnus has a mairix backend, so that'd be the
first placed I'd study for approaching integration.



Reply via email to