From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: questions about blink-cursor-mode Date: Thu, 19 Nov 2009 02:30:41 +0100 Message-ID: References: <59E57B2EDA3D465DA20C720A327090CC@us.oracle.com> <5F1590E419004FC3988A3EB1CDFF52EB@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258594784 10556 80.91.229.12 (19 Nov 2009 01:39:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 01:39:44 +0000 (UTC) Cc: Juanma Barranquero , Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 02:39:37 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAvzk-00021e-Ta for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 02:39:37 +0100 Original-Received: from localhost ([127.0.0.1]:40961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAvzk-0008VP-Fp for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 20:39:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAvrY-0006QQ-KE for emacs-devel@gnu.org; Wed, 18 Nov 2009 20:31:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAvrT-0006Os-Ig for emacs-devel@gnu.org; Wed, 18 Nov 2009 20:31:07 -0500 Original-Received: from [199.232.76.173] (port=38471 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAvrT-0006On-9C for emacs-devel@gnu.org; Wed, 18 Nov 2009 20:31:03 -0500 Original-Received: from mail-gx0-f224.google.com ([209.85.217.224]:56786) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAvrT-0002k3-0Y for emacs-devel@gnu.org; Wed, 18 Nov 2009 20:31:03 -0500 Original-Received: by gxk24 with SMTP id 24so1902842gxk.6 for ; Wed, 18 Nov 2009 17:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=FlMqIgYIEfwGywqab3rhtv1RgFaB7YlCRLjs4O5FpGo=; b=tYL/9eoiC2Nlzcn9jR9LXZQbhct2WjM3wg2GMdJOYrgMsU6bxz3r4s6gW7hMzNsm3E IncW3PynKFXiARjfnTnVLFnfuegRQeLamtXdrrWrv1lnoeku3p030fkxA6PB4aKxRZZS S8Z27zWSMmNQHbwwA4M2xBtxAPxQVsuFkregs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=TZFWBPEjMqwIdtVaJbtjUbEUE2kZIsLLD0SaSfh6IvaEE5/OSBGtidK9rRom+HXTmB ReKp3+q1KV0NdVfJma18pw9q3K4TEuHvRveDEvCsm1UNgUaTEdEYBCimtytbkIsXOhst PmA5Ja7TcgxaHXW8s5pRuKpzBIZpr4J8bSBDc= Original-Received: by 10.101.113.3 with SMTP id q3mr3460637anm.38.1258594262240; Wed, 18 Nov 2009 17:31:02 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117228 Archived-At: On Thu, Nov 19, 2009 at 2:06 AM, Stefan Monnier 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. =C2=A0defvar), it is also not bound, which is why `C-= h >> v' doesn't recognize it. > > The first problem is in the docstring: > > =C2=A0It finishes by running the mode hook variable `MODE-hook'. > > this repeats a very widespread misconception, which is that those hooks > are variables. =C2=A0They'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).