From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: additional functionality for html-helper-mode Date: Wed, 24 May 2017 14:27:59 -0400 Message-ID: References: <650fe062-eeb2-168d-35a9-6da6bb8c5228@mousecar.com> <924DC588-7F0B-47B4-A7BC-3D9DA3D4650A@gmail.com> <97e2b3a5-52c1-178d-6d03-2fa86d7a9dbc@mousecar.com> <13A306C5-EDE7-4E56-A9BB-80515BEAB437@gmail.com> Reply-To: gebser@mousecar.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1495650518 11275 195.159.176.226 (24 May 2017 18:28:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 May 2017 18:28:38 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 Cc: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 24 20:28:35 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDb1N-0002qc-BP for geh-help-gnu-emacs@m.gmane.org; Wed, 24 May 2017 20:28:33 +0200 Original-Received: from localhost ([::1]:56283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDb1S-0002B3-VH for geh-help-gnu-emacs@m.gmane.org; Wed, 24 May 2017 14:28:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDb10-00029y-VH for help-gnu-emacs@gnu.org; Wed, 24 May 2017 14:28:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDb0x-0002pF-QN for help-gnu-emacs@gnu.org; Wed, 24 May 2017 14:28:10 -0400 Original-Received: from mout.perfora.net ([74.208.4.197]:55842) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDb0x-0002oi-IO for help-gnu-emacs@gnu.org; Wed, 24 May 2017 14:28:07 -0400 Original-Received: from nv.mousecar.net ([96.27.75.237]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LdFWZ-1ddcIB0BQf-00iQd8 for ; Wed, 24 May 2017 20:28:06 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K0:qAePr97x2JL1EtXXmSluSY41DgcvniPpnvM/zX/idKeGVVoAj1d y+DTSOGg9lBfvmEOwEARrrT5vTo7ifeUBuIUOLFVCQmUR700Weldvq1mX9ebyumCZ2X/M6j A6wrnfT22jQ3CDhF6oHupFDsXiwnz60PdIO9uUdAO1NgrdyvniFUeqSsnEkkPLfICKmkC7F VQ3zPJkGgb7KQ+9sn8QGA== X-UI-Out-Filterresults: notjunk:1;V01:K0:dI224aP89Lo=:wFlppRY6sBkt//7nXQhB3B PdWasVkWKtnogZL9PKGFSkd5xkXHiR6sjs0uiCcYMgAz4gEbtDd3aIDNGlOeJ3nqpNY9V5xAf IMIv9jvCHtFw2go6wyUFXcOSRJMN1FrdoyAE8/yB13GmdUqn/NJmhc/wm54s3X/FwJ+4xLLmk b2pGswi8rjcxESxt1+AtCUDKoFVYz+pYOl5oT5krxUc2fkvsI6sQtP3CTJC9b2nr90rQI5Tzn LhwjFj5DLpxKkB89+RT8X0QCGBVLx4bwuxx0HOfSuITxO9TzAwJuMXiF8Gtl+LoskAAT899ru fqzv1+0/Yji0xgUp2I/A/N9KHC9BHqGG4JjUhLRAXUuRObjJsR8kz5b0q8sYAh0gG71p3OTl+ bu8A2aP5i0eTyWAtF2JBBPzR87aPtRojWxz9Jov7njilACep7GwGV5yIiIcCeVziDEO2GArAV KOlxHfN+cYd3VhlsgfuhiqPgyfC/B6nNY2z0QLlKwpPpEsw6n4fAtJBDkojhNih3iexxC+MTk t1bRphm5Izq4qMxN26DpxyFYa8d02WtnKXuthXwSiOn6j51bZc+HopQCK6BKJM3YTO0a7QWEh uK1xPssBvYVPah0+aGz++sKg9NXB3LacKAfkT9AVXh3J0nz2wyEsAd1VqbpOeEqwBCetUL72l kaKhV8SCapHJJCkMs1RMdqmaIPOJfcbfs1Hv1PksXg4TReoWBET3WXzwPZzKIbuiBqbD94sXQ C6pSakf+s00AmGpM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.208.4.197 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113161 Archived-At: On 05/24/2017 12:46 AM, Yuri Khan wrote: > On Wed, May 24, 2017 at 5:13 AM, Jean-Christophe Helary > wrote: > >>> 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: > Keep in mind that with regard to HTML there are two possible > interpretations of folding. > > * One is folding the contents between two paired tags:

{{…}}

. > * Another is folding the contents after a heading up to (but not > including) the next heading of that or higher level on the same level > of element nesting:

Foo

{{…}}

Bar

. > > The first is what a typical general-purpose folding library is going > to implement. The second can arguably be called “understanding HTML”, > and is what Ken is asking for. > > (And no, I don’t have any experience with HTML folding in Emacs.) > Good distinction. Completely correct. And hideshow couldn't do either.