From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Bronson Newsgroups: gmane.emacs.devel Subject: Re: coccinelle patch suggestion Date: Mon, 2 Jul 2012 11:40:16 -0400 Message-ID: References: <4FEC506D.90408@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1341243644 6791 80.91.229.3 (2 Jul 2012 15:40:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Jul 2012 15:40:44 +0000 (UTC) Cc: Dmitry Antipov , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 02 17:40:43 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 1Sliju-0004t1-8u for ged-emacs-devel@m.gmane.org; Mon, 02 Jul 2012 17:40:38 +0200 Original-Received: from localhost ([::1]:34979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Slijt-0007j4-9U for ged-emacs-devel@m.gmane.org; Mon, 02 Jul 2012 11:40:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Slijm-0007io-5T for emacs-devel@gnu.org; Mon, 02 Jul 2012 11:40:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Slijd-0005d8-JL for emacs-devel@gnu.org; Mon, 02 Jul 2012 11:40:29 -0400 Original-Received: from mail-qc0-f169.google.com ([209.85.216.169]:58936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Slijd-0005cr-Ci for emacs-devel@gnu.org; Mon, 02 Jul 2012 11:40:21 -0400 Original-Received: by qcsd16 with SMTP id d16so3374686qcs.0 for ; Mon, 02 Jul 2012 08:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; bh=YVuxye1KqpIazmMyWRVrB4QthzdenMOKXaiABJjGb8c=; b=rUGTp+1o/1h+z0XkqsVIjPpOWEzjXlZN+WHumWQ3E45zFK4jddfxHnoEncqQ43eZxg Dmk7SEET9ODItHNtiSMK94atwOgC5Rou1pWp4kELXibaXup2sKMBHgkyJ31XT0gTU8Ih KGabs+RgpWcY2DRK4/BnG/rn2TyGOxUTlSMec4tUBXuyVZcrc6CzPpQdUsplRtsweMMu fqtjhLNLaXSjFG3JiwSjJfZphYPNV6M8en0S0gF7Pk/pl4mVDzkTUc/xhKq1wKO0Cvns Hq/aHasQbKOsmNYA6DBtSyqqOyJvqVfEF+l9kcRGw/4MorqkBPjEsuWs/km0soXYoB+l 58/g== Original-Received: by 10.229.111.78 with SMTP id r14mr7038149qcp.100.1341243619621; Mon, 02 Jul 2012 08:40:19 -0700 (PDT) Original-Received: from [192.168.0.18] (207-172-123-137.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com. [207.172.123.137]) by mx.google.com with ESMTPS id cn9sm10901103qab.15.2012.07.02.08.40.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Jul 2012 08:40:18 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.169 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:151356 Archived-At: On Jun 28, 2012, at 2:05 PM, Stefan Monnier wrote: >> +10. Of course, it would be a toy task for coccinelle. But, IMHO, >> EXFUN makes the things clearer rather than obfuscating them. > > Agreed. An alternative is to autogenerate all the EXFUNs for all > F > functions into src/global.h, to make it more Lispy. But wouldn't that trigger full rebuilds? I think it would probably be better to put them in headers which are associated with, say, the relevant subsystem...