all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: 13740@debbugs.gnu.org
Subject: bug#13740: About a coding convention
Date: Thu, 21 Feb 2013 12:01:54 -0500	[thread overview]
Message-ID: <tuvc9lfvnh.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20130218082515.6ed5dfd2988fa1090af99a10@gmail.com>

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-}.





  parent reply	other threads:[~2013-02-21 17:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18  0:25 bug#13740: About a coding convention Xue Fuqiao
2013-02-19 19:55 ` Glenn Morris
2013-02-21  0:28   ` Xue Fuqiao
     [not found]     ` <8738wqa0sp@ch.ristopher.com>
2013-02-21  2:10       ` Xue Fuqiao
2013-02-21 15:21     ` Stefan Monnier
2013-02-21 17:01     ` Glenn Morris [this message]
2020-08-07 11:23       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tuvc9lfvnh.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13740@debbugs.gnu.org \
    --cc=xfq.free@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.