tags:

views:

33

answers:

1

In emacs, is there a way to get hideshow-mode to recognize multiple regular expressions for hiding?

+4  A: 

Taken from the EmacsWiki. If I'm understanding your question right you may be out of luck however "no simple way" might mean there is a complicated way out there to be found.

Good luck

There is no simple way to specify multiple regexp pairs for a single language, e.g.,

* Open: {, close: }
* Open: #ifdef, close: #else or #elif or … etc.
Copas