我在emacs中使用python模式。 我已经用了一个月没有问题。在
现在我有一个问题,每当我在类中“return”或“pass”一个函数时,缩进将返回到下一行的开头
例如
class test(object):
def method1(self):
return 1
|cursor returns here, cant press tab to indent
|cursor should be here, tab should allow free indentation
如果我不回来或者“传球”,我就没有问题了。我不知道是什么原因造成的。在
我的.emacs:
^{pr2}$my.emacs.d包含: 兰姆达-模式.elPython-模式.el-6.0.12自动保存列表
不能用树干繁殖。 如果可能的话,请检查一下。在
bzr branch lp:python模式
github也有镜像。在
缺陷最好在
https://bugs.launchpad.net/python-mode
在来自Emacs的默认})中,我无法重现您的问题。因此,也许您正在使用
python-mode
(即python.el
而不是{python-mode.el
,可以简单地切换到内置的python-mode
。在相关问题 更多 >
编程相关推荐