From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Algorithm in electric-pair--unbalanced-strings-p unsuitable for CC Mode Date: Thu, 11 Jul 2019 17:51:32 +0200 Message-ID: References: <20190708100539.GD4529@ACM> <20190708164501.GB5244@ACM> <20190708180551.GD5244@ACM> <20190709160022.GC5230@ACM> <20190709182646.GD5230@ACM> <20190710103242.GB4109@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="89678"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 11 17:51:48 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 1hlbMJ-000NDB-P3 for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2019 17:51:47 +0200 Original-Received: from localhost ([::1]:42966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlbMI-0004QR-Mn for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2019 11:51:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59477) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlbMA-0004Oh-8c for emacs-devel@gnu.org; Thu, 11 Jul 2019 11:51:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlbM9-0001Kk-6I for emacs-devel@gnu.org; Thu, 11 Jul 2019 11:51:38 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:51472) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hlbM8-0001Jl-Vh for emacs-devel@gnu.org; Thu, 11 Jul 2019 11:51:37 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlbM4-00050u-GO; Thu, 11 Jul 2019 17:51:34 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUIBQUHBQQGAwPT8oPL aLpVL0IJBwe4mHoHBAQFAgJ0MKEkAAACbElEQVQ4jVWUPW/bMBCGjwFCcNR5ENzN4hBQs2H4DyjV WqCS05EBHCadHUcrTcAGvRWawn/bIyUZ8sEfIB+990kKTDStvAwhfIsiQ0SjaQt4BB9euF7K8sQQ c8xZBKsIhHOlkh5oOzOvnp7WAIYbACtccZUKkykEcQViRgDDPAUrFvnr4pIBBJAXzVjGHg9rsg3g mEwJ0lqB5zztrzcc39rWaE2uEMC7/e+0v95qbNv2V8a8peAPsmjWI+AMM0oZr0+gV1o8VYebAnHR I8IFrFf+XE+Ap3xLtAZ6F4p93Y0AMAQpe08xnO9lcwMGf1DPKCEA4cunqu4O621HVrV/YwyIWXn1 eAOfVfW8pCDwwQGc2BPoJlD9kacFFUEC39yBn2yhLtRBKS+06rrDBJ61XloC3p9pVc+BclasyNm+ SpIJVJB5SwUa3VRJclN8WFjqOPPq3mrqb0szh8e73S7ZUVMd3DQzMoBdPAfAmzvJ10t3jMcHBMxB kuwi8FY0t6epi93xJQpIwSfFELg+JgEpvGrmcT8pQjq78NA380y7OgkMaGdHMM79fUftMLElY4xu HC+54ukagJ9Akmy7MTjVfgdiQ4YY/A5sbwUKr+dg6GEEdupVCr4dmxjrAD1Ld6zlmFxBKsi8D9lu hlVUGLiqa/jOB/DFJyCkCtKVWLwPpzfT2dBEUfaylAVb5HSttjvMciNsVDgp5T8XeonZW2uWeEK6 AQRcGQJ9HHlblVI5RNbboe2hL3tlgekHtvQ24+g5JQAFuVJOKU+3ZcnovZGRL5oUhJ4ul1rFgWmj vfNCyuQqJCvjjyrTP31PJ/MfKLtSOTzMvLkAAAAASUVORK5CYII= In-Reply-To: (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Thu, 11 Jul 2019 16:43:21 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 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:238511 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > It's another subject split from this thread, started by Stefan, with > a few messages only. But here it is again, and a little animated gif > I made yesterday but forgot to attach. Hm... I'm getting "malformed patch"... > + "Like `jit-lock-context-time' but for unterminated multiline strings. > +If the user has just opened an unterminated string at EOL, give > +him/her some grace time before deciding it is a multi-line string > +and fontifying accordingly, do so only if the user stares idle at > +that string for more than this many seconds." I think this is a good idea. A slight tweak to this would be to do the fontifying immediately if the user moves off of the line with the unterminated string, too. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no