在emacs Python模式下,如何为docstrings和代码设置不同的自动填充宽度?

Tim*_*m D 13 python emacs docstring pep8 autoformatting

我希望自动填充设置为79列代码段,72代表文档字符串,以获得自动PEP8合规性.似乎有一个选项可以为Lisp模式(emacs-lisp-docstring-fill-column)执行此操作,但不适用于Python.

是否有一个增强的python-mode.el在某处包含这个?

And*_*ler 1

当前 python-mode.el 提供

(defcustom py-docstring-fill-column 72 [...]

(defcustom py-comment-fill-column 79 [...]
Run Code Online (Sandbox Code Playgroud)

而对于代码值fill-column则使用。