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#23377: 25.0.93; Completion is extremely slow for insert-char Date: Mon, 25 Apr 2016 22:17:39 -0400 Message-ID: References: <2fd9a9b4-fb49-da6e-f13b-0fce4708159a@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461637104 5801 80.91.229.3 (26 Apr 2016 02:18:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2016 02:18:24 +0000 (UTC) Cc: "N. Jackson" , 23377@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 26 04:18: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 1ausZn-0000KK-L1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Apr 2016 04:18:11 +0200 Original-Received: from localhost ([::1]:35919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ausZn-0005cs-13 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Apr 2016 22:18:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ausZj-0005ZA-6u for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ausZe-0005ZF-7w for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:18:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ausZe-0005ZB-4c for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ausZd-0002mF-W0 for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:18: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: Tue, 26 Apr 2016 02:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23377 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch confirmed Original-Received: via spool by 23377-submit@debbugs.gnu.org id=B23377.146163707510661 (code B ref 23377); Tue, 26 Apr 2016 02:18:01 +0000 Original-Received: (at 23377) by debbugs.gnu.org; 26 Apr 2016 02:17:55 +0000 Original-Received: from localhost ([127.0.0.1]:47250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ausZX-0002lt-7H for submit@debbugs.gnu.org; Mon, 25 Apr 2016 22:17:55 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ausZV-0002ll-KS for 23377@debbugs.gnu.org; Mon, 25 Apr 2016 22:17:54 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u3Q2HfW7022473; Mon, 25 Apr 2016 22:17:42 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 4514FAE057; Mon, 25 Apr 2016 22:17:39 -0400 (EDT) In-Reply-To: <2fd9a9b4-fb49-da6e-f13b-0fce4708159a@cs.ucla.edu> (Paul Eggert's message of "Mon, 25 Apr 2016 18:04:43 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5653=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5653> : inlines <4719> : streams <1625367> : uri <2196616> 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:116846 Archived-At: > Thanks, I reproduced the problem and yes, it is wayyy too slow. Also, the > code in question has some FIXMEs that have not been fixed. Since we're > trying to push out a new release, at this point we should probably revert > the relevant change and think about how to do this sort of thing in a better > way in a later release. Proposed patch attached. Seems like a better way forward is to add a config var, which defaults to disabled. Stefan