From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#13740: About a coding convention Date: Tue, 19 Feb 2013 14:55:35 -0500 Message-ID: References: <20130218082515.6ed5dfd2988fa1090af99a10@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1361312460 4748 80.91.229.3 (19 Feb 2013 22:21:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2013 22:21:00 +0000 (UTC) Cc: 13740@debbugs.gnu.org To: Xue Fuqiao Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 19 23:21:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1U7vYv-0008AJ-Ty for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2013 23:21:22 +0100 Original-Received: from localhost ([::1]:35486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7vYb-0007Os-L1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2013 17:21:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7tIe-0005jX-RO for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 14:56:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7tIC-0005Ui-M6 for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 14:55:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7tIC-0005UX-HE for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 14:55:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U7tJG-0004jP-Kx for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 14:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Feb 2013 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13740 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13740-submit@debbugs.gnu.org id=B13740.136130380818167 (code B ref 13740); Tue, 19 Feb 2013 19:57:02 +0000 Original-Received: (at 13740) by debbugs.gnu.org; 19 Feb 2013 19:56:48 +0000 Original-Received: from localhost ([127.0.0.1]:37393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7tJ1-0004ix-OI for submit@debbugs.gnu.org; Tue, 19 Feb 2013 14:56:48 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:60397) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7tIx-0004in-FO for 13740@debbugs.gnu.org; Tue, 19 Feb 2013 14:56:46 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U7tHr-0004IK-Pv; Tue, 19 Feb 2013 14:55:35 -0500 X-Spook: EuroFed mailbomb Croatian threat counter terrorism X-Ran: ?;Pc'aCXpMS>29/;t&13*h>P6Kz>Awd{h}j2(A (Xue Fuqiao's message of "Mon, 18 Feb 2013 08:25:15 +0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71541 Archived-At: Xue Fuqiao wrote: > In (info "(elisp) Coding Conventions"): > > * Constructs that define a function or variable should be macros, > not functions, and their names should start with `define-'. The > macro should receive the name to be defined as the first argument. > That will help various tools find the definition automatically. > Avoid constructing the names in the macro itself, since that would > confuse these tools. > > I think macros like `cl-defsubst', `cl-defun' should be mentioned here. Why? What would you say about them?