From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Nostalgia in CC Mode. Date: Thu, 5 Oct 2017 17:35:56 +0000 Message-ID: <20171005173556.GA4924@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1507225041 8529 195.159.176.226 (5 Oct 2017 17:37:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Oct 2017 17:37:21 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 05 19:37:12 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0A57-0000sG-BS for ged-emacs-devel@m.gmane.org; Thu, 05 Oct 2017 19:37:09 +0200 Original-Received: from localhost ([::1]:41176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0A5E-0004Ln-Qp for ged-emacs-devel@m.gmane.org; Thu, 05 Oct 2017 13:37:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0A4b-0004Lf-U6 for emacs-devel@gnu.org; Thu, 05 Oct 2017 13:36:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0A4Y-0008Dw-RX for emacs-devel@gnu.org; Thu, 05 Oct 2017 13:36:37 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:21596 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1e0A4Y-0008BP-GK for emacs-devel@gnu.org; Thu, 05 Oct 2017 13:36:34 -0400 Original-Received: (qmail 16320 invoked by uid 3782); 5 Oct 2017 17:36:30 -0000 Original-Received: from acm.muc.de (p548C6B26.dip0.t-ipconnect.de [84.140.107.38]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 05 Oct 2017 19:36:30 +0200 Original-Received: (qmail 5805 invoked by uid 1000); 5 Oct 2017 17:35:56 -0000 Content-Disposition: inline X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219131 Archived-At: Hello, Emacs. I've recently fixed a few long standing bugs in CC Mode such that typeless function declarations in C Mode now get properly fontified. These are those implicit integer typed constructs, which look rather like function calls. So, in your 30 year old code, you will get "main" and "pain" properly fontified in the following: main (int argc, _char *argv[]); pain (int argc, _char *argv[]) {} . This also works with K&R function declarations: main (argc, argv) int argc; char *argv; {} . At the moment, this is in the emacs-26 branch. It will presumably find its way to the master branch when Somebody (tm) does the routine copying of such bugfixes between branches. -- Alan Mackenzie (Nuremberg, Germany).