From unknown Wed Jul 09 17:56:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35124: 26.1; ada-mode 6.1.0 no longer syntax-highlights package names at end of spec Resent-From: Ludovic Brenta Original-Sender: "Debbugs-submit" Resent-CC: ada-mode-users@nongnu.org, bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2019 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35124 X-GNU-PR-Package: emacs, ada-mode X-GNU-PR-Keywords: To: 35124@debbugs.gnu.org Cc: ada-mode-users@nongnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: ada-mode-users@nongnu.org Received: via spool by submit@debbugs.gnu.org id=B.15543075407143 (code B ref -1); Wed, 03 Apr 2019 16:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 16:05:40 +0000 Received: from localhost ([127.0.0.1]:43121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBiOS-0001r8-28 for submit@debbugs.gnu.org; Wed, 03 Apr 2019 12:05:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBiOQ-0001qw-Jw for submit@debbugs.gnu.org; Wed, 03 Apr 2019 12:05:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:47874) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBiOL-0007ER-8k for submit@debbugs.gnu.org; Wed, 03 Apr 2019 12:05:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBiOJ-0000Lr-8m for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 12:05:33 -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,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 1hBiOI-0006td-C8 for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 12:05:31 -0400 Received: from webmail.bookmyname.com ([88.191.249.153]:47355 helo=webmail.free.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBiOI-0005Xu-16 for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 12:05:30 -0400 Received: from 153.98.68.208 (unknown [127.0.1.3]) by webmail.free.org (Postfix) with ESMTP id 5B4EC43697 for ; Wed, 3 Apr 2019 18:05:17 +0200 (CEST) Received: from [153.98.68.208] by webmail.ludovic-brenta.org with HTTP (HTTP/1.1 POST); Wed, 03 Apr 2019 18:05:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 03 Apr 2019 18:05:17 +0200 From: Ludovic Brenta Message-ID: X-Sender: ludovic@ludovic-brenta.org X-Complaints-To: abuse_at_bookmyname.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Origin-Web-Site: webmail.ludovic-brenta.org X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 88.191.249.153 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.9 (/) 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: -0.1 (/) X-Debbugs-CC: ada-mode-users@nongnu.org Package: emacs, ada-mode Version: 26.1 Severity: minor If you load a file consisting of these three lines: package Foo is procedure P; end Foo; then the second "Foo" is not syntax-highlighted. If you then remove the "procedure P", the second Foo is highlighted properly. This micro-bug is triggered only when wisi-partial-parse-threshold is less than the size of the buffer (i.e. it is zero). -- Ludovic Brenta. From unknown Wed Jul 09 17:56:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35124: 26.1; ada-mode 6.1.0 no longer syntax-highlights package names at end of spec Resent-From: Stephen Leake Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2019 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35124 X-GNU-PR-Package: emacs, ada-mode X-GNU-PR-Keywords: To: Ludovic Brenta Cc: 35124@debbugs.gnu.org, ada-mode-users@nongnu.org Received: via spool by 35124-submit@debbugs.gnu.org id=B35124.15587167487595 (code B ref 35124); Fri, 24 May 2019 16:53:01 +0000 Received: (at 35124) by debbugs.gnu.org; 24 May 2019 16:52:28 +0000 Received: from localhost ([127.0.0.1]:47190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUDQh-0001yR-NK for submit@debbugs.gnu.org; Fri, 24 May 2019 12:52:27 -0400 Received: from gproxy10-pub.mail.unifiedlayer.com ([69.89.20.226]:37997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUDQd-0001y9-Qz for 35124@debbugs.gnu.org; Fri, 24 May 2019 12:52:26 -0400 Received: from cmgw12.unifiedlayer.com (unknown [10.9.0.12]) by gproxy10.mail.unifiedlayer.com (Postfix) with ESMTP id E7F08143193 for <35124@debbugs.gnu.org>; Fri, 24 May 2019 10:50:03 -0600 (MDT) Received: from host114.hostmonster.com ([74.220.207.114]) by cmsmtp with ESMTP id UDONhiY36mds9UDONhId6U; Fri, 24 May 2019 10:50:03 -0600 X-Authority-Reason: nr=8 X-Authority-Analysis: $(_cmae_reason Received: from [76.77.182.20] (port=55270 helo=Takver4) by host114.hostmonster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hUDON-002VTf-Ji; Fri, 24 May 2019 10:50:03 -0600 From: Stephen Leake References: Date: Fri, 24 May 2019 08:49:55 -0800 In-Reply-To: (Ludovic Brenta's message of "Wed, 03 Apr 2019 18:05:17 +0200") Message-ID: <86blzrx0ek.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host114.hostmonster.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1hUDON-002VTf-Ji X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (Takver4) [76.77.182.20]:55270 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 3 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDExNC5ob3N0bW9uc3Rlci5jb20= X-Local-Domain: yes X-Spam-Score: -0.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: -1.3 (-) Ludovic Brenta writes: > If you load a file consisting of these three lines: > > package Foo is > procedure P; > end Foo; > > then the second "Foo" is not syntax-highlighted. I can't reproduce this with this small file; font-lock requests that the entire buffer be parsed, so it is done correctly. With a larger file, so the start of the package is farther away than the default font-lock chunk size, the final package name is not highlighted. This is because the 'end Foo;' is extra text at the end of the partial parse, and the error recovery inserts 'begin', leaving a labeled block, in which the label is not highlighted. If the name has a '.', then it can't be a block label, and it might be possible to convince the error recovery to insert "package is begin" instead; I'll work on that. -- -- Stephe From unknown Wed Jul 09 17:56:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic Brenta Subject: bug#35124: closed (close) Message-ID: References: <86a7c7xtii.fsf@stephe-leake.org> X-Gnu-PR-Message: they-closed 35124 X-Gnu-PR-Package: emacs, ada-mode Reply-To: 35124@debbugs.gnu.org Date: Sat, 17 Aug 2019 23:28:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1566084485-19894-1" This is a multi-part message in MIME format... ------------=_1566084485-19894-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35124: 26.1; ada-mode 6.1.0 no longer syntax-highlights package names at e= nd of spec which was filed against the emacs, ada-mode package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 35124@debbugs.gnu.org. --=20 35124: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35124 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1566084485-19894-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35124-close) by debbugs.gnu.org; 17 Aug 2019 23:27:24 +0000 Received: from localhost ([127.0.0.1]:57111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hz86V-00059c-SM for submit@debbugs.gnu.org; Sat, 17 Aug 2019 19:27:24 -0400 Received: from gateway23.websitewelcome.com ([192.185.50.120]:47596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hz86R-00059P-LI for 35124-close@debbugs.gnu.org; Sat, 17 Aug 2019 19:27:22 -0400 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 0515F4560 for <35124-close@debbugs.gnu.org>; Sat, 17 Aug 2019 18:27:19 -0500 (CDT) Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id z86Qh8NJ090onz86QhwM91; Sat, 17 Aug 2019 18:27:19 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1w1c+9lpuRS0Kru1xoTVptnXWmC8kbQt+for7R8V1oo=; b=hc3MNZNEdeA38IrjSuNoq51Y3U H54GMVnMW5Pw4HJyI6UDsIAVVDxpQEnj3yvsNx3cRpnQHuBvFaZZkW+gF6f3dVTGEQlEPLNH7HD68 UBfknlTnH+r+xygFngBgWcs3dviODLLQRlkP2GHm4T4gceLVxDoIZs7Rexf2y7iVsjHybhn6BCZ9R ykkN9sgKhaLD+j7paZBOXWGAm0Tix08AtFQt6kan+BHY6pjTRCk6YAdrqAVaWjpIuiMBSoaZlUcLD SsfZ68II0/yGqIAsK1KCoKycGx/7J0w1O7DQm4fzTHql/EURgn/wBKb+z6ML7cMhFAUPPRzjud+Qf 83rK+2GQ==; Received: from [76.77.182.20] (port=51307 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hz86Q-002nup-Db for 35124-close@debbugs.gnu.org; Sat, 17 Aug 2019 17:27:18 -0600 From: Stephen Leake To: 35124-close@debbugs.gnu.org Subject: close Date: Sat, 17 Aug 2019 16:27:17 -0700 Message-ID: <86a7c7xtii.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1hz86Q-002nup-Db X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (Takver4) [76.77.182.20]:51307 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 8 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 35124-close 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: -0.6 (/) -- -- Stephe ------------=_1566084485-19894-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 16:05:40 +0000 Received: from localhost ([127.0.0.1]:43121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBiOS-0001r8-28 for submit@debbugs.gnu.org; Wed, 03 Apr 2019 12:05:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBiOQ-0001qw-Jw for submit@debbugs.gnu.org; Wed, 03 Apr 2019 12:05:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:47874) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBiOL-0007ER-8k for submit@debbugs.gnu.org; Wed, 03 Apr 2019 12:05:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBiOJ-0000Lr-8m for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 12:05:33 -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,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 1hBiOI-0006td-C8 for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 12:05:31 -0400 Received: from webmail.bookmyname.com ([88.191.249.153]:47355 helo=webmail.free.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBiOI-0005Xu-16 for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 12:05:30 -0400 Received: from 153.98.68.208 (unknown [127.0.1.3]) by webmail.free.org (Postfix) with ESMTP id 5B4EC43697 for ; Wed, 3 Apr 2019 18:05:17 +0200 (CEST) Received: from [153.98.68.208] by webmail.ludovic-brenta.org with HTTP (HTTP/1.1 POST); Wed, 03 Apr 2019 18:05:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 03 Apr 2019 18:05:17 +0200 From: Ludovic Brenta To: bug-gnu-emacs@gnu.org Subject: 26.1; ada-mode 6.1.0 no longer syntax-highlights package names at end of spec Message-ID: X-Sender: ludovic@ludovic-brenta.org X-Complaints-To: abuse_at_bookmyname.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Origin-Web-Site: webmail.ludovic-brenta.org X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 88.191.249.153 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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: -0.1 (/) X-Debbugs-CC: ada-mode-users@nongnu.org Package: emacs, ada-mode Version: 26.1 Severity: minor If you load a file consisting of these three lines: package Foo is procedure P; end Foo; then the second "Foo" is not syntax-highlighted. If you then remove the "procedure P", the second Foo is highlighted properly. This micro-bug is triggered only when wisi-partial-parse-threshold is less than the size of the buffer (i.e. it is zero). -- Ludovic Brenta. ------------=_1566084485-19894-1--