From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: coccinelle patch suggestion Date: Wed, 27 Jun 2012 23:03:01 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340831002 12286 80.91.229.3 (27 Jun 2012 21:03:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 21:03:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 23:03:20 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SjzOK-0004K1-NC for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 23:03:12 +0200 Original-Received: from localhost ([::1]:53406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjzOK-0006Ur-L2 for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 17:03:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjzOI-0006UK-0T for emacs-devel@gnu.org; Wed, 27 Jun 2012 17:03:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjzOG-0007U3-Cw for emacs-devel@gnu.org; Wed, 27 Jun 2012 17:03:09 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:34535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjzOD-0007R3-Mz; Wed, 27 Jun 2012 17:03:05 -0400 Original-Received: from frontend4.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 3WMxRP07Gvz3hhXS; Wed, 27 Jun 2012 23:03:12 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-99-69.dynamic.mnet-online.de [88.217.99.69]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WMxRB6GDSzbbs8; Wed, 27 Jun 2012 23:03:02 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 30996CA2A5; Wed, 27 Jun 2012 23:03:01 +0200 (CEST) X-Yow: I FORGOT to do the DISHES!! In-Reply-To: (Dan Nicolaescu's message of "Wed, 27 Jun 2012 13:12:22 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151237 Archived-At: Dan Nicolaescu writes: > Many lisp functions are declared in header files using the EXFUN macro, > like this: > EXFUN (Finteractive_form, 1); > > this might have been good when wanting to support both pre-standard C > and standard C, but we don't support the former anymore. It generates a prototype, which is useful in standard C. > And EXFUN just adds an unneeded level of obfuscation that doesn't help > code readability. It tells you that it's a Lisp function with N arguments. That's easier to read than when you need to count them. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."