From unknown Sun Jun 22 07:56:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37132: 27.0.50; m4-mode.el highlighting of "dnl foo#bar" is incorrect Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Aug 2019 15:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 37132@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156640120014700 (code B ref -1); Wed, 21 Aug 2019 15:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Aug 2019 15:26:40 +0000 Received: from localhost ([127.0.0.1]:36280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0SVT-0003p2-T9 for submit@debbugs.gnu.org; Wed, 21 Aug 2019 11:26:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:36262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0SVS-0003ov-6Q for submit@debbugs.gnu.org; Wed, 21 Aug 2019 11:26:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48547) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0SVQ-0006GM-Uv for bug-gnu-emacs@gnu.org; Wed, 21 Aug 2019 11:26:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0SVP-0003Lz-PU for bug-gnu-emacs@gnu.org; Wed, 21 Aug 2019 11:26:36 -0400 Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:47482) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i0SVP-0003L9-JP for bug-gnu-emacs@gnu.org; Wed, 21 Aug 2019 11:26:35 -0400 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.92.1) (envelope-from ) id 1i0SVN-0007DR-Gj; Wed, 21 Aug 2019 17:26:33 +0200 From: Vincent Lefevre Date: Wed, 21 Aug 2019 17:26:33 +0200 Message-ID: <878srmk09i.fsf@vinc17.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 140.77.13.17 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On dnl foo bar dnl foo#bar dnl foo bar the highlighting of "dnl foo#bar" appears differently, which is incorrect: as dnl takes the precedence over comments (#), the 3 lines should be highlighted in the same way. In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) of 2019-08-20 built on cventin Repository revision: 50dc4ca8d02a466a7236765edf83ae7cfb02d74c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux bullseye/sid Recent messages: Loading /home/vlefevre/share/emacs/site-lisp/mutteditor.el (source)...done Loading time...done For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/usr/local/emacs-trunk' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: POSIX value of $LC_CTYPE: en_US.UTF-8 value of $LC_TIME: en_DK value of $LANG: POSIX locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr warnings emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time cus-start cus-load paren cc-styles cc-align cc-engine cc-vars cc-defs edmacro kmacro cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 65436 8223) (symbols 48 8743 1) (strings 32 20756 2773) (string-bytes 1 700866) (vectors 16 11314) (vector-slots 8 144010 7312) (floats 8 24 22) (intervals 56 217 0) (buffers 992 12)) From unknown Sun Jun 22 07:56:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37132: 27.0.50; m4-mode.el highlighting of "dnl foo#bar" is incorrect Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2019 12:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vincent Lefevre Cc: 37132@debbugs.gnu.org Received: via spool by 37132-submit@debbugs.gnu.org id=B37132.157243778722236 (code B ref 37132); Wed, 30 Oct 2019 12:17:01 +0000 Received: (at 37132) by debbugs.gnu.org; 30 Oct 2019 12:16:27 +0000 Received: from localhost ([127.0.0.1]:49409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPmtn-0005ma-HC for submit@debbugs.gnu.org; Wed, 30 Oct 2019 08:16:27 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPmtl-0005mO-Gt for 37132@debbugs.gnu.org; Wed, 30 Oct 2019 08:16:25 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPmth-0005j6-8z; Wed, 30 Oct 2019 13:16:23 +0100 From: Lars Ingebrigtsen References: <878srmk09i.fsf@vinc17.net> Date: Wed, 30 Oct 2019 13:16:20 +0100 In-Reply-To: <878srmk09i.fsf@vinc17.net> (Vincent Lefevre's message of "Wed, 21 Aug 2019 17:26:33 +0200") Message-ID: <875zk6whrf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Vincent Lefevre writes: > On > > dnl foo bar > dnl foo#bar > dnl foo bar > > the highlighting of "dnl foo#bar" appears differently, which is > incorrect: as dnl takes the precedence over comments (#), the > 3 lines should be [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Vincent Lefevre writes: > On > > dnl foo bar > dnl foo#bar > dnl foo bar > > the highlighting of "dnl foo#bar" appears differently, which is > incorrect: as dnl takes the precedence over comments (#), the > 3 lines should be highlighted in the same way. This should now be fixed in Emacs 27. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 08:16:34 2019 Received: (at control) by debbugs.gnu.org; 30 Oct 2019 12:16:34 +0000 Received: from localhost ([127.0.0.1]:49412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPmts-0005mr-Pj for submit@debbugs.gnu.org; Wed, 30 Oct 2019 08:16:34 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPmtp-0005mj-KI for control@debbugs.gnu.org; Wed, 30 Oct 2019 08:16:31 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPmtm-0005jD-Qf for control@debbugs.gnu.org; Wed, 30 Oct 2019 13:16:28 +0100 Date: Wed, 30 Oct 2019 13:16:26 +0100 Message-Id: <874kzqwhr9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #37132 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 37132 fixed close 37132 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 37132 fixed close 37132 27.1 quit