[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: questions about blink-cursor-mode
From: |
Lennart Borgman |
Subject: |
Re: questions about blink-cursor-mode |
Date: |
Thu, 19 Nov 2009 02:30:41 +0100 |
On Thu, Nov 19, 2009 at 2:06 AM, Stefan Monnier
<address@hidden> wrote:
>> Thanks, Juanma. Now that I see that explanation, I recall that I knew
>> this at one time - but I guess I forgot it. Note that not only is it
>> not declared (e.g. defvar), it is also not bound, which is why `C-h
>> v' doesn't recognize it.
>
> The first problem is in the docstring:
>
> It finishes by running the mode hook variable `MODE-hook'.
>
> this repeats a very widespread misconception, which is that those hooks
> are variables. They're not: a hook is a symbol, not a variable.
> That's why it can work even if the variable by that name is not bound.
But it is described by describe-variable ...
Maybe we should have a describe-symbol that knows a bit abou these
things? I have a describe-symbol in nXhtml that knows a little bit
(but not hooks).