set emacs imenu for m-file section

1 view (last 30 days)
Jerry
Jerry on 31 Dec 2012
I hope to use imenu to manage section (%%) in m-file, but I don't know how to make it work. Anyone can show the related code in ~/.emacs for me about this function? Or, it's also useful for me if you know how to fold section, like the matlab editor did. It's really inconvenient to edit long m-file in emacs without imenu or code folding.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!