首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >emacs23 to emacs24: imap shell“打开nnimap server...failed:伪终端将不会被分配.”

emacs23 to emacs24: imap shell“打开nnimap server...failed:伪终端将不会被分配.”
EN

Stack Overflow用户
提问于 2013-10-21 21:21:26
回答 1查看 186关注 0票数 1

我尝试从emacs23迁移到Debian/ emacs24 (Jessie)。

通过shell脚本进行的Imap连接已经停止工作。

消息缓冲区:

代码语言:javascript
复制
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

代码语言:javascript
复制
'(gnus-secondary-select-methods (quote ((nnimap "" 
   (nnimap-stream shell) 
   (imap-shell-program "exec /home/anfi/bin/imap"))))) 
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-10-21 22:05:12

在~/.gnus.el中设置imap程序“全局”解决了问题。

代码语言:javascript
复制
(setq imap-shell-program "/home/anfi/bin/imap")
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19504977

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档