From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Have you all gone crazy? Was: On being web-friendly and why info must die Date: Sat, 20 Dec 2014 18:23:31 +0100 Message-ID: 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> <87fvcacs7k.fsf@uwakimon.sk.tsukuba.ac.jp> <87bnmyclpk.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f3bae8f9e8b35050aa91581 X-Trace: ger.gmane.org 1419096227 6423 80.91.229.3 (20 Dec 2014 17:23:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Dec 2014 17:23:47 +0000 (UTC) Cc: Phillip Lord , "Allen S. Rout" , David Kastrup , Emacs-Devel devel To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 20 18:23:40 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 1Y2Nki-0006RL-Bt for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2014 18:23:40 +0100 Original-Received: from localhost ([::1]:35356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2Nkh-0004Ol-IN for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2014 12:23:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2Nkd-0004NQ-5b for emacs-devel@gnu.org; Sat, 20 Dec 2014 12:23:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2Nkc-0000li-6L for emacs-devel@gnu.org; Sat, 20 Dec 2014 12:23:35 -0500 Original-Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:43294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2Nka-0000kn-LP; Sat, 20 Dec 2014 12:23:32 -0500 Original-Received: by mail-wi0-f181.google.com with SMTP id r20so4570422wiv.8; Sat, 20 Dec 2014 09:23:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QJeard28fBam9KDZvURoMUBdPX1Evwq0bAbUESOMVgs=; b=h8f8lvMZUAtpo0DYdP/XeBMcvV3vHXg846C6Ypbv+I90dl/MgjykYhGgl3OdgOR4Rv CcFpRkT132hEtzDzM3WAwSHQHfXXsxWmrOI5paYZsDEK5sqWYXlVZprHovzDI0bENPgT nR4rtc8lViLWBCOTH98an1ilMPzUJObihnohyACcIBca7ZmJA/EgCVwcLUw7s+0GKHFy SS2wbMsl8APLXN8ns09QA7gmAl4dJnfHVtcA4FnK8Sv42uKnF3/H8oys32gNPbjBZ0Kb 8m02/g0Ci8tm/jCdBuUQymPPefHI0qezKv7s4NzwyfiDlQxqf57Utz0BJWYWLCSdQdqN CUBg== X-Received: by 10.180.109.46 with SMTP id hp14mr16338281wib.54.1419096212014; Sat, 20 Dec 2014 09:23:32 -0800 (PST) Original-Received: by 10.194.93.228 with HTTP; Sat, 20 Dec 2014 09:23:31 -0800 (PST) Original-Received: by 10.194.93.228 with HTTP; Sat, 20 Dec 2014 09:23:31 -0800 (PST) In-Reply-To: <87bnmyclpk.fsf@uwakimon.sk.tsukuba.ac.jp> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::235 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:180389 Archived-At: --e89a8f3bae8f9e8b35050aa91581 Content-Type: text/plain; charset=UTF-8 On Dec 20, 2014 5:47 PM, "Stephen J. Turnbull" wrote: > > Lennart Borgman writes: > > > I think with HTML5 you do not need any package any longer. You just > > write it in HTML5/EcmaScript. (I do these things very often now.) > > If you say so, but a quick look at the current W3C recommendation for > HTML5 doesn't reveal anything like standard AJAX events, just the > now-ancient ones like onclick and so on. I don't think HTML5 has > really changed anything in this respect: if you can do it with HTML5 > you can do it with HTML4. > > It's possible that adding a few lines of Ecmascript per link would do > the trick, but that sounds ugly to say the least. And scripts, being > dynamic and possibly interacting with the network, require > error-handling to be robust. There is AddEventlistener, XMLHttpRequest, etc. The normal way to add something like what I suggested would be to add a class to each link and then use that to add event handlers. Very nice in my opinion. --e89a8f3bae8f9e8b35050aa91581 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Dec 20, 2014 5:47 PM, "Stephen J. Turnbull" <= ;stephen@xemacs.org> wrote: >
> Lennart Borgman writes:
>
> =C2=A0> I think with HTML5 you do not need any package any longer. = You just
> =C2=A0> write it in HTML5/EcmaScript. (I do these things very often= now.)
>
> If you say so, but a quick look at the current W3C recommendation for<= br> > HTML5 doesn't reveal anything like standard AJAX events, just the<= br> > now-ancient ones like onclick and so on.=C2=A0 I don't think HTML5= has
> really changed anything in this respect: if you can do it with HTML5 > you can do it with HTML4.
>
> It's possible that adding a few lines of Ecmascript per link would= do
> the trick, but that sounds ugly to say the least.=C2=A0 And scripts, b= eing
> dynamic and possibly interacting with the network, require
> error-handling to be robust.

There is AddEventlistener, XMLHttpRequest, etc.

The normal way to add something like what I suggested would = be to add a class to each link and then use that to add event handlers. Ver= y nice in my opinion.

--e89a8f3bae8f9e8b35050aa91581--