[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define-obsolete-variable-alias problem
From: |
Nick Roberts |
Subject: |
Re: define-obsolete-variable-alias problem |
Date: |
Thu, 10 Apr 2008 16:54:58 +1200 |
> Given this sequence:
>
> (progn
> (setq foo 1)
> (define-obsolete-variable-alias 'foo 'bar)
> (defvar bar 2))
>
> I'd have expected the end result to be bar = foo = 1.
> However, the actual result is bar = foo = 2.
Isn't this really a problem with defvaralias? Perhaps we could test there if
new-alias is bound and if so assign the value to base-variable.
--
Nick http://www.inet.net.nz/~nickrob
- define-obsolete-variable-alias problem, Glenn Morris, 2008/04/09
- Re: define-obsolete-variable-alias problem,
Nick Roberts <=
- Re: define-obsolete-variable-alias problem, Stefan Monnier, 2008/04/10
- Re: define-obsolete-variable-alias problem, Glenn Morris, 2008/04/10
- Re: define-obsolete-variable-alias problem, Glenn Morris, 2008/04/11
- Re: define-obsolete-variable-alias problem, Stefan Monnier, 2008/04/11
- Re: define-obsolete-variable-alias problem, Glenn Morris, 2008/04/11
- Re: define-obsolete-variable-alias problem, Stefan Monnier, 2008/04/11
- Re: define-obsolete-variable-alias problem, Glenn Morris, 2008/04/11