From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23476: 25.0.93; Visiting C files on master signals an error Date: Sat, 07 May 2016 21:57:50 +0300 Message-ID: <83lh3lelw1.fsf@gnu.org> References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462647566 20627 80.91.229.3 (7 May 2016 18:59:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 May 2016 18:59:26 +0000 (UTC) Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 07 20:59:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1az7Ra-0000Fc-U7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 May 2016 20:59:15 +0200 Original-Received: from localhost ([::1]:34908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7RW-0006co-Um for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 May 2016 14:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7RT-0006Za-1a for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az7RO-0004M8-Lp for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7RO-0004M4-IZ for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1az7RO-0003wu-7n for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 May 2016 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23476 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23476-submit@debbugs.gnu.org id=B23476.146264748715116 (code B ref 23476); Sat, 07 May 2016 18:59:02 +0000 Original-Received: (at 23476) by debbugs.gnu.org; 7 May 2016 18:58:07 +0000 Original-Received: from localhost ([127.0.0.1]:42929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7QV-0003vj-Df for submit@debbugs.gnu.org; Sat, 07 May 2016 14:58:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7QU-0003vH-3V for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az7QL-0004BZ-Q9 for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:58:00 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7QL-0004BS-NS; Sat, 07 May 2016 14:57:57 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4748 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1az7QH-0002Iv-6g; Sat, 07 May 2016 14:57:56 -0400 In-reply-to: <20160507185225.GB3660@acm.fritz.box> (message from Alan Mackenzie on Sat, 7 May 2016 18:52:25 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117962 Archived-At: > Date: Sat, 7 May 2016 18:52:25 +0000 > Cc: andrewjmoreton@gmail.com, 23476@debbugs.gnu.org > From: Alan Mackenzie > > > No, I'd like that question to go away completely. Visiting Emacs > > sources shouldn't trigger such questions, IMO it's absurd. > > IF_LINT is an absurd macro, and C macros in general are absurd (unlike > Lisp ones). Something's got to give. Correct fontification is not important enough to be annoyed like that. IMO, this cure is worse than the disease. > > > To be fair, I did warn everybody about this in a post to emacs-devl on > > > 2016-04-30. > > > Why warn? Just let's not do it at all. > > Because the one-time inconvenience (not counting emacs -Q invocations) of > answering the question is far less than the irritation and possible > misunderstading caused by the unvarying mis-fontification of variables > near IF_LINTs (of which there are 84 in the C sources, including 15 in > xdisp.c). I frequently visit and edit Emacs sources with "emacs -Q", so the annoyance will be constant for me. Let's try to find a solution that doesn't involve unsafe values. I hope there is such a solution; if not, I'd rather have the macro mis-fontified than be annoyed by these questions each time I visit an Emacs source file. Thanks.