From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#23476: 25.0.93; Visiting C files on master signals an error Date: Sat, 7 May 2016 18:52:25 +0000 Message-ID: <20160507185225.GB3660@acm.fritz.box> References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1462647202 15467 80.91.229.3 (7 May 2016 18:53:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 May 2016 18:53:22 +0000 (UTC) Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 07 20:53:10 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 1az7Li-0003bu-4g for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 May 2016 20:53:10 +0200 Original-Received: from localhost ([::1]:34898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7Lh-0007di-Ca for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 May 2016 14:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7Le-0007bG-0K for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az7La-0003KM-N1 for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7La-0003KI-JN for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1az7La-0003oq-4x for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 14:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 May 2016 18:53: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.146264715314645 (code B ref 23476); Sat, 07 May 2016 18:53:02 +0000 Original-Received: (at 23476) by debbugs.gnu.org; 7 May 2016 18:52:33 +0000 Original-Received: from localhost ([127.0.0.1]:42925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7L3-0003o4-04 for submit@debbugs.gnu.org; Sat, 07 May 2016 14:52:32 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:31638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7L1-0003nw-DQ for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:52:27 -0400 Original-Received: (qmail 84787 invoked by uid 3782); 7 May 2016 18:52:26 -0000 Original-Received: from acm.muc.de (p548C617B.dip0.t-ipconnect.de [84.140.97.123]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 07 May 2016 20:52:25 +0200 Original-Received: (qmail 4435 invoked by uid 1000); 7 May 2016 18:52:25 -0000 Content-Disposition: inline In-Reply-To: <83mvo1enoe.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:117961 Archived-At: Hello, Eli. On Sat, May 07, 2016 at 09:19:13PM +0300, Eli Zaretskii wrote: > > Date: Sat, 7 May 2016 17:50:30 +0000 > > Cc: Andy Moreton , 23476@debbugs.gnu.org > > From: Alan Mackenzie > > > Thanks. This eliminates the error, but not the annoying question > > > about unsafe variables. > > The annoying question, you only need to answer once (with !). The > > setting eliminates the annoying misfontification of the constructs using > > the IF_LINT macro, e.g. in window.c, in the following: > > int top IF_LINT (= 0), ... > > , top now gets correctly fontified as a variable declaration, not as a > > function declaration, as still happens in the emacs-25 branch. > 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. > > 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). > Thanks. -- Alan Mackenzie (Nuremberg, Germany).