很多人苦于配置GNUS而不成功。那是因为GNUS本身是用来看新闻组的。发邮件只是附加功能 如果要用mutt+emacs发邮件。 可以设置
set editor = "emacsclient %s --alternate-editor vim"
这样,在emacs启动中的时候,可以用客户端写邮件。
当emacsclient不可用的时候就可以用vim了。
当然,你需要在配置文件中加上(server-start)
不过emacs未启用的情况会显示错误提示。
很多人苦于配置GNUS而不成功。那是因为GNUS本身是用来看新闻组的。发邮件只是附加功能 如果要用mutt+emacs发邮件。 可以设置
set editor = "emacsclient %s --alternate-editor vim"
这样,在emacs启动中的时候,可以用客户端写邮件。
当emacsclient不可用的时候就可以用vim了。
当然,你需要在配置文件中加上(server-start)
不过emacs未启用的情况会显示错误提示。
Editor to fallback to if the server is not running If EDITOR is the empty string, start Emacs in daemon mode and try connecting again
可以把vim改成空字符就可以自动启运了,而不是提示错误。