help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code critique requested


From: Tim X
Subject: Re: code critique requested
Date: Wed, 12 Dec 2007 22:43:25 +1100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> Sebastian Tennant wrote:
>> Quoth Tim X <timx@nospam.dev.null>:
>>> 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.)  
>>
>> Can anyone expand on this?  When exactly should buffer names include or
>> not include asteri?
>
> I don't know about "exactly", but I think the convention is buffers that
> are not visiting files.  (Not that buffer names have anything to do with
> variable names.)
>

That is my understanding as well. In addition, there is also the practice
of putting a space at the start of the buffer name to hide it from the
normal buffer listing (i.e. for temporary/working buffers the user normally
won't be interested in seeing etc). 

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]