From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: HTML-Info design Date: Mon, 22 Dec 2014 15:27:51 +0100 Message-ID: <87tx0nwyhk.fsf@engster.org> 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> <87fvc858c6.fsf@uwakimon.sk.tsukuba.ac.jp> <87ioh4nf8k.fsf@ferrier.me.uk> <549806FB.1030008@swipnet.se> <98E0792C-72EA-4A59-BB3C-871C7EB3BE80@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1419258519 21399 80.91.229.3 (22 Dec 2014 14:28:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2014 14:28:39 +0000 (UTC) Cc: "Stephen J. Turnbull" , Jan =?iso-8859-1?Q?Dj=E4rv?= , "Richard M. Stallman" , Nic Ferrier , Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 22 15:28:33 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 1Y33yK-0006Pt-KV for ged-emacs-devel@m.gmane.org; Mon, 22 Dec 2014 15:28:32 +0100 Original-Received: from localhost ([::1]:40792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y33yE-0005qM-JL for ged-emacs-devel@m.gmane.org; Mon, 22 Dec 2014 09:28:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y33xy-0005q5-Ar for emacs-devel@gnu.org; Mon, 22 Dec 2014 09:28:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y33xt-0003zl-CN for emacs-devel@gnu.org; Mon, 22 Dec 2014 09:28:10 -0500 Original-Received: from randomsample.de ([5.45.97.173]:52604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y33xt-0003xh-37; Mon, 22 Dec 2014 09:28:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=0jHS4jUw90TP69hQqDofontd10Ek6rg4G9oy1nulug4=; b=Bl9rPWVM7kOpDU/h01I1Uz/audCB+evu53MrsZlCqBbXQ5U/WYCS4leOd9LJt6aVDAp7Bm7pms9c4lttXRWa/qXgU9Gx6w54r++tGjrdYwPIQ5prBpjurtjrQk+GlFCm; Original-Received: from ip4d154cb9.dynamic.kabel-deutschland.de ([77.21.76.185] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y33xk-0005xc-Rw; Mon, 22 Dec 2014 15:27:57 +0100 In-Reply-To: (Lennart Borgman's message of "Mon, 22 Dec 2014 14:35:55 +0100") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 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:180493 Archived-At: Lennart Borgman writes: > On Mon, Dec 22, 2014 at 2:29 PM, Lennart Borgman > wrote: >> On Mon, Dec 22, 2014 at 2:21 PM, Jan Dj=E4rv wrote: >>> Hi. >>> > >>> >>>> 22 dec 2014 kl. 13:49 skrev Lennart Borgman : >>>> >>>>> On Mon, Dec 22, 2014 at 12:56 PM, Jan Dj=E4rv wr= ote: >>>>> Den 2014-12-22 11:36, Nic Ferrier skrev: >>>>>> >>>>>> >>>>>> This is what my app does: >>>>>> >>>>>> http://gnudoc.ferrier.me.uk >>>>>> >>>>>> it implements indexing (press i) and toc and all of that. >>>>>> >>>>>> Yes, it's based on JS but the JS is free. >>>>> >>>>> >>>>> It does not work in Chrome, see attachment. This is one of the etern= al >>>>> problems with JS/HTML. >>>> >>>> >>>> It looks more like a bug to me. Quite common in software of all kinds.= ;-) >>>> >>>> Please give us some more info, Jan, so we can track down the bug. >>>> Exactly what do we do to trigger the bug? >>>> >>> >>> Start Chrome, press i. >>> Nothing happens but you can see the error in the console. >>> >>> Jan D. >> >> >> Thanks Jan. It works for me with Chrome here (Version 39.0.2171.95 m, >> Windows 7 Pro). >> >> Since I did not see jQuery there in the source but in the picture you >> posted it looks to me like it can be some add-on you have in Chrome. > > > Sorry, my bad. jQuery is included. So it is something else. It seems to be some initialization problem. When you hit 'i', the evt.target.value should be "" at the beginning, but for you it is undefined. I cannot reproduce it here with Chromium or Firefox, though. But Nic, I think this is great and I hope you keep working on it. It would be really neat if Texinfo could create a webapp like this which you simply throw on some server (the dependency on Node.js makes this slightly more complicated, but maybe one can get rid of it?). Together with a few nice CSS themes to choose from, this would make Texinfo much more attractive for creating online documentation. > (But, Nic, why use jQuery on a HTML5 page?) You are very confused about HTML5 as well as jQuery. -David