From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.2 RC1 next week Date: Sun, 18 Dec 2016 09:53:14 -0500 Message-ID: References: <83ziju5nan.fsf@gnu.org> <83wpex6h51.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482072824 25183 195.159.176.226 (18 Dec 2016 14:53:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2016 14:53:44 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Leo Liu , YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 18 15:53:31 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 1cIcqA-0004Lb-7c for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2016 15:53:30 +0100 Original-Received: from localhost ([::1]:41040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIcqE-0005D4-CY for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2016 09:53:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIcq2-0005Cz-4h for emacs-devel@gnu.org; Sun, 18 Dec 2016 09:53:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIcq1-0005jZ-5W for emacs-devel@gnu.org; Sun, 18 Dec 2016 09:53:22 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:9167) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cIcpx-0005ic-E3; Sun, 18 Dec 2016 09:53:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DuBAAu3EVY/+J3oWxdGgEBAQECAQEBAQgBAQEBgzgBAQEBAR9ahAGhVg4YAZRWggglhXcEAgKCEUISAQIBAQEBAQEBYiiEaQEEAVYjEAs0EhQYDSQuiEwIrRSLRAEBAQcCAR8FixmKKQWPfIpqhkuUT4Y6kE6BQSYGKngTDoVzIIktAQEB X-IPAS-Result: A0DuBAAu3EVY/+J3oWxdGgEBAQECAQEBAQgBAQEBgzgBAQEBAR9ahAGhVg4YAZRWggglhXcEAgKCEUISAQIBAQEBAQEBYiiEaQEEAVYjEAs0EhQYDSQuiEwIrRSLRAEBAQcCAR8FixmKKQWPfIpqhkuUT4Y6kE6BQSYGKngTDoVzIIktAQEB X-IronPort-AV: E=Sophos;i="5.33,749,1477972800"; d="scan'208";a="283060144" Original-Received: from 108-161-119-226.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([108.161.119.226]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Dec 2016 09:53:14 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 6C076AE3F6; Sun, 18 Dec 2016 09:53:14 -0500 (EST) In-Reply-To: <83wpex6h51.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Dec 2016 05:38:34 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:210600 Archived-At: >> Could someone take a look at this bug https://debbugs.gnu.org/23002? >> Reported before 25.1 release and still bothers me everyday. It causes a >> few seconds delay randomly on M-x. > My problem with the patch proposed there is that it touches a very > sensitive area, and does that for all the supported systems. > Stefan, any comments on that? Re-reading the thread, the *right* solution is to fix while-no-input, and apparently the easiest way to do that would be to change while-no-input so that it calls an `internal--adjust-polling-frequency` function after binding throw-on-input (and maybe after un-binding it as well). On systems which don't use polling at all, internal--adjust-polling-frequency would just do nothing. The patch should be fairly simple, but I don't think anyone wrote such a patch yet, so I can't tell if it would be appropriate for emacs-25. Maybe for emacs-25 we can live with the workaround of adding a "dummy" call to (input-pending-p) in execute-extended-command--shorter. Stefan