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: Mon, 18 Jun 2018 23:52:30 +0100 Message-ID: References: <20180531123747.GA24752@ACM> <20180617201351.GA4580@ACM> <20180618103654.GA9771@ACM> <20180618154227.GB3973@ACM> 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 1529362247 25151 195.159.176.226 (18 Jun 2018 22:50:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2018 22:50:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: Alan Mackenzie , Emacs developers , Tino Calancha , Glenn Morris To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 19 00:50:43 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 1fV2yw-0006Pq-MI for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2018 00:50:42 +0200 Original-Received: from localhost ([::1]:37156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV313-0006Rk-TN for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2018 18:52:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV30o-0006QO-Uy for emacs-devel@gnu.org; Mon, 18 Jun 2018 18:52:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fV30l-00064l-TU for emacs-devel@gnu.org; Mon, 18 Jun 2018 18:52:39 -0400 Original-Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:42965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fV30l-00063X-LX; Mon, 18 Jun 2018 18:52:35 -0400 Original-Received: by mail-wr0-x22c.google.com with SMTP id w10-v6so18483317wrk.9; Mon, 18 Jun 2018 15:52:35 -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=yBTfZZrS3tA2cU9jd4ajj82IhV4dmjJjoV0ik9/sZzc=; b=PGsS7TNs3fLtju5qx8KK1gMn3FOfXpoZ5srnVawxpyzfd5vxI/odFatbDhlA5isjk3 Hk/AGN10/+DiaVxjq13m6+BMt7rlhzX7sexr92CSLJybOXW0NGDeDnBNUVMV/PCKcxqs yMRNvMHFV9lHDeSCCQxFIXi2YKuowBCuWcOrgAQvCXI+Ao+96V1uy57HRGdqFGxr5ptd q1CnWEu7f7GqeiQPp95DNpckAfeZYLFDLgIU8c7PPdvQu3m6kFs2mg6ALf8DPnYjSd0x q1FUtGXlTBc7fKpG93hFZHo9W59DP+FrE68wHvigJFRWzDgtlQmnvUZujQWKYpm3ESts OvmA== 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=yBTfZZrS3tA2cU9jd4ajj82IhV4dmjJjoV0ik9/sZzc=; b=KF3swJOQl3YzRKVgNyzCLnOnKaCY2YeQnCJzL3uDD7hcIYpnts9DSIxw1v2HDCDU74 uJY2S/UcJR2nWuje7AHkPJhSqwxV+klJskQdxzfNqfq2t2fvWiX3dmvUjGAItEXPR5Qg +v88T7ZU04/l1desgufa2CVGpUnrLmRHzZhY322hlbvPOtNusYvlIhSJjyq554PWYtw5 YZj8IDLquqg06HMsAtlSqDdy71nvTmd+KGiRvcm62XG52uID44Lho7GtE07ce/5w3kfb ZpX5ycIakWV56a0EFTMPycV1HMw2uz1e2cUwa5eQ1Kj1Rc4dqsJ/0OztyaoUg0GGRP68 QsoQ== X-Gm-Message-State: APt69E0tlMYmAQnGU3TSBtTA5wBAqahVPhncOVlNJBUJftTl3nICTnpq Q/NESri4Fhb2bOYAJEZA6wE= X-Google-Smtp-Source: ADUXVKK0nCiitwHbtblvRDKPpHlaqT9DX2TGyDMl/BwYWW/r/MpPJX5GK7Q2T7lB5PDYMm9Joxa1eQ== X-Received: by 2002:adf:9e8c:: with SMTP id a12-v6mr10813143wrf.170.1529362353935; Mon, 18 Jun 2018 15:52:33 -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 e2-v6sm19635200wro.97.2018.06.18.15.52.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 15:52:32 -0700 (PDT) In-Reply-To: (Yuri Khan's message of "Tue, 19 Jun 2018 01:07:36 +0700") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22c 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:226475 Archived-At: Yuri Khan writes: > On Tue, Jun 19, 2018 at 12:25 AM Jo=C3=A3o T=C3=A1vora wrote: >> Alan Mackenzie writes: >> > Why? They are now C statements, and would be handled by the compiler = as >> > such. >> >> Clarify "would". Because this doesn't compile. My compiler doesn't even >> seem to look at anything after the unterminated string: >> >> int main () { >> printf("foo >> ); >> printf("bar"); >> return 0; >> } > > Mine does. After finding a syntax error, a typical C compiler > continues scanning the source, attempting to diagnose more errors. You're right. That example I fed this particular compiler (clang) didn't have anything for it to complain. Jo=C3=A3o