[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problems with (defvar foo) and Emacs 23
From: |
Achim Gratz |
Subject: |
Re: [O] Problems with (defvar foo) and Emacs 23 |
Date: |
Sun, 01 Apr 2012 22:16:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Bernt Hansen writes:
> I can see the variable in the source defined as
>
> lisp/org-clock.el:(defvar org-clock-state) ;; dynamically scoped into this
> function
>
> but I don't get a variable definition with this code in emacs 23.2.1.
You aren't supposed to get one, as this should have been pulling in a
local variable defined elsewhere (from within another function).
> If I change the definition to
>
> (defvar org-clock-state nil)
>
> then it works for me.
Yes, but the bug introduced by renaming the variable is still there.
You do get a variable, but not the one you're supposed to be scoping.
> There are _lots_ of these types of definitions with no value in the
> org-mode source.
Again, the missing value is not the problem. The problem arises when
the variable name in the caller and the callee becomes different. I'll
let Bastien and Martyn sort that one out... :-)
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
- [O] Problems with (defvar foo) and Emacs 23, Bernt Hansen, 2012/04/01
- Re: [O] Problems with (defvar foo) and Emacs 23,
Achim Gratz <=
- Re: [O] [URGENT] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/01
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/01
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/01
- Re: [O] Problems with (defvar foo) and Emacs 23, Nick Dokos, 2012/04/01
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Nick Dokos, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02