From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: "modern" doc viewer for info/html Date: Sat, 2 Aug 2014 12:47:41 +0700 Message-ID: References: <87wqarkbrw.fsf@ferrier.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406958481 19025 80.91.229.3 (2 Aug 2014 05:48:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2014 05:48:01 +0000 (UTC) Cc: Emacs developers To: Nic Ferrier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 02 07:47:56 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 1XDSAd-0004zr-O6 for ged-emacs-devel@m.gmane.org; Sat, 02 Aug 2014 07:47:55 +0200 Original-Received: from localhost ([::1]:43079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDSAd-0004oA-AZ for ged-emacs-devel@m.gmane.org; Sat, 02 Aug 2014 01:47:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDSAV-0004ns-VG for emacs-devel@gnu.org; Sat, 02 Aug 2014 01:47:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDSAQ-0005FI-7d for emacs-devel@gnu.org; Sat, 02 Aug 2014 01:47:47 -0400 Original-Received: from mail-ie0-x22f.google.com ([2607:f8b0:4001:c03::22f]:45063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDSAQ-0005F1-3D for emacs-devel@gnu.org; Sat, 02 Aug 2014 01:47:42 -0400 Original-Received: by mail-ie0-f175.google.com with SMTP id x19so7138162ier.20 for ; Fri, 01 Aug 2014 22:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=mHnCRze91G4R+7kc9JuyUgJw+iMUm2Wis/1aJAMGoWw=; b=UfiL3WYWa/RBHVlrSk8PYleYFX6kNP9Zh1i9mhKoiRKmkifPhFGFDfQpB4OcNFoE47 WOLK4iOjjyRO2kW5IeJM50DH5RRz9ictDtTCnsRxhe2G94Nx1x7eRPGsAGNxeHKUZphh X7aBSwP1kA3GQcyeRE3mC7crLUG7HJsvRtKIOImvVF46B5r/mo/+JmtvpxU6SbORWJxc gDusl6vH1E/9wzlBUAtNesPKxN2VCi861z80W0S+ctHJi1VjHXODfOg3pxPf8Da1Yc66 yxN34gnHC0GQFHLBR/0JrM+iOL32B7OsoryHiPtQSP5Vgtw0KMWD44V8x4HiTKc816ce EpDQ== X-Received: by 10.42.91.1 with SMTP id n1mr13427719icm.76.1406958461196; Fri, 01 Aug 2014 22:47:41 -0700 (PDT) Original-Received: by 10.107.6.30 with HTTP; Fri, 1 Aug 2014 22:47:41 -0700 (PDT) In-Reply-To: <87wqarkbrw.fsf@ferrier.me.uk> X-Google-Sender-Auth: aheD_gNSnHtYzquBK9HSgkKLIV8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22f 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:173362 Archived-At: On Sat, Aug 2, 2014 at 6:53 AM, Nic Ferrier wrote: > Here: http://gnudoc.ferrier.me.uk/ > > is something that (I think) Bob Chassell challenged me to do 10 years > ago. A "modern" HTML based viewer for info/html. Ten years ago it might not be evident (Firefox was called Firebird back then), but nowadays, when you use a printable character as a navigation command in a Javascript application, you need to invoke preventDefault() on the event object. Otherwise, in certain browser configurations, the character may start an incremental search. Case in point: I am using Firefox 31, with Preferences | Advanced | General | [x] Search for text when I start typing. I click any link on the front page, which displays that node. I then press 'l' on my keyboard. This takes me back to the index and starts an incremental search for 'l', which it finds in the 'Lisp Data Types' link. The incremental search bar grabs keyboard focus, remains active for a few seconds, and then disappears without returning focus to the page. As a result, I cannot use any further letter-based navigation commands. Unrelated: Some links in the top-level index occupy two lines, but nothing in their appearance gives a hint about that. The list reads as if it were: * =E2=80=A6 * Packaging * Antinews * GNU Free * Documentation License * GPL * =E2=80=A6