emacs-devel
[Top][All Lists]
Advanced

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

Re: Tabs are ready? -> Let us give a definition of tabs.


From: Nix
Subject: Re: Tabs are ready? -> Let us give a definition of tabs.
Date: Wed, 15 Feb 2012 23:03:53 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

On 15 Feb 2012, Tom Tromey verbalised:

>>>>>> "Nix" == Nix  <address@hidden> writes:
> Nix> More worryingly, if you choose the wrong name for your buffer-local
> Nix> variable, parameters and local bindings will smash it out of hand, with
> Nix> no warnings at all. *This* is easy to contrive a test for: just try
> Nix> assigning a local value to a buffer-local variable named 'start': it
> Nix> doesn't even survive a round of C-h v and quit-window!
>
> More code should use lexical binding; or we should have CL-style
> packages; or both :-)

I wonder if lexical binding solves this bug? Presumably it does, because
the actual variable you end up using gets cconved to a different name.

-- 
NULL && (void)



reply via email to

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