From unknown Thu Jun 19 14:06:01 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#9319 <9319@debbugs.gnu.org> To: bug#9319 <9319@debbugs.gnu.org> Subject: Status: Compilation fontification regression Reply-To: bug#9319 <9319@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:01 +0000 retitle 9319 Compilation fontification regression reassign 9319 emacs submitter 9319 Juri Linkov severity 9319 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 18 07:54:20 2011 Received: (at submit) by debbugs.gnu.org; 18 Aug 2011 11:54:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qu1Ax-0006GD-Sb for submit@debbugs.gnu.org; Thu, 18 Aug 2011 07:54:20 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qu1At-0006G1-2A for submit@debbugs.gnu.org; Thu, 18 Aug 2011 07:54:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu18x-0004P5-6G for submit@debbugs.gnu.org; Thu, 18 Aug 2011 07:52:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:56557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu18x-0004Ox-4r for submit@debbugs.gnu.org; Thu, 18 Aug 2011 07:52:15 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu18v-0008J9-Oa for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 07:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu18u-0004Oh-Qh for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 07:52:13 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]:38514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu18u-0004Ob-LP for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 07:52:12 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id F2F6D6E806B for ; Thu, 18 Aug 2011 04:52:11 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 54471451C3C3 for ; Thu, 18 Aug 2011 04:52:11 -0700 (PDT) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: Compilation fontification regression Organization: JURTA Date: Thu, 18 Aug 2011 14:47:01 +0300 Message-ID: <87ty9f54cq.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) 1. Comparing etc/compilation.txt in side-by-side frames with versions 23.1 and 24.0 (current Bzr trunk) reveals the regression in fontification of some compilation error/warning messages. I see differences in the following sections: * IBM jikes, Sparc Pascal, GCOV, Podchecker - errors/warnings not highlighted, so this looks like a bug. * ant - warning highlighted with `error' face. But maybe this change is based on the user's request, I don't know. Other changes between 23.1 and 24.0 look like bug fixes that provide more correct fontification. 2. Sometimes errors/warnings are not fontified at all. For instance, C-x C-f etc/compilation.txt RET C-s RET symbol: sun RET i.e. non-incremental search that goes directly to the given section, fontifies nothing. But scrolling slowly with C-v from the beginning of the etc/compilation.txt buffer, fontifies everything. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 20 22:12:49 2011 Received: (at 9319) by debbugs.gnu.org; 21 Aug 2011 02:12:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuxWq-0001dp-SA for submit@debbugs.gnu.org; Sat, 20 Aug 2011 22:12:49 -0400 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuxWo-0001di-SU for 9319@debbugs.gnu.org; Sat, 20 Aug 2011 22:12:48 -0400 Received: from furball (dhcp-128-36-14-148.central.yale.edu [128.36.14.148]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p7L2AWvx008305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 20 Aug 2011 22:10:32 -0400 From: Chong Yidong To: Juri Linkov Subject: Re: bug#9319: Compilation fontification regression References: <87ty9f54cq.fsf@mail.jurta.org> Date: Sat, 20 Aug 2011 22:10:32 -0400 In-Reply-To: <87ty9f54cq.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 18 Aug 2011 14:47:01 +0300") Message-ID: <87y5ynv7jb.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 9319 Cc: 9319@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Juri Linkov writes: > * IBM jikes, Sparc Pascal, GCOV, Podchecker > - errors/warnings not highlighted, > so this looks like a bug. > > * ant > - warning highlighted with `error' face. But maybe this change > is based on the user's request, I don't know. > > Other changes between 23.1 and 24.0 look like bug fixes > that provide more correct fontification. > > 2. Sometimes errors/warnings are not fontified at all. > For instance, > > C-x C-f etc/compilation.txt RET > C-s RET symbol: sun RET > > i.e. non-incremental search that goes directly to the given section, > fontifies nothing. Both problems were due to incorrect code in compilation-error-properties causing it to signal an error for error definitions with nil filenames, introduced when Stefan revamped compile.el. I've committed a fix. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 20 22:12:58 2011 Received: (at control) by debbugs.gnu.org; 21 Aug 2011 02:12:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuxX0-0001e9-BV for submit@debbugs.gnu.org; Sat, 20 Aug 2011 22:12:58 -0400 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuxWy-0001e3-Ug for control@debbugs.gnu.org; Sat, 20 Aug 2011 22:12:57 -0400 Received: from furball (dhcp-128-36-14-148.central.yale.edu [128.36.14.148]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p7L2Agw3008345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 20 Aug 2011 22:10:43 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 9319 Date: Sat, 20 Aug 2011 22:10:42 -0400 Message-ID: <87hb5bh5ul.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 9319 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 22 08:51:08 2011 Received: (at 9319) by debbugs.gnu.org; 22 Aug 2011 12:51:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvTy8-0006sC-6w for submit@debbugs.gnu.org; Mon, 22 Aug 2011 08:51:08 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvTy3-0006rp-1o for 9319@debbugs.gnu.org; Mon, 22 Aug 2011 08:51:05 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id E68116E806A; Mon, 22 Aug 2011 05:48:39 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 20857451C35E; Mon, 22 Aug 2011 05:48:38 -0700 (PDT) From: Juri Linkov To: Chong Yidong Subject: Re: bug#9319: Compilation fontification regression Organization: JURTA References: <87ty9f54cq.fsf@mail.jurta.org> <87y5ynv7jb.fsf@stupidchicken.com> Date: Mon, 22 Aug 2011 15:48:08 +0300 In-Reply-To: <87y5ynv7jb.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 20 Aug 2011 22:10:32 -0400") Message-ID: <874o19eho7.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9319 Cc: 9319@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > Both problems were due to incorrect code in compilation-error-properties > causing it to signal an error for error definitions with nil filenames, > introduced when Stefan revamped compile.el. I've committed a fix. Thanks, now this is fixed. I noticed another regression: in etc/compilation.txt the line tool1 -output=foo foo.x is highlighted incorrectly. This is caused by revno:102131 from: http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg01018.html I fixed this by reverting to the old regexp and removing just one unnecessary question mark. Now all these samples are highlighted correctly: tool -o foo.o foo.c tool -o=foo.o foo.c tool -output foo.o foo.c tool -output=foo.o foo.c tool -outfile foo.o foo.c tool -outfile=foo.o foo.c tool --output foo.o foo.c tool --output=foo.o foo.c tool --outfile foo.o foo.c tool --outfile=foo.o foo.c whereas the following are not highlighted: tool --omega foo.c tool --output-html-file foo.c From unknown Thu Jun 19 14:06:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 20 Sep 2011 11: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