Thursday, February 1, 2007

links for 2007-02-01




  • 这个Python mode默认不支持自动缩进,请在.emacs中加入以下内容来支持自动缩进(:

    ;; emacs自带python mode,回车后自动缩进
    (add-hook
    'python-mode-hook '(lambda()
    (local-set-key "\r"
    '(lambda()
    (interactive)
    (insert "\n")
    (python-indent-line)))))


    (tags: emacs, python)


No comments:

Post a Comment