From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Algorithm in electric-pair--unbalanced-strings-p unsuitable for CC Mode Date: Tue, 09 Jul 2019 09:45:06 -0400 Message-ID: References: <20190703105804.GA11238@ACM> <20190704165846.GF5564@ACM> <20190704190100.GG5564@ACM> <20190708100539.GD4529@ACM> <20190708164501.GB5244@ACM> <20190708180551.GD5244@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="137244"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: =?windows-1252?Q?Cl=E9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 09 15:47:35 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkqT1-000ZRy-En for ged-emacs-devel@m.gmane.org; Tue, 09 Jul 2019 15:47:35 +0200 Original-Received: from localhost ([::1]:50132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkqSr-0007pN-E3 for ged-emacs-devel@m.gmane.org; Tue, 09 Jul 2019 09:47:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48286) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkqQm-0007d6-Af for emacs-devel@gnu.org; Tue, 09 Jul 2019 09:45:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkqQk-0005UD-Uu for emacs-devel@gnu.org; Tue, 09 Jul 2019 09:45:15 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:25467) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkqQk-0005OX-Ns for emacs-devel@gnu.org; Tue, 09 Jul 2019 09:45:14 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5CD0080D7B; Tue, 9 Jul 2019 09:45:12 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 19D1180AB2; Tue, 9 Jul 2019 09:45:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1562679910; bh=Qdho2JK9hlEq2bQT08RsIOT57i5A8O8qRuRMKfV1ydY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=eWGFae8g0AY9zOgMlBlzEi1VKD6SdPwaR9fjYcvXwZdw3+xiuMHiZw7xDU3FcIozT gJl6Sk8I0RBpJeP66kQeoSr/jDw9385J4KYT6caeFuRdwWPQBZRaGjeIE9zh3OCFRA eN5zSvc0X3guzu+vuDvcfc1s91xl4v3/wjktuZP3hM81mYFDHfFauzJaGccslmcAre mncypl1kpVGDSP14dUcQ2fa1pbewsCnUYA/tiS+0WRi12EiFP8oMl69P7C5WHks5lO O0j9vA701pL1OAmEwMEGkgePRPYatH+6tGgfW59NDSnH4ymQpdw5zkVc/y0MsKUWs+ wJI7Q6/FMPJlQ== Original-Received: from alfajor (76-10-138-228.dsl.teksavvy.com [76.10.138.228]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B66881204BD; Tue, 9 Jul 2019 09:45:09 -0400 (EDT) In-Reply-To: (=?windows-1252?Q?=22Cl=E9ment?= Pit-Claudel"'s message of "Tue, 9 Jul 2019 02:41:12 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:238440 Archived-At: >> Both are wrong sometimes and right at other times. > I imagine this is less of a problem for people who use modes that > automatically insert string delimiters (i.e. when you press ", a second > matching quote immediately appears, so you don't run into fontification > issues). Depending on your usage pattern, one kind of wrong will be more frequent than the other, yes. Stefan