[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] planner-diary-el
From: |
Gijs Hillenius |
Subject: |
Re: [emacs-wiki-discuss] planner-diary-el |
Date: |
Tue, 05 Apr 2005 11:27:32 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
>>>>> emacs-wiki writes:
> ,-- On Mon, 04 Apr 2005 10:48:22 +0200, Gijs Hillenius wrote:
> |
> | Hello
> |
> | If my .emacs has | (setq planner-diary-use-diary t) |
> (planner-diary-insinuate)
> |
> | I get an error. (symbols value defenition is void,
> planner-diary-insinuate)
> |
> | If i do | (setq planner-diary-insinuate)
> |
> | it (seems to) work(s).
> |
> | Eh? That can't be right, right?
> That's exactly what it should do. In the first case, you're
> setting a variable to t, and then calling a function. The
> function isn't defined, so you get an error. In the second
> example, you set a (different) variable to nil. Since you can
> always set variables (that defines them and sets them), the
> second will always succeed. Don't confuse variables
> (`planner-diary-insinuate' in the second case) and functions
> (`planner-diary-insinuate' in the first case): they are in a
> different name space.
> To get it to work, you need to load the function definition
> first.
Thanks! this takes my understanding several steps further.
FYI.. I am (simply) following the hints included in
planner-diary.el.
--