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: Thu, 21 Feb 2013 12:01:54 -0500 Message-ID: References: <20130218082515.6ed5dfd2988fa1090af99a10@gmail.com> <20130221082857.3ad60989ae6f64d91b90bd42@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1361466180 32255 80.91.229.3 (21 Feb 2013 17:03:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2013 17:03: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 Thu Feb 21 18:03:20 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 1U8ZYE-0002N0-7c for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2013 18:03:18 +0100 Original-Received: from localhost ([::1]:40124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8ZXr-00024o-Oo for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2013 12:02:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8ZXn-00020I-Tr for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 12:02:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8ZXh-00081u-J9 for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 12:02:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8ZXh-00081k-Fu for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 12:02:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U8ZYw-0006Zl-HF for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 12:04:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <20130218082515.6ed5dfd2988fa1090af99a10@gmail.com> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Feb 2013 17:04: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.136146619625219 (code B ref 13740); Thu, 21 Feb 2013 17:04:02 +0000 Original-Received: (at 13740) by debbugs.gnu.org; 21 Feb 2013 17:03:16 +0000 Original-Received: from localhost ([127.0.0.1]:42688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8ZYB-0006Yh-UI for submit@debbugs.gnu.org; Thu, 21 Feb 2013 12:03:16 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:36703) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8ZY9-0006Ya-3Z for 13740@debbugs.gnu.org; Thu, 21 Feb 2013 12:03:13 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U8ZWs-000284-T1; Thu, 21 Feb 2013 12:01:54 -0500 X-Spook: genetic clandestine MP5K-SD Bletchley Park MD5 asset X-Ran: aocPDB6XF;,{F,sgxj?B3.`+i&0q`=;*]p1`vlT_=4f$%{FR{#VQQ(5CL~][D"_nwhT|X, X-Hue: red X-Attribution: GM 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:71596 Archived-At: Xue Fuqiao wrote: > Constructs that define a function or variable should be macros, not > functions, and their names should start with `define-', except for > some macros in `cl-lib', like `cl-defsubst' and `cl-defun'. I don't think it is useful to list pre-existing exceptions to a general guideline. The whole thing is mutually inconsistent anyway: constructs that define functions, variables, etc., work better if they start with @samp{defun} or @samp{defvar}, [...] [...] Constructs that define a function or variable should be macros, not functions, and their names should start with @samp{define-}.