即使我emacs -Q
在其中打开 pure 和 python 文件:
|
- 光标
if smth:
| print("asd") # press TAB and cursor moves to "p" symbol, it's ok
if smth:
|print("asd") # press TAB and I get this:
if smth:
print("asd") # press TAB and I get prev step
因此TAB
会循环更改缩进级别。我绝对不想这样做。
如果使用smart-tab
问题可以解决。但又yasnippet
(yas-global-mode 1)
带来了。
这就是我找不到原因的地方。
如果你有这个问题(python+yasnippet+正确的缩进)——请给我一个小费。或者只是一个工作配置的链接。
最新的 Emacs (24.3.50.1)