From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastian Beischer Newsgroups: gmane.emacs.bugs Subject: bug#28939: 27.0.50; CC-Mode: (C++) Comment directly after quote breaks following lines Date: Mon, 30 Nov 2020 13:55:21 +0100 Message-ID: References: <87efpvmwim.fsf@gmail.com> <87sg8rcehf.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5838"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 28939@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 13:56:34 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjijJ-0001O8-Oh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 13:56:33 +0100 Original-Received: from localhost ([::1]:42170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjijI-0002CO-KA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 07:56:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjiip-000285-8K for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 07:56:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjiio-0002mG-0H; Mon, 30 Nov 2020 07:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjiin-0002CV-Um; Mon, 30 Nov 2020 07:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bastian Beischer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 30 Nov 2020 12:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28939 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 28939-submit@debbugs.gnu.org id=B28939.16067409458435 (code B ref 28939); Mon, 30 Nov 2020 12:56:01 +0000 Original-Received: (at 28939) by debbugs.gnu.org; 30 Nov 2020 12:55:45 +0000 Original-Received: from localhost ([127.0.0.1]:54128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjiiX-0002Bz-06 for submit@debbugs.gnu.org; Mon, 30 Nov 2020 07:55:45 -0500 Original-Received: from mail-qk1-f182.google.com ([209.85.222.182]:33933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjiiU-0002Bl-Te for 28939@debbugs.gnu.org; Mon, 30 Nov 2020 07:55:44 -0500 Original-Received: by mail-qk1-f182.google.com with SMTP id n132so10626575qke.1 for <28939@debbugs.gnu.org>; Mon, 30 Nov 2020 04:55:42 -0800 (PST) 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=U7G8IhRJBwaj37ANaB8jjIyzJsPuAjhe9Eoir33wypc=; b=cxB8M6xObJK7wtu64jShp+T7qPAqDkII5mLwvbV8FInKHQSaIhNqLbUOv5Pxb/WbKY QjHTcBqdoE8o65QcDwgODU1j+e9aydVESKbh3LxwmU1fzKjc4RIbiEtkeoercRmBxpgc SULrq/+T7Ejdi56cmYq3+iAQZxpwAS1M2eONFr2IXmjTV1b5oF36vcr+nzFSPXXz5D86 NV47Fh5CIsD+fgQrB6VBY19pSIBzMiJu25RlXRrVor5FdSlyw/7tBEf6W481tit+m9JQ F08IId9TFN5m63oCEQml8jxNLwlcGclj+T72D2ejYq5b027IsO4im7348QliVpMFVQ9r WyEA== 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=U7G8IhRJBwaj37ANaB8jjIyzJsPuAjhe9Eoir33wypc=; b=HvOc4uGaUTKjZu4SI7PPhK9nK/W+JonvZrTXKU+2R24LPMMnU0zkGlIVg/l0sM8+23 RcmYmQYl0EFa4zcGVb+beEM1mZhMsHmvn7tO25WBAB53RRVZiRNCqGqjHvPqVlB/WYzv EVMDn8cp75KnDPqROYp7o6KHVdsKu7zKuLfuTy3gyDNlYDZNO3pWJ7tSOhsXR63uzvfN mtCGPqiX2fgGwDcDVZ3Iv7NuPvtCPfPg392eOP+33qWf8ZAOhXzQ4iWwrSUriZ2VJOGy VrtqfRw6Y2o2qY8OTDj27kc9Q5c9lWtCtRMqzg+8jAdaEkrOStr7PGyUkDo8waTUcOMH RWGQ== X-Gm-Message-State: AOAM531P4Y7tD44InqAK2dcf4BuKqRdPPybJy0eXcWe5v2AwQyuCtlcL Z4o10rwAsscZ9VfmBLXyyzzSG0wcVDTcKO/B1yc= X-Google-Smtp-Source: ABdhPJzM+vHCXMHj7e+/dmP6si/7sZ0g/rtjuA6jqCx5JfZLv1nIepjAduVLt6BXuSsAFqdkcT4IHXeD0wreXBpruSU= X-Received: by 2002:a37:5887:: with SMTP id m129mr23016798qkb.207.1606740937262; Mon, 30 Nov 2020 04:55:37 -0800 (PST) In-Reply-To: <87sg8rcehf.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194632 Archived-At: Hello Lars, On Mon, Nov 30, 2020 at 11:43 AM Lars Ingebrigtsen wrote: > > Bastian Beischer writes: > > > The following file is incorrectly parsed by CC-Mode (font-lock > > considers everything after //bar to be a comment, for example): > > > > #include "foo.h"//bar > > int main(int argc, char** argv) { > > return 0; > > } > > > > This problem is reproduceable from emacs -Q when inserting the above > > into a c++-mode buffer. > > > > This is with emacs built from 94281c9a1cc0f756841fdc9b266657853df94a29 > > on master, but I guess this is relevant for emacs-26 as well. > > (This bug report unfortunately got no response at the time.) > > I'm unable to reproduce this in Emacs 26.1, 27.1 or the current trunk. > For instance, in Emacs 26.1, it displays as: > > > which looks correct to me. > > Are you still seeing this problem, or has it been fixed in the meantime? Yes, it seems it's fixed. Thanks for following up! Cheers Bastian > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no