尝试用emacs编辑 mu view 输出的纯文本邮件时遇到的问题

我使用 rfm 读取 maildir inbox, 并使用 mu view 读文本邮件内容 https://gitee.com/guyuming76/rfm/raw/autoselection/20231013_20h47m57s_grim.png

我现在遇到的问题是, 我想通过管道 mu view 邮件文件名| emacs -nw --no-splash 把邮件用emacs 打开,以便后续 reply , forward 等.

但 emacs 貌似不能通过 pipeline 接受输入, echo test | emacs -nw --no-splash 都会报 “emacs: standard input is not a tty”

事实上, 我在rfm的代码里实现过从 pipeline 读取文本内容后再关闭这个文件, 重新打开 tty 为0号文件 https://gitee.com/guyuming76/rfm/blob/autoselection/rfm.c#L3119

我想问有没有哪个emacs 版本实现了这个功能? 我尝试的版本是 29.1