From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27? Date: Sun, 04 Feb 2018 19:37:28 +0200 Message-ID: <837ersac6f.fsf@gnu.org> References: <83o9l6bhfs.fsf@gnu.org> <1fedc60d-35a7-4ff0-adbb-b6b8306d192f@default> <83wozu9f6r.fsf@gnu.org> <87r2q1r1tn.fsf@web.de> <0436a486-ace5-5bef-ec63-8955c87bb10b@gmail.com> <20180204103448.GA42100@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 1517765797 14737 195.159.176.226 (4 Feb 2018 17:36:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2018 17:36:37 +0000 (UTC) Cc: michael_heerdegen@web.de, alan@idiocy.org, npostavs@users.sourceforge.net, drew.adams@oracle.com, emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 04 18:36:32 2018 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 1eiOD3-00020v-0e for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 18:36:09 +0100 Original-Received: from localhost ([::1]:47022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiOF2-00066T-1B for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 12:38:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiOEq-00065x-NP for emacs-devel@gnu.org; Sun, 04 Feb 2018 12:38:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiOEp-0006LL-Rd for emacs-devel@gnu.org; Sun, 04 Feb 2018 12:38:00 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiOEV-0006Df-4n; Sun, 04 Feb 2018 12:37:39 -0500 Original-Received: from [176.228.60.248] (port=2987 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eiOEU-0003xR-Gv; Sun, 04 Feb 2018 12:37:38 -0500 In-reply-to: (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sun, 4 Feb 2018 10:36:49 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:222512 Archived-At: > Cc: Michael Heerdegen , Eli Zaretskii > , emacs-devel@gnu.org, Drew Adams , > npostavs@users.sourceforge.net > From: Clément Pit-Claudel > Date: Sun, 4 Feb 2018 10:36:49 -0500 > > > The middle line would require Emacs to do a fuzzy search for similar > > symbols, which may be too much. > > OCaml does this (but at compile time). Do we have a way to delay the fuzzy search to the point when the error message is displayed? Otherwise we'll pay the price of the search even if the error is then swallowed by a condition-case. Isn't this premature optimization? We aren't even sure yet that such a fuzzy search will be too expensive. We could, for example, implement the confusables as a char-table, which would make it fast enough, I think.