From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: code critique requested Date: Sun, 02 Dec 2007 12:29:53 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87k5nxg9ym.fsf@lion.rapttech.com.au> References: <87eje6qt2a.fsf@laptop.shootybangbang.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196559643 30769 80.91.229.12 (2 Dec 2007 01:40:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2007 01:40:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 02 02:40:51 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iydp9-000321-Oi for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Dec 2007 02:40:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iydot-0001xi-Kv for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Dec 2007 20:40:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xt-sjc-02!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:MqLM0T6AFzCy5QNNaZeCNV2uUW8= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 31 Original-Xref: shelby.stanford.edu gnu.emacs.help:154335 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49763 Archived-At: 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