From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: HTML-Info design Date: Mon, 22 Dec 2014 18:42:33 +0900 Message-ID: <87fvc858c6.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87388bnzha.fsf@newcastle.ac.uk> <87k31mdbhe.fsf@uwakimon.sk.tsukuba.ac.jp> <87tx0qiv45.fsf@fencepost.gnu.org> <87h9wqd3i5.fsf@uwakimon.sk.tsukuba.ac.jp> <87h9wqimf0.fsf@fencepost.gnu.org> <87y4q1fekv.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1419241395 5646 80.91.229.3 (22 Dec 2014 09:43:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2014 09:43:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 22 10:43:08 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y2zW7-0003WY-9M for ged-emacs-devel@m.gmane.org; Mon, 22 Dec 2014 10:43:07 +0100 Original-Received: from localhost ([::1]:39840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2zW5-0008RC-4U for ged-emacs-devel@m.gmane.org; Mon, 22 Dec 2014 04:43:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2zVk-0008Ko-2p for emacs-devel@gnu.org; Mon, 22 Dec 2014 04:42:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2zVc-0005aT-LD for emacs-devel@gnu.org; Mon, 22 Dec 2014 04:42:44 -0500 Original-Received: from shako.sk.tsukuba.ac.jp ([130.158.97.161]:38069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2zVc-0005aB-CS; Mon, 22 Dec 2014 04:42:36 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by shako.sk.tsukuba.ac.jp (Postfix) with ESMTPS id E023F1C387C; Mon, 22 Dec 2014 18:42:33 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id BAE541A2CFC; Mon, 22 Dec 2014 18:42:33 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta34) "kale" acf1c26e3019 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.158.97.161 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180476 Archived-At: Richard Stallman writes: > An Info file is read into Emacs all at once, but it is subdivided > into nodes, and Info displays only one node at any time. > > Would it be possible, using a Javascript extension to the browser, to > get similar behavior from a file of HTML? That is, load a whole > manual as a single file, then display just one subdivision of it, and > change to a different subdivision in accord with user commands? Yes. There are several browser+Javascript-based presentation packages (for example, S5) that do exactly that. It's easy to do with simple HTML and a tiny bit of CSS, and only a few lines of Javascript per "primitive" navigation function (eg, "next" and "last"). Whether you could get acceptable appearance and performance, and how much effort that would take, I don't know. I would guess it's not that hard.