From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Tue, 18 Oct 2016 16:34:18 +0200 Message-ID: References: <87wq97i78i.fsf@earlgrey.lan> <83twckekqq.fsf@gnu.org> <83mvi9a3mh.fsf@gnu.org> <20161012165911.58437154@jabberwock.cb.piermont.com> <20161012173314.799d1dc5@jabberwock.cb.piermont.com> <8360owaj2s.fsf@gnu.org> <20161013092701.77461800@jabberwock.cb.piermont.com> <20161017105345.2f255760@jabberwock.cb.piermont.com> <83y41nx8l6.fsf@gnu.org> <20161017123459.5ded9408@jabberwock.cb.piermont.com> <83twcayku6.fsf@gnu.org> <20161017135353.533db169@jabberwock.cb.piermont.com> <87wph6cp5i.fsf@jupiter.lan> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476801416 10753 195.159.176.226 (18 Oct 2016 14:36:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 14:36:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Huchler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 16:36:51 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwVVb-0002Ed-AS for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2016 16:36:51 +0200 Original-Received: from localhost ([::1]:41943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwVVd-0005rc-EW for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2016 10:36:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwVVS-0005nI-65 for emacs-devel@gnu.org; Tue, 18 Oct 2016 10:36:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwVVO-0006Ge-Vy for emacs-devel@gnu.org; Tue, 18 Oct 2016 10:36:42 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:55888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwVVO-0006Fv-Ph for emacs-devel@gnu.org; Tue, 18 Oct 2016 10:36:38 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bwVVH-0005Hq-Nr; Tue, 18 Oct 2016 16:36:36 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEX+/uz+++Xz4NP+//Hd xcJ/Zo388Nuxp2BxAAACbklEQVQ4jV2UQXPjIAyFhT2TMyStzzFxOJPxTs+7rOh5p2P2HKjD//8J +4TTbVoOieMPPT2BFGLb1sTBWlfvq5SJbHuaeGLrstkWXqzkKp6KBLHN+smYpyc2Dcg2Zx3EeDyc wxJvKXEKVA1RJ+KW2R7OKaVb5JgKVQ1wz2N1nmdP3S+IUwbYZTNIIqfntsgoAf08bF7+A69UpUxE g9Ga1PAVILcYgOAw2fwVqIqwXilrc7/lUGpAHlL5KnruE5gGtJJaaErB1sMHuEtdPSIiu/XnloMk AmC99mTO6W13/n1Pbhqgcpz9UOOyi6cNoKhWh8k9qSmGne2/AmXwY+Wj2s2fAFKepOKdvSr6diS9 F4/Du/9+JKLc+30m8yH1EIH67Tg+gI+IeaemIG5VLwU+gDW9lne8z/p+JEo34HHdb/N8qdlo8yh1 EVC74FBDbsnVBl6e0TULL6MyJcuxiytJcfmRUkhpuZLZu0cp/5IWAQe5srwdiZQ3X2iCUlzk8m1u x972+x4Nl8LzYmDqAah+2HNaHCWxVdx2UdAxuUPXvmpv4lLvQGHF1zIhce3VgJ5As2YArCH+7RgB Y6/2ARwArqrMzJ8Orc/HWRUYcwVjRlWmiY+FQU6zsvgK6HsBE0ZGrxzWdPKDFdN22gAzBotDju8X hHPiBnIVoPB5XA8vVhRlwhEhI2bRetjVdzbAnQBHa8JQWk8Gve73DQRBhM7E6JNXdtBULOpMQdLQ WgoHh24sR9GMADGIndsZWnxE94wx2knAcksLE8YdRt5wNBpTKEpyxYnhCoVgF4/a7FsK9AQqoPaX 1PblYWJRSovU/A9CPNPcTgFAmQAAAABJRU5ErkJggg== In-Reply-To: <87wph6cp5i.fsf@jupiter.lan> (Stefan Huchler's message of "Tue, 18 Oct 2016 05:27:37 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:208420 Archived-At: Stefan Huchler writes: > As far as I understand the xwidget webkit browser is "only" some sort of > a Client-server thing where you send messages from emacs to another > process and it then does stuff and sends maybe answers back. Yes. It's pretty opaque. I think it's possible to see a way to interact with these objects more naturally by creating a Javascript bridge that would expose the DOM fully to Emacs, and then you could rewrite all Emacs commands to do things to that DOM. Like `C-t' (transpose-chars) with "point" inside one of these objects would look at the DOM around point, figure out the necessary changes, and then update the DOM inside the widget. And so on. But it would be... er... a major undertaking, and it would always be a toy. And it's irrelevant to the concurrency discussion, really. :-) > Sorry I go OT, but the question is, does ewb need some > Concurrency? I guess not really cause the javascript stuff is more a > pain than a gain for most cases in such environment. I'm assuming you're referring to eww, and it sure does need concurrency. Computing complicated layouts can be slow, and it would be nice if it could take without stopping the user from doing other things. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no