From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.bugs Subject: bug#39578: 27.0.50; [rainbow-mode] #define is colored in c++-mode Date: Fri, 30 Oct 2020 16:53:05 +0100 Message-ID: References: <20200212160653.47ba4e3d@ventiloplattform.tastytea.de> <87a6w71pqg.fsf@gnus.org> <87a6w3ly91.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13739"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) Cc: tastytea , 39578@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 30 16:54:10 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 1kYWjB-0003Su-Re for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 16:54:10 +0100 Original-Received: from localhost ([::1]:41332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYWjA-0006BV-QK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 11:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYWj3-0006B4-VT for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 11:54:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYWj3-00046N-MC for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 11:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYWj3-0005zg-Ji for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 11:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Julien Danjou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Oct 2020 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39578 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 39578-submit@debbugs.gnu.org id=B39578.160407319622984 (code B ref 39578); Fri, 30 Oct 2020 15:54:01 +0000 Original-Received: (at 39578) by debbugs.gnu.org; 30 Oct 2020 15:53:16 +0000 Original-Received: from localhost ([127.0.0.1]:59358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWiK-0005yd-0y for submit@debbugs.gnu.org; Fri, 30 Oct 2020 11:53:16 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWiH-0005yP-8I for 39578@debbugs.gnu.org; Fri, 30 Oct 2020 11:53:15 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E05A35C020F; Fri, 30 Oct 2020 11:53:07 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 30 Oct 2020 11:53:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danjou.info; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=fm2; bh=qspciO9aNGZOvUmB3FXb3otFr6 YW9204ft6tygAnt34=; b=fLPNrlOY10Aq6xCOZcVxPfJr5Z9sIMOUv2juVr8F9E FsnP9BtKf5gX7bYLPojVGA1FK0ZtIyzISokht/nmE6TUH3WDhVryoI3+PjaVRsoA 8bYN67h4nZHzB7xFwqtlFARg31RjJmJHrWUwyFchO0a9ONzfmYEvH2KAxoJoLN1z Rom99E3Ke1YOcsxdDSE7zmATLcJLKio2GYr3DxVObEMN3KhztiqxjU8g8GC5AerV P9QPf2XSHJ4zV56fqK3uCLb9paaAKIBok/QLz0/2IAh3Mv14CEBnZwdu/9VmJ7Hc wAHOZyOc15/MR+SMcoNvi3CeTM7np/5dp9DeP5WIBdhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qspciO 9aNGZOvUmB3FXb3otFr6YW9204ft6tygAnt34=; b=gAV9y5FRnOXvRnsbq6eE6i RsYZ5F67/AHelF1g7VrWudzvuRhW6KYGd3tmacLhrB0afRopHSQCnTXI2peCPVGN CgfLg0/w3Woqap8dTRxOiUVemRL+AmZ93D+4L3kIXARytX89LMh6ZOiMmg/NLLWu OHPWCRl/BXgTHyk6/J+hw0UZ5T//Z961Z/Jp2jK2B8kj/baXCoxVvlqrxZlO2A0l P2ZR85db7H4AH+fV5INBHGuKK3f7if6t1+6wgYxB4KfDab3fwzvPkPfilO3KCOOv pk3cpZEAC0oHrJnm+vEHEC+rZkQdoy+H6l6vW9A7I43zuTTjXuZdZzdmXPQNzWxQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleehgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhulhhivghn ucffrghnjhhouhcuoehjuhhlihgvnhesuggrnhhjohhurdhinhhfoheqnecuggftrfgrth htvghrnhephffhtdetueevheehudekfeeiveekkeegvdejieeuledttedvvddtvddvleeh iedtnecuffhomhgrihhnpegurghnjhhouhdrihhnfhhonecukfhppeekvddrieejrdegtd druddvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjuhhlihgvnhesuggrnhhjohhurdhinhhfoh X-ME-Proxy: Original-Received: from abydog (unknown [82.67.40.125]) by mail.messagingengine.com (Postfix) with ESMTPA id 11C97328005D; Fri, 30 Oct 2020 11:53:06 -0400 (EDT) In-Reply-To: <87a6w3ly91.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 30 Oct 2020 13:00:26 +0100") 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:192139 Archived-At: On Fri, Oct 30 2020, Lars Ingebrigtsen wrote: > It seems like a more general problem to me. That is, "#def" should be > colourized, but "#defi" should not? > > So would checking for a word boundary after the regexp be sufficient? > Or are there places where #000000foobar makes sense and we really want > to colourize that #000000 bit? It might be. It's hard to say since I don't have a good memory and there is no unit test. :( -- Julien Danjou /* Free Software hacker https://julien.danjou.info */