From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#23377: 25.0.93; Completion is extremely slow for insert-char Date: Mon, 25 Apr 2016 19:51:27 -0700 (PDT) Message-ID: <34cb394c-1a2f-4fe5-8a2f-d26702487aef@default> References: <2fd9a9b4-fb49-da6e-f13b-0fce4708159a@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461639150 1085 80.91.229.3 (26 Apr 2016 02:52:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2016 02:52:30 +0000 (UTC) Cc: "N. Jackson" , 23377@debbugs.gnu.org To: Stefan Monnier , Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 26 04:52:17 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 1aut6l-0003d5-0o for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Apr 2016 04:52:15 +0200 Original-Received: from localhost ([::1]:35990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aut6h-0001yg-1b for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Apr 2016 22:52:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aut6c-0001ut-7q for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aut6Y-0005WM-UG for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aut6Y-0005WI-Qu for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aut6Y-0003bz-H3 for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2016 22:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Apr 2016 02:52:02 +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.146163911013867 (code B ref 23377); Tue, 26 Apr 2016 02:52:02 +0000 Original-Received: (at 23377) by debbugs.gnu.org; 26 Apr 2016 02:51:50 +0000 Original-Received: from localhost ([127.0.0.1]:47278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aut6M-0003ba-Ax for submit@debbugs.gnu.org; Mon, 25 Apr 2016 22:51:50 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:38190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aut6K-0003bN-Ow for 23377@debbugs.gnu.org; Mon, 25 Apr 2016 22:51:49 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3Q2pY55010223 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Apr 2016 02:51:34 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u3Q2pWpX032390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 26 Apr 2016 02:51:33 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u3Q2pTrr004559; Tue, 26 Apr 2016 02:51:31 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:116848 Archived-At: > Seems like a better way forward is to add a config var, which defaults > to disabled. +1 for the option. But I think it should be enabled, not disabled, by default. The typical, and generally better (IMO) reflex is to use a good pattern to match, not just shoot blindly: C-x 8 RET TAB. Exceptional users can easily disable it. Most will take advantage of it. In practice, it shouldn't take much typing to radically improve the performance. IOW, if the main reason to disable it is for performance in an extreme use case (C-x 8 RET TAB), then that should not guide the default behavior. (Of course, the choice of default behavior is much less important than is the choice of letting users decide, by giving them an option.)