From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#23002: 25.0.92; sluggish M-x Date: Tue, 15 Mar 2016 21:31:04 -0400 Message-ID: References: <83io0qfjie.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458091943 4197 80.91.229.3 (16 Mar 2016 01:32:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2016 01:32:23 +0000 (UTC) Cc: Leo Liu , 23002@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 16 02:32:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ag0Jo-0004Pf-O3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Mar 2016 02:32:12 +0100 Original-Received: from localhost ([::1]:52487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag0Jo-00057p-0Z for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Mar 2016 21:32:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag0Jj-00057D-Vq for bug-gnu-emacs@gnu.org; Tue, 15 Mar 2016 21:32:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ag0Jf-0007EB-11 for bug-gnu-emacs@gnu.org; Tue, 15 Mar 2016 21:32:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag0Je-0007Dx-Sy for bug-gnu-emacs@gnu.org; Tue, 15 Mar 2016 21:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ag0Je-0003es-GS for bug-gnu-emacs@gnu.org; Tue, 15 Mar 2016 21:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Mar 2016 01:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23002 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23002-submit@debbugs.gnu.org id=B23002.145809187814002 (code B ref 23002); Wed, 16 Mar 2016 01:32:02 +0000 Original-Received: (at 23002) by debbugs.gnu.org; 16 Mar 2016 01:31:18 +0000 Original-Received: from localhost ([127.0.0.1]:49556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ag0Iw-0003dm-0g for submit@debbugs.gnu.org; Tue, 15 Mar 2016 21:31:18 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:48488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ag0Iu-0003dY-52 for 23002@debbugs.gnu.org; Tue, 15 Mar 2016 21:31:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BDFgA731xV/wr0d0tcDoMChAKFVcA+gk0EAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJC6ICQjPIwEBAQEGAQEBAR6LOoUFB4QtAQSzP4FFI4M6WiKCeAEBAQ X-IPAS-Result: A0BDFgA731xV/wr0d0tcDoMChAKFVcA+gk0EAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJC6ICQjPIwEBAQEGAQEBAR6LOoUFB4QtAQSzP4FFI4M6WiKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="196318240" Original-Received: from 75-119-244-10.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([75.119.244.10]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Mar 2016 21:31:05 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 4FA4BAE416; Tue, 15 Mar 2016 21:31:04 -0400 (EDT) In-Reply-To: (YAMAMOTO Mitsuharu's message of "Wed, 16 Mar 2016 08:52:11 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114963 Archived-At: >> Hmm... this seems to indicate that while-no-input is just not really >> working in those systems. > At least, not in a responsive way. I first tried to shorten the > polling interval in start_polling if Vthrow_on_input is non-nil. But > let-binding throw-on-input as in the definition of while-no-input was > not enough and we would need some explicit function call to activate > start_polling. Hmm... that sucks. We could change while-no-input to call an ad-hoc function after binding throw-on-input, if there's no other solution. > Indeed. (if use-polling (input-pending-p)) does work. So we could define a `poll' function that does just that. It's not ideal either, of course, Stefan