gpt4 book ai didi

linux - emacs23 到 emacs24 : imap shell "Opening nnimap server...failed: Pseudo-terminal will not be allocated ..."

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:01:36 26 4
gpt4 key购买 nike

我尝试在 Debian/Testing (Jessie) 上从 emacs23 迁移到 emacs24。
通过 shell 脚本的 Imap 连接已停止工作。

消息缓冲区:

Opening nnimap server...
Opening connection to via shell...
Opening nnimap server...failed: Pseudo-terminal will not be allocated because stdin is not a terminal.

~/.emacs

'(gnus-secondary-select-methods (quote ((nnimap "" 
(nnimap-stream shell)
(imap-shell-program "exec /home/anfi/bin/imap")))))

最佳答案

在 ~/.gnus.el 中“全局”设置 imap-shell-program 解决了这个问题。

(setq imap-shell-program "/home/anfi/bin/imap")

关于linux - emacs23 到 emacs24 : imap shell "Opening nnimap server...failed: Pseudo-terminal will not be allocated ...",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19504977/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com