From unknown Tue Aug 19 02:53:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18622 <18622@debbugs.gnu.org> To: bug#18622 <18622@debbugs.gnu.org> Subject: Status: Syntax highlighting in bat-mode Reply-To: bug#18622 <18622@debbugs.gnu.org> Date: Tue, 19 Aug 2025 09:53:13 +0000 retitle 18622 Syntax highlighting in bat-mode reassign 18622 emacs submitter 18622 Arni Magnusson severity 18622 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 03 13:59:04 2014 Received: (at submit) by debbugs.gnu.org; 3 Oct 2014 17:59:04 +0000 Received: from localhost ([127.0.0.1]:60515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xa78B-0004os-OF for submit@debbugs.gnu.org; Fri, 03 Oct 2014 13:59:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53445) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xa789-0004oL-3O for submit@debbugs.gnu.org; Fri, 03 Oct 2014 13:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xa77y-0004kk-Vr for submit@debbugs.gnu.org; Fri, 03 Oct 2014 13:59:00 -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.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xa77y-0004kg-TY for submit@debbugs.gnu.org; Fri, 03 Oct 2014 13:58:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xa77r-0000su-5d for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 13:58:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xa77j-0004iX-NV for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 13:58:43 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:44557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xa77j-0004h3-DC for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 13:58:35 -0400 X-Virus-Scanned: amavisd-new at hafro.is Received: from hafstokkur.hafro.is (hafstokkur.hafro.is [130.208.66.45]) by hafgarpur.hafro.is (8.14.4/8.14.4/hafro-2.48) with ESMTP id s93HwSjF029897 for ; Fri, 3 Oct 2014 17:58:28 GMT Received: from hafstokkur.hafro.is (localhost [127.0.0.1]) by hafstokkur.hafro.is (8.14.8/8.14.7/hafro-1.6) with ESMTP id s93HwRWH015544 for ; Fri, 3 Oct 2014 17:58:27 GMT Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.8/8.14.7/hafro-0.3) with ESMTP id s93HwRlG015541 for ; Fri, 3 Oct 2014 17:58:27 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs Date: Fri, 3 Oct 2014 17:58:27 +0000 (GMT) From: Arni Magnusson To: bug-gnu-emacs@gnu.org Subject: Syntax highlighting in bat-mode Message-ID: User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) There appears to be a bug in the syntax highlighting `bat-mode' (Emacs pretest 24.3.94). In the following lines, the word FOO should be highlighted: call FOO set FOO=42 I was able to get the desired syntax highlighting by moving one underscore within line 81 of bat-mode.el: \\<_ to \\_< and a similar change in line 85. Cheers, Arni From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 10 00:04:23 2014 Received: (at 18622-done) by debbugs.gnu.org; 10 Oct 2014 04:04:23 +0000 Received: from localhost ([127.0.0.1]:39638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcRRH-0001W6-76 for submit@debbugs.gnu.org; Fri, 10 Oct 2014 00:04:23 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:63264) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcRRE-0001Vx-ST for 18622-done@debbugs.gnu.org; Fri, 10 Oct 2014 00:04:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArUGAIDvNVNFxKjo/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="93753204" Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Oct 2014 00:04:19 -0400 Received: by pastel.home (Postfix, from userid 20848) id 8BE6B85A3; Fri, 10 Oct 2014 00:04:19 -0400 (EDT) From: Stefan Monnier To: Arni Magnusson Subject: Re: bug#18622: Syntax highlighting in bat-mode Message-ID: References: Date: Fri, 10 Oct 2014 00:04:19 -0400 In-Reply-To: (Arni Magnusson's message of "Fri, 3 Oct 2014 17:58:27 +0000 (GMT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 18622-done Cc: 18622-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 0.3 (/) Version:24.4 > I was able to get the desired syntax highlighting by moving one underscore > within line 81 of bat-mode.el: > \\<_ to \\_< > and a similar change in line 85. Indeed, thank you. Should be fixed. A similar bug was present in prolog.el. Stefan From unknown Tue Aug 19 02:53:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Nov 2014 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator