From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [RFC] refactoring DEFUN Date: Mon, 25 Mar 2013 10:34:46 -0400 Message-ID: References: <51503B6D.1060203@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364222100 4346 80.91.229.3 (25 Mar 2013 14:35:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 14:35:00 +0000 (UTC) Cc: Emacs development discussions To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 25 15:35:26 2013 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 1UK8UY-0005kf-1G for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 15:35:18 +0100 Original-Received: from localhost ([::1]:33770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8UA-00070Y-5P for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 10:34:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8U4-0006v2-Jh for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:34:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK8U3-0006yK-Ab for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:34:48 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:4743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8U3-0006yF-6B for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:34:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJDGHbQbBLZEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJDGHbQbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="5715772" Original-Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Mar 2013 10:34:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 32005678E2; Mon, 25 Mar 2013 10:34:46 -0400 (EDT) In-Reply-To: <51503B6D.1060203@yandex.ru> (Dmitry Antipov's message of "Mon, 25 Mar 2013 15:56:29 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:158143 Archived-At: > DEFUN ("foo", Ffoo, Sfoo, ...) > and use: > DEFUN ("foo", foo, ...) Please don't bother. It might look a tiny little bit nicer, but the rest of the code still has to use Ffoo and Sfoo, so it just makes the code that much more impenetrable, since grepping for Ffoo won't show you the place where it's defined. IOW I don't think it's an overall win. Stefan