From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: CC Mode and electric-pair "problem". Date: Tue, 19 Jun 2018 09:16:39 +0100 Message-ID: References: <20180531123747.GA24752@ACM> <20180617201351.GA4580@ACM> <20180618103654.GA9771@ACM> <20180618154227.GB3973@ACM> <86d0wng1kb.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1529396145 9922 195.159.176.226 (19 Jun 2018 08:15:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2018 08:15:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: 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 Tue Jun 19 10:15:41 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 1fVBnh-0002Wa-Ex for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2018 10:15:41 +0200 Original-Received: from localhost ([::1]:39952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVBpo-0005pE-JP for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2018 04:17:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVBon-0005nq-PU for emacs-devel@gnu.org; Tue, 19 Jun 2018 04:16:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVBoj-0005Zg-R3 for emacs-devel@gnu.org; Tue, 19 Jun 2018 04:16:49 -0400 Original-Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:44291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVBoj-0005Z9-K7 for emacs-devel@gnu.org; Tue, 19 Jun 2018 04:16:45 -0400 Original-Received: by mail-wr0-x22d.google.com with SMTP id x4-v6so19512902wro.11 for ; Tue, 19 Jun 2018 01:16:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=5Zqa4CurI8iaB5KVXkmmGKKJf6K6a1Uds2t/uBUhJBQ=; b=cDeJs5ol0+lop0wDZXDIKd4Kxf1Ww4ApqnYg5FDeuhPau++MpBHjtuCm1RIuC9VOWn WBf6TMqXroZYE6LiFFRo6Hf3aw8xRAiJKgPjn+pBO0VA/1SigU6pVrZSJVGk6C+Fqxmq kfaAzBhw80dtupp0jGLnAmpaxdYwWjGcq7N6W6sWtYHVaoen+vtkeMIVik/1nVkOkHBT GoySg4YGXWh2PmN3Ei56sbLwygvjll014xCia4x0YgSv8zl8foOW/Eveq4lVBZ6xtCIo gGA1FApg2IZe1GL3To1zg8pxTHiDrDQde1e/xy4OWzDU8reRcZ7vPKg4jAfUc2K3s5b0 8A4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=5Zqa4CurI8iaB5KVXkmmGKKJf6K6a1Uds2t/uBUhJBQ=; b=ANKDHz039pT0oy/QJFmf2+0SaA4InoXsUq4WuX2eLmaXdnF+E5IPusWdD4SSSKVfw0 kMhJXU626Eo42u7DAlMtVIPJSfayP+D9vkSdOHjGIuyMRZYa6qrTk/qNQEpnaAKApFCv PS74t/aXJieHz4x9c3xvQdg/SK0fpyLvlhTY41CpAQrHg+ywQcxZnbYBN6osajpC5xRU k7sgclvwuPU7KO6xEuuzk68rUUUxF5BsXWyvPPlzLffan7rqhxY+yGpXujNd4A1vCc7E Wrmr+LZNjj4zXEqhqQvyMa54Ym2mJq7UjVTny9MjnnOyzzEJG3ozcuGPafRhygZm/8TK pWGw== X-Gm-Message-State: APt69E3WXEfMJ3Sy1pRCZIf1qN00HI28fo/BhUlEUXo5xmVVrP68ZmvJ aJe893VuXew5znNl0Pn7PNjWtA2J X-Google-Smtp-Source: ADUXVKLrHmb8aByXSalfjoH0iMdrsQioWt70oCGK2nc9eSmWwnanzPiySliBJe7Vk0e76EDbBk/8rw== X-Received: by 2002:adf:b94e:: with SMTP id b14-v6mr13933761wrg.265.1529396204430; Tue, 19 Jun 2018 01:16:44 -0700 (PDT) Original-Received: from kitaj.yourcompany.com (178.110.103.87.rev.vodafone.pt. [87.103.110.178]) by smtp.gmail.com with ESMTPSA id t1-v6sm8364173wmt.40.2018.06.19.01.16.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 01:16:43 -0700 (PDT) In-Reply-To: (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Mon, 18 Jun 2018 23:15:27 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22d 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:226497 Archived-At: Cl=C3=A9ment Pit-Claudel writes: > On 2018-06-18 18:41, Stephen Leake wrote: >> For what it's worth, I'm planning on adding "new line terminates string" >> to ada-mode. As Alan says, that is the way the compiler works. I was >> initially inspired independently, while working on an error-correcting >> parser, and found it in cc-mode while looking for ways to implement it. > Sorry for jumping in a bit late. Does that mean that after the > changed an unclosed quote will only cause refontification up to the > end of the line? That would be a very nice improvement. I don't use > electric-pair-mode, and as things currently stand inserting an Again, see my reply to Stephen. This has very little nothing to do with electric-pair-mode now. If you use sexp-based navigation, blink-matching-paren, or show-paren-mode you will see considerable differences in behaviour. FWIW I like the non-fontification part, too. But it comes with a hefty price. Jo=C3=A3o