From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Can org-info.js fold top level only? Date: Wed, 05 Aug 2015 02:00:55 +0200 Message-ID: <87614uzjrc.fsf@free.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMmWv-00056H-Kt for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:26:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMmWu-0008UW-1A for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:26:01 -0400 Received: from so1.mailgun.net ([198.61.254.11]:59003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMmWt-0008PD-Si for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:25:59 -0400 In-Reply-To: (Tom's message of "Sat, 2 May 2015 17:00:28 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tom Cc: emacs-orgmode@gnu.org Hi Tom, Tom writes: > I tried javscript folding of exported web pages following > the instructions here: > > http://orgmode.org/manual/JavaScript-support.html > > It works nicely, the top level headlines are initially collapsed and > they can be opened with a click, however a click exposes all > the lower level headlines under the top level headline and ther contents > recursively. > > Can org-info.js open only one level of headlines (the ones immediately > under the header clicked) without opening all the headlines and contens > under them? AFAIK, we don't have a maintainer for org-info.js -- which is a pity, given how useful it is. Anyone with some good HTML/JS knowledge? Or are we all affected by the "javascript frameworks fatigue" syndrome? http://www.allenpike.com/2015/javascript-framework-fatigue/ Thanks in advance for those who want to put some magic on Org through a web browser. -- Bastien