1

我尝试在 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"))))) 
4

1 回答 1

1

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

(setq imap-shell-program "/home/anfi/bin/imap")
于 2013-10-21T22:05:12.757 回答