From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Algorithm in electric-pair--unbalanced-strings-p unsuitable for CC Mode Date: Fri, 12 Jul 2019 19:47:09 +0100 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: multipart/alternative; boundary="000000000000344e80058d805737" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="39714"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , emacs-devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 12 20:47:30 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 1hm0Zt-000ACK-W6 for ged-emacs-devel@m.gmane.org; Fri, 12 Jul 2019 20:47:30 +0200 Original-Received: from localhost ([::1]:51854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hm0Zs-0003nY-0B for ged-emacs-devel@m.gmane.org; Fri, 12 Jul 2019 14:47:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32897) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hm0Zo-0003nR-Se for emacs-devel@gnu.org; Fri, 12 Jul 2019 14:47:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hm0Zn-0000yp-R7 for emacs-devel@gnu.org; Fri, 12 Jul 2019 14:47:24 -0400 Original-Received: from mail-io1-xd44.google.com ([2607:f8b0:4864:20::d44]:40805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hm0Zn-0000yG-Cc for emacs-devel@gnu.org; Fri, 12 Jul 2019 14:47:23 -0400 Original-Received: by mail-io1-xd44.google.com with SMTP id h6so22534483iom.7 for ; Fri, 12 Jul 2019 11:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2I//JpGxJp0LqDBM4iwyWjmHTIo1wWIOp/e4RuVIeKs=; b=CI2kkRsITU1q4Jen5fLQY28kwxi3F3NrVUvBoXQbrrEz1Tnjw6J+I7rZB49b3hnJR2 SkPQHN1pbzjIKsFgsYAQdzeEbZZ9pO/6FbbJth08aSKcboqlWwurSXLhOVW1whOPK4l9 W5P3Nq2KpDjhZT+tpM6cIxeQ5C/EgMtJWvZLH5M1r/Fza+fypIUXXfNA2gAwwLKJ6Qnn YQMienfNId9YGn+87CULgUZhSurifchVgYhWtPsJHrB5Oq3b+6sm4xwqymwPXmulnDj9 SsglQcCu9RtkWk6u7bPJtdnYtC8LEdvj4+3MSGb8qJNUej/TBv0kvxOIkJGQFXza4d8K VgKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2I//JpGxJp0LqDBM4iwyWjmHTIo1wWIOp/e4RuVIeKs=; b=hMh5jgxUfk6rNeCF0SL9yp1fxGtxY+EtfVVtgsSBqo2vNNGrMN7i3uAxCM7aDadOx/ STRTk2mVdnOTNPt3wg4E62GnJhNPqe3c+NWT12j598qwB4ehCogl2AyDPj+vJHkBFSd0 iwfx8fxesGhiZSdaceCT8n7z8eW/nk0Kn0G2LDt/1Uw4+FjmzH4QQiBkA7cfMP3PAgkN jVutSp9iaQrvR2rG/A3su5wHw/VFW2vtOXDUHPIkueYOTxawZazJa6AmAJTBR8HCiUdW hh0c7tJKztsYKuzdUrg903cFMO6s6Gs39KhIrS1UP+qiH8YdnNVVWqgP0KKVYeeZkI1G aVgg== X-Gm-Message-State: APjAAAW2UMxc1KcsDpSQ/mtmh/jFcUl+qX+K1nrCebXajdMrSlvqpNpK ZWxFrNy+Qls72HUfIGNMOtT6+9Qe/ZlVh537ohE= X-Google-Smtp-Source: APXvYqye6Cu74YmiA+UEs/I0nUOHN78FWz6mCLP+8mFwv5N/cKLWRwDK5MAY5Ocvk2FZmS2DLuEZ1ZWkiUP6QltDkuk= X-Received: by 2002:a6b:dd18:: with SMTP id f24mr11623692ioc.97.1562957241928; Fri, 12 Jul 2019 11:47:21 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d44 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:238530 Archived-At: --000000000000344e80058d805737 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jul 12, 2019 at 4:58 PM Lars Ingebrigtsen wrote: > Still getting "malformed"; I think with Gmail the only way to post > patches is to include the patch in an attachment. Probably. I normally copy-paste the thing into a buffer and M-x diff-mode there, fix any bugs manually. > Yes. Or if the system has identified that an unterminated string > exists, and the user moves to a different line outside the > fontified-as-unterminated-string area. If that's possible. :-) It is, I think. So the feature, which I have dubbed "the antiblink" is now in a scratch/jit-lock-antiblink branch. It should be much more stable and works mostly from the post-command-hook and a new idle timer. It includes your "immediate refontify if left" idea, Lars. And Stefan, the code should now be much easier to understand. Cheers, Jo=C3=A3o --000000000000344e80058d805737 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jul 12, 2019 at 4:58 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Sti= ll getting "malformed"; I think with Gmail the only way to post> patches is to include the patch in an attachment.

Probably. I= normally copy-paste the thing into a buffer and
M-x diff-mode =C2=A0the= re, fix any bugs manually.

> Yes.=C2=A0 Or if the system has iden= tified that an unterminated string
> exists, and the user moves to a = different line outside the
> fontified-as-unterminated-string area.= =C2=A0 If that's possible. =C2=A0:-)

It is, I think.

So the feature, which I have dubbed "the antib= link"=C2=A0 is now
in a scratch/jit-lock-antiblink bran= ch. It should be much more stable
and works mostly from the post-= command-hook and a new idle timer.
It includes your "immedia= te refontify if left" idea, Lars.=C2=A0 And Stefan,
the code= should now be much easier to understand.

Cheers,<= /div>
Jo=C3=A3o
--000000000000344e80058d805737--