From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#50640: 28.0.50; incorrect highlighting in C++ mode Date: Sat, 25 Sep 2021 11:17:07 -0700 Message-ID: References: <87czp79x6s.fsf@vinc17.net> 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="17659"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50640@debbugs.gnu.org, Vincent Lefevre To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 25 20:18:14 2021 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 1mUCFa-0004OG-MK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 20:18:14 +0200 Original-Received: from localhost ([::1]:43876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUCFZ-0006EX-HM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 14:18:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUCFO-0006Cz-Kd for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 14:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51359) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUCFO-0002cq-Di for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 14:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUCFO-0008Sl-A7 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 14:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2021 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50640 X-GNU-PR-Package: emacs Original-Received: via spool by 50640-submit@debbugs.gnu.org id=B50640.163259383632412 (code B ref 50640); Sat, 25 Sep 2021 18:18:02 +0000 Original-Received: (at 50640) by debbugs.gnu.org; 25 Sep 2021 18:17:16 +0000 Original-Received: from localhost ([127.0.0.1]:34659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUCEe-0008Qi-HA for submit@debbugs.gnu.org; Sat, 25 Sep 2021 14:17:16 -0400 Original-Received: from mail-pf1-f171.google.com ([209.85.210.171]:37728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUCEb-0008QD-KQ for 50640@debbugs.gnu.org; Sat, 25 Sep 2021 14:17:14 -0400 Original-Received: by mail-pf1-f171.google.com with SMTP id n23so8967734pfv.4 for <50640@debbugs.gnu.org>; Sat, 25 Sep 2021 11:17:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=07Dy293fvnf9fiN+PaqAuy+uR4alTzp63kUjJULGcT8=; b=4h10C0aGtd/OL1D571FH09ShArIvJ8E/JyNAOegDsNK7Vk1Hg2exH9WA4+fLs7IHJd rDBLKBKhNXY9Gmm9T3PeRVRkJK6NuTNqzpveX/Ce5fWJaLpMY5MFTnjTs0ZuekFNYios aE88hYGnbZurIuumpPzkyMesAMzyNCBHwFU4s/lFHT4A13SAtCr1tglaMqOsOwCsNtbo FmOOaTBnruWPdGItRjl/OuJQaussRTe/LycmCPko4rY3WvNKmkdEMY9GmNxcvlc/ACPK Hvt57ELKbaeRbul+YG+6MdtbUXKfwqb01fC0sDjfefgx2SGgwa/OhbjllOO5tnjXkFr6 qOyQ== X-Gm-Message-State: AOAM532cGN1Q6K3x0QuI5tq/++l9Pf/6QQwwo2Sojjf8wsZXi9/ruA9/ qRBq1WdSWrvd4G8Vb0+WU3B+Y+/7Z7LxBlosUWbu4Ld2BLY= X-Google-Smtp-Source: ABdhPJxIiBMwa05rzjGrvoK33aUvaZNc0qH6D72CRkLceSfVUK6BpbFe0Avutn477RJxFQDnKC1rl8diCrUcq7kOTHo= X-Received: by 2002:a05:6a00:1586:b0:447:b30c:4a65 with SMTP id u6-20020a056a00158600b00447b30c4a65mr15393484pfk.0.1632593828001; Sat, 25 Sep 2021 11:17:08 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 25 Sep 2021 11:17:07 -0700 In-Reply-To: <87czp79x6s.fsf@vinc17.net> (Vincent Lefevre's message of "Fri, 17 Sep 2021 14:57:31 +0200") 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:215493 Archived-At: Vincent Lefevre writes: > Consider a test.cc file containing: > > if (xMin - xt < t3Font->glyphX || > yMin - yt < t3Font->glyphY || > xMax - xt > t3Font->glyphX + t3Font->glyphW || > yMax - yt > t3Font->glyphY + t3Font->glyphH) { > } > > (this comes from the xpdf source) and open it with "emacs -Q". > > The first two "xt" and "yt" are highlighted in green instead of > remaining in black. If I remove the last condition as follows > and reopen the file: > > if (xMin - xt < t3Font->glyphX || > yMin - yt < t3Font->glyphY || > xMax - xt > t3Font->glyphX + t3Font->glyphW) { > } > > then only the "yt" is highlighted incorrectly. Alan, could you take a look at this bug report? (I don't know if you're subscribed to the bug list, my apologies if you have already seen it.)