From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: coccinelle patch suggestion Date: Wed, 27 Jun 2012 13:12:22 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1340817159 29052 80.91.229.3 (27 Jun 2012 17:12:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 17:12:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 19:12:38 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 1Sjvn6-0004kI-SB for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 19:12:32 +0200 Original-Received: from localhost ([::1]:44731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjvn6-0003mE-LC for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 13:12:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjvmy-0003lw-KW for emacs-devel@gnu.org; Wed, 27 Jun 2012 13:12:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sjvmw-0000s1-UV for emacs-devel@gnu.org; Wed, 27 Jun 2012 13:12:24 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:42069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjvmw-0000rv-R6 for emacs-devel@gnu.org; Wed, 27 Jun 2012 13:12:22 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sjvmw-0007Nq-91 for emacs-devel@gnu.org; Wed, 27 Jun 2012 13:12:22 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.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:151229 Archived-At: 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. And EXFUN just adds an unneeded level of obfuscation that doesn't help code readability. It seems that with coccinelle it should be easy to create a patch that replaces all EXFUN usages with the correct declaration, and then EXFUN can be removed.