From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: code critique requested
Date: Sun, 02 Dec 2007 12:29:53 +1100 [thread overview]
Message-ID: <87k5nxg9ym.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: 87eje6qt2a.fsf@laptop.shootybangbang.com
jpw@pobox.com (John Paul Wallington) writes:
> metaperl.com wrote:
>
>> (defvar *asciidoc-indent-level*
>
> Sticking asterisks around special variable names is a Common Lisp
> affliction that isn't done in Emacs Lisp.
From the emacs lisp reference ....
* In some other systems there is a convention of choosing variable
names that begin and end with `*'. We don't use that convention
in Emacs Lisp, so please don't use it in your programs. (Emacs
uses such names only for special-purpose buffers.) The users will
find Emacs more coherent if all libraries use the same conventions.
and
* Since all global variables share the same name space, and all
functions share another name space, you should choose a short word
to distinguish your program from other Lisp programs(1). Then
take care to begin the names of all global variables, constants,
and functions in your program with the chosen prefix. This helps
avoid name conflicts.
regards,
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2007-12-02 1:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-30 16:10 code critique requested metaperl.com
2007-11-30 16:44 ` Lennart Borgman (gmail)
[not found] ` <mailman.4360.1196441057.18990.help-gnu-emacs@gnu.org>
2007-11-30 18:25 ` metaperl.com
2007-11-30 19:09 ` Lennart Borgman (gmail)
2007-11-30 19:36 ` Joel J. Adamson
2007-12-01 16:27 ` John Paul Wallington
2007-12-02 1:29 ` Tim X [this message]
2007-12-02 10:44 ` Sebastian Tennant
2007-12-12 4:57 ` Kevin Rodgers
[not found] ` <mailman.4909.1197435470.18990.help-gnu-emacs@gnu.org>
2007-12-12 11:43 ` Tim X
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=87k5nxg9ym.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--cc=help-gnu-emacs@gnu.org \
/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.