Emacs 为所有苹果酒输出设置填充列

Emacs 为所有苹果酒输出设置填充列,emacs,clojure,cider,Emacs,Clojure,Cider,我想为所有苹果酒输出设置填充列值。我正在使用: (require 'cider) (setq cider-show-error-buffer nil cider-docview-fill-column 76 cider-stacktrace-fill-column 76 nrepl-buffer-name-show-port nil cider-repl-displa

我想为所有苹果酒输出设置填充列值。我正在使用:

(require 'cider)
(setq cider-show-error-buffer              nil
      cider-docview-fill-column            76
      cider-stacktrace-fill-column         76
      nrepl-buffer-name-show-port          nil
      cider-repl-display-in-current-window t
      cider-repl-result-prefix             ";; => ")
但是当我调用
meta
时,我得到了以下结果:

user> (meta #'str)
;; => {:added "1.0", :ns #<Namespace clojure.core>, :name str, :file "clojure/core.clj", :static true, :column 1, :line 511, :tag java.lang.String, :arglists ([] [x] [x & ys]), :doc "With no args, returns the empty string. With one arg x, returns\n  x.toString().  (str nil) returns the empty string. With more than\n  one arg, returns the concatenation of the str values of the args."}
user>(meta#'str)
;; => {:添加了“1.0”,:ns#,:name str,:file“clojure/core.clj”,:static true,:column 1,:line 511,:tag java.lang.String,:arglists([[x][x&ys]),:doc如果没有参数,则返回空字符串。如果有一个参数x,则返回\n x.toString()(str nil)返回空字符串。对于多个参数,\n返回参数的str值的串联。“}

一切都在一条线上。我打赌有一些变量
cider-…-fill列将对我有所帮助。我在谷歌上搜索了它,但只找到了
cider docview fill column
cider stacktrace fill column

没有这样的REPL fill column变量,但是您可以在REPL中漂亮地打印eval结果(请参见REPL的菜单)。您可以通过以下方式从配置中启用它:

(setq cider-repl-use-pretty-printing t)

是的,
M-x苹果酒repl切换漂亮打印
。我可以在.emacs文件中启用它吗?这样它在默认情况下就可以工作了吗?您能告诉我为什么pretty printing会禁用
cider repl result prefix
?它们能共存吗?