[Top][All Lists]

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

Re: gas-mode.el - Comments welcome

From: David Kastrup
Subject: Re: gas-mode.el - Comments welcome
Date: Thu, 31 May 2007 11:07:35 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

"Heike C. Zimmerer" <address@hidden> writes:

>> - fix naming to use the `gas-' (or `asm-') prefix for vars such as
>>   `line-cache'.  Provide defvars with docstring explaning what
>>   they contain.
> The caches are always buffer-local.  According to what I learned
> from the documentation, the prefix is only required for globals.

Buffer-local variables have global bindings (they don't go away after
a function finishes).  You are confusing them with let-bound

> I sometimes even deliberately removed the prefix from symbols to
> emphasize on its local binding (as here).  Anything wrong with it?

Yes.  Conflict with similarly named variables elsewhere.

David Kastrup

reply via email to

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