Code folder with Emacs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Grant Edwards

    Code folder with Emacs

    Has anybody figured out how to do code folding of Python source
    files in emacs?

    I tried "hide-show" minor mode, but it doesn't really work for
    Python code: the only think it knows how to hide/show are
    function bodies. It can't do normal things like hide/show a
    code block like it can for other languages.

    Google also found my "folding mode", but that's based on
    user-inserted tokens and isn't syntax aware.

    --
    Grant

Working...