From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25265: [PATCH] Rework NS event handling (bug#25265) Date: Sat, 31 Dec 2016 18:25:58 +0200 Message-ID: <83lguwgj55.fsf@gnu.org> References: <83vau0h2u5.fsf@gnu.org> <20161231160930.GA29122@breton.holly.idiocy.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1483201637 7311 195.159.176.226 (31 Dec 2016 16:27:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2016 16:27:17 +0000 (UTC) Cc: charles@aurox.ch, 25265@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 31 17:27:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cNMUu-0000oa-Pk for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2016 17:27:08 +0100 Original-Received: from localhost ([::1]:44688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNMUz-0003je-KP for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2016 11:27:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNMUs-0003jR-KJ for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 11:27:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNMUo-000862-Lm for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 11:27:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNMUo-00085q-IF for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 11:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cNMUo-0007c1-CP for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 11:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Dec 2016 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25265 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25265-submit@debbugs.gnu.org id=B25265.148320158929174 (code B ref 25265); Sat, 31 Dec 2016 16:27:02 +0000 Original-Received: (at 25265) by debbugs.gnu.org; 31 Dec 2016 16:26:29 +0000 Original-Received: from localhost ([127.0.0.1]:33399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNMUG-0007aU-Is for submit@debbugs.gnu.org; Sat, 31 Dec 2016 11:26:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNMUE-0007aG-F2 for 25265@debbugs.gnu.org; Sat, 31 Dec 2016 11:26:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNMU5-0007bm-1j for 25265@debbugs.gnu.org; Sat, 31 Dec 2016 11:26:21 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNMU4-0007bS-Tn; Sat, 31 Dec 2016 11:26:16 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1262 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cNMU1-0008GP-PY; Sat, 31 Dec 2016 11:26:16 -0500 In-reply-to: <20161231160930.GA29122@breton.holly.idiocy.org> (message from Alan Third on Sat, 31 Dec 2016 16:09:30 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127631 Archived-At: > Date: Sat, 31 Dec 2016 16:09:30 +0000 > From: Alan Third > Cc: charles@aurox.ch, 25265@debbugs.gnu.org > > Here we go. This seems to work. It turns out there are trade‐offs > between the GUI and network performance. If I remove > NSApp:nextEventMatchingMask from ns_select, eww loads web pages > *significantly* faster, but the scrollbars become effectively > unusable. Wow, thanks a lot! I cannot review the patch, as I don't really understand the details. So I suggest to push this and see if users report bugs. (I presume you have run all the tests, including those in test/src/thread-tests.el and those posted in the few recent discussions related to thread-related problems. If not, I very much recommend that you do that, to see if the new code passes these "entry-level" tests.)