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:25:10 -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: 7bit X-Trace: blaine.gmane.org 1495650364 31242 195.159.176.226 (24 May 2017 18:26:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 May 2017 18:26:04 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 To: 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:25:58 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 1dDays-00080U-My for geh-help-gnu-emacs@m.gmane.org; Wed, 24 May 2017 20:25:58 +0200 Original-Received: from localhost ([::1]:56278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDayy-0000QN-44 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 May 2017 14:26:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDayJ-0000PH-P9 for help-gnu-emacs@gnu.org; Wed, 24 May 2017 14:25:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDayG-0001kt-6x for help-gnu-emacs@gnu.org; Wed, 24 May 2017 14:25:23 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:58572) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDayF-0001kd-Th for help-gnu-emacs@gnu.org; Wed, 24 May 2017 14:25:20 -0400 Original-Received: from nv.mousecar.net ([96.27.75.237]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MPWlD-1dHhi00swj-004jaV for ; Wed, 24 May 2017 20:25:17 +0200 In-Reply-To: <13A306C5-EDE7-4E56-A9BB-80515BEAB437@gmail.com> Content-Language: en-US X-Provags-ID: V03:K0:RNtbchOKI11HPP/yFFvss3RFtV7dDgI/K+wT7LrfTow8Ax5PPIC LWGw7JUHx1r7cpJZq9EYKlOIF0x8VxA093ragtJU/0DfPWphmX4VSuQg01IdAsBHspxDncC vpy5AwgWn30F/HQG8OHddOvFT0266bkcaE3ZCA7qeLqAwukFisG1M9mI5Ef1+vUDfpoFGr+ MWDdzfbfd7G2E1E2s2yTg== X-UI-Out-Filterresults: notjunk:1;V01:K0:9XuhDkvyBvI=:CWKqItXiJkuv+ZJMUuy0UM aHElYLY6vWBe4fJ8AhWDzZ8hnJpm1TzCWlDUY8X99GxuWeNEVa2lKgUIxz9MJ+kGX1mdOBVAG dVJdm8qjIdQlvctccOfh4+s6Sfg6ksRoMGeWhSStduOt/5llFL/+f62pv34Oum2kzAC3yesJf m3+Y+f62allxZU4Mhd7K1LVTzMXsqR/yFLcVh8BW5Q0lwpgbTyBEtpXzygjwaYGJTttQoRJjT V/1zIH5FLquMXqmFgwraSg9NL83xXGQkddpwZektiSXsd3u4qqEk3bX7Y1ug1rWtOymnoJq0T EoeTizccyK8YL7wvroRaERyUaOqX0f93Vj2yHXX8DTrrS911AQiVje+4VddIA5Ko8GCRD6rXn Zv+aSyt4LsV9lVT3Jl19w6dKE2N5XmUABjkqVy7n3JPCg0x672nQz6dEb17xSD2nEhfvIJ6vo UudxaBZeH+puQEO7Jc9Q908JXUWSgFTrrmaIjAaYL/95IncfZgNOo35T8IXzj6eZ+icWBfzQ5 YWsTJHvr3tcBkMiipUKmU1ZDyD6Uqcov8AL+Q48/tXtH1iNh3FjYw7LcP+/7Y12nyK8T5T0yr wgAHBgBfRVWFPLVu1vk+nR6Qh0820I5pPSgiHYI0pMfK279/MJos3QHsb/i5zbsJNG3s5Q4P+ qHD/8M76NmVcq+jPRn9av6/XQb34CtHIOg7RK3e38kDP6CNHn4Y95dCbFqP5NWrzSZ+AbRp+N PRfutzZ0FJ+LFBjO X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.208.4.196 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:113160 Archived-At: On 05/23/2017 06:13 PM, Jean-Christophe Helary wrote: >> On May 24, 2017, at 2:43, ken 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.