help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: additional functionality for html-helper-mode


From: ken
Subject: Re: additional functionality for html-helper-mode
Date: Wed, 24 May 2017 14:25:10 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 05/23/2017 06:13 PM, Jean-Christophe Helary wrote:
On May 24, 2017, at 2:43, ken <gebser@mousecar.com> wrote:

On 05/22/2017 06:53 PM, Jean-Christophe Helary wrote:
Kem

I think you have a hideshow minor mode that does that:
https://www.gnu.org/software/emacs/manual/html_node/emacs/Hideshow.html

I think it's generally called "code folding".

Thanks for the suggestion.

However, it doesn't seem to understand html, i.e., only affects CSS definitions 
enclosed within curly braces, { and }.
Ok, a quick search with "html, folding, emacs) brought these:

https://github.com/ataka/html-fold
https://www.emacswiki.org/emacs/FoldingMode
https://stackoverflow.com/questions/29463639/how-to-fold-html-tag-in-emacs

Jean-Christophe


Thanks, Jean-Christophe. I was digging into the code for hideshow, to see if it were doctorable to handle html and didn't think to search out a better solution. The first, html-fold, might be a better option.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]